Class: Datadog::Tracing::Tracer::TraceCompleted

Inherits:
Event
  • Object
show all
Defined in:
lib/datadog/tracing/tracer.rb

Overview

Triggered whenever a trace is completed

Instance Attribute Summary

Attributes inherited from Event

#name, #subscriptions

Instance Method Summary collapse

Methods inherited from Event

#subscribe, #unsubscribe_all!

Constructor Details

#initializeTraceCompleted

Returns a new instance of TraceCompleted.



272
273
274
# File 'lib/datadog/tracing/tracer.rb', line 272

def initialize
  super(:trace_completed)
end

Instance Method Details

#publish(trace) ⇒ Object

NOTE: Ignore Rubocop rule. This definition allows for

description of and constraints on arguments.

rubocop:disable Lint/UselessMethodDefinition



279
280
281
# File 'lib/datadog/tracing/tracer.rb', line 279

def publish(trace)
  super(trace)
end