Class: Sqreen::Kit::Signals::Location
- Inherits:
-
Object
- Object
- Sqreen::Kit::Signals::Location
- Includes:
- DtoHelper
- Defined in:
- lib/sqreen/kit/signals/signal_attributes.rb
Constant Summary
Constants included from DtoHelper
DtoHelper::DO_NOT_CONVERT_TYPES, DtoHelper::RFC_3339_FMT
Instance Attribute Summary collapse
-
#datadog_span_id ⇒ Integer
Datadog span id.
-
#datadog_trace_id ⇒ Integer
Datadog trace id.
- #exception ⇒ Object writeonly
- #stack_trace ⇒ Object
Method Summary
Methods included from DtoHelper
#append_to_h_filter, #compact_hash, included, #initialize, #to_h, #to_json
Instance Attribute Details
#datadog_span_id ⇒ Integer
Datadog span id
69 70 71 |
# File 'lib/sqreen/kit/signals/signal_attributes.rb', line 69 def datadog_span_id @datadog_span_id end |
#datadog_trace_id ⇒ Integer
Datadog trace id
65 66 67 |
# File 'lib/sqreen/kit/signals/signal_attributes.rb', line 65 def datadog_trace_id @datadog_trace_id end |
#exception=(value) ⇒ Object (writeonly)
61 62 63 |
# File 'lib/sqreen/kit/signals/signal_attributes.rb', line 61 def exception=(value) @exception = value end |
#stack_trace ⇒ Object
71 72 73 74 75 76 77 |
# File 'lib/sqreen/kit/signals/signal_attributes.rb', line 71 def stack_trace if @exception Sqreen::Kit::StackTrace.parse(@exception) elsif @stack_trace Sqreen::Kit::StackTrace.parse_backtrace(@stack_trace) end end |