Class: Datadog::Tracer::TraceCompleted
- Defined in:
- lib/ddtrace/tracer.rb
Overview
Triggered whenever a trace is completed
Instance Attribute Summary
Attributes inherited from Event
Instance Method Summary collapse
-
#initialize ⇒ TraceCompleted
constructor
A new instance of TraceCompleted.
-
#publish(trace) ⇒ Object
NOTE: Ignore Rubocop rule.
Methods inherited from Event
#subscribe, #unsubscribe, #unsubscribe_all!
Constructor Details
#initialize ⇒ TraceCompleted
Returns a new instance of TraceCompleted.
375 376 377 |
# File 'lib/ddtrace/tracer.rb', line 375 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
382 383 384 |
# File 'lib/ddtrace/tracer.rb', line 382 def publish(trace) super(trace) end |