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.
385 386 387 388 389 |
# File 'lib/datadog/tracing/trace_operation.rb', line 385 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.
380 381 382 |
# File 'lib/datadog/tracing/trace_operation.rb', line 380 def span_before_start @span_before_start end |
#span_finished ⇒ Object (readonly)
Returns the value of attribute span_finished.
380 381 382 |
# File 'lib/datadog/tracing/trace_operation.rb', line 380 def span_finished @span_finished end |
#trace_finished ⇒ Object (readonly)
Returns the value of attribute trace_finished.
380 381 382 |
# File 'lib/datadog/tracing/trace_operation.rb', line 380 def trace_finished @trace_finished end |