Class: Datadog::Tracing::TraceOperation::Events

Inherits:
Object
  • Object
show all
Includes:
Events
Defined in:
lib/datadog/tracing/trace_operation.rb

Overview

Callback behavior

Defined Under Namespace

Classes: SpanBeforeFinish, SpanBeforeStart, SpanFinished, TraceFinished, TracePropagated, TraceResourceChange

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Events

included

Constructor Details

#initializeEvents

Returns a new instance of Events.



479
480
481
482
483
484
485
486
# File 'lib/datadog/tracing/trace_operation.rb', line 479

def initialize
  @span_before_finish = SpanBeforeFinish.new
  @span_before_start = SpanBeforeStart.new
  @span_finished = SpanFinished.new
  @trace_finished = TraceFinished.new
  @trace_propagated = TracePropagated.new
  @trace_resource_change = TraceResourceChange.new
end

Instance Attribute Details

#span_before_finishObject (readonly)

Returns the value of attribute span_before_finish.



471
472
473
# File 'lib/datadog/tracing/trace_operation.rb', line 471

def span_before_finish
  @span_before_finish
end

#span_before_startObject (readonly)

Returns the value of attribute span_before_start.



471
472
473
# File 'lib/datadog/tracing/trace_operation.rb', line 471

def span_before_start
  @span_before_start
end

#span_finishedObject (readonly)

Returns the value of attribute span_finished.



471
472
473
# File 'lib/datadog/tracing/trace_operation.rb', line 471

def span_finished
  @span_finished
end

#trace_finishedObject (readonly)

Returns the value of attribute trace_finished.



471
472
473
# File 'lib/datadog/tracing/trace_operation.rb', line 471

def trace_finished
  @trace_finished
end

#trace_propagatedObject (readonly)

Returns the value of attribute trace_propagated.



471
472
473
# File 'lib/datadog/tracing/trace_operation.rb', line 471

def trace_propagated
  @trace_propagated
end

#trace_resource_changeObject (readonly)

Returns the value of attribute trace_resource_change.



471
472
473
# File 'lib/datadog/tracing/trace_operation.rb', line 471

def trace_resource_change
  @trace_resource_change
end