Class: Datadog::Profiling::Events::StackExceptionSample
- Inherits:
-
Stack
- Object
- Datadog::Profiling::Event
- Stack
- Datadog::Profiling::Events::StackExceptionSample
- Defined in:
- lib/ddtrace/profiling/events/stack.rb
Overview
Describes a stack sample with exception
Instance Attribute Summary collapse
-
#exception ⇒ Object
readonly
Returns the value of attribute exception.
Attributes inherited from Stack
#frames, #hash, #span_id, #thread_id, #total_frame_count, #trace_id
Attributes inherited from Datadog::Profiling::Event
Instance Method Summary collapse
-
#initialize(timestamp, frames, total_frame_count, thread_id, trace_id, span_id, exception) ⇒ StackExceptionSample
constructor
A new instance of StackExceptionSample.
Constructor Details
#initialize(timestamp, frames, total_frame_count, thread_id, trace_id, span_id, exception) ⇒ StackExceptionSample
Returns a new instance of StackExceptionSample.
79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
# File 'lib/ddtrace/profiling/events/stack.rb', line 79 def initialize( , frames, total_frame_count, thread_id, trace_id, span_id, exception ) super( , frames, total_frame_count, thread_id, trace_id, span_id ) @exception = exception end |
Instance Attribute Details
#exception ⇒ Object (readonly)
Returns the value of attribute exception.
76 77 78 |
# File 'lib/ddtrace/profiling/events/stack.rb', line 76 def exception @exception end |