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: SpanBeforeStart, SpanFinished, TraceFinished

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Events

included

Constructor Details

#initializeEvents

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_startObject (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_finishedObject (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_finishedObject (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