Class: Datadog::Tracing::TraceOperation::Events
- Inherits:
-
Object
- Object
- Datadog::Tracing::TraceOperation::Events
- Includes:
- Events
- Defined in:
- lib/datadog/tracing/trace_operation.rb
Overview
Callback behavior
Defined Under Namespace
Classes: SpanBeforeStart, SpanFinished, TraceFinished
Instance Attribute Summary collapse
-
#span_before_start ⇒ Object
readonly
Returns the value of attribute span_before_start.
-
#span_finished ⇒ Object
readonly
Returns the value of attribute span_finished.
-
#trace_finished ⇒ Object
readonly
Returns the value of attribute trace_finished.
Instance Method Summary collapse
-
#initialize ⇒ Events
constructor
A new instance of Events.
Methods included from Events
Constructor Details
#initialize ⇒ Events
Returns a new instance of Events.
338 339 340 341 342 |
# File 'lib/datadog/tracing/trace_operation.rb', line 338 def initialize @span_before_start = SpanBeforeStart.new @span_finished = SpanFinished.new @trace_finished = TraceFinished.new end |
Instance Attribute Details
#span_before_start ⇒ Object (readonly)
Returns the value of attribute span_before_start.
333 334 335 |
# File 'lib/datadog/tracing/trace_operation.rb', line 333 def span_before_start @span_before_start end |
#span_finished ⇒ Object (readonly)
Returns the value of attribute span_finished.
333 334 335 |
# File 'lib/datadog/tracing/trace_operation.rb', line 333 def span_finished @span_finished end |
#trace_finished ⇒ Object (readonly)
Returns the value of attribute trace_finished.
333 334 335 |
# File 'lib/datadog/tracing/trace_operation.rb', line 333 def trace_finished @trace_finished end |