Class: Appsignal::Transaction::Formatter
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Appsignal::Transaction::Formatter
- Defined in:
- lib/appsignal/transaction/formatter.rb
Instance Method Summary collapse
Instance Method Details
#hash ⇒ Object
6 7 8 |
# File 'lib/appsignal/transaction/formatter.rb', line 6 def hash @hash ||= default_hash end |
#to_hash ⇒ Object
10 11 12 13 14 15 16 17 18 19 |
# File 'lib/appsignal/transaction/formatter.rb', line 10 def to_hash merge_process_action_event_with_log_entry! if process_action_event add_queue_duration_to_hash! if exception? add_exception_to_hash! end add_events_to_hash! if slow_request? hash end |