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.



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