Module: Datadog::Tracing::Runtime::Metrics
- Defined in:
- lib/datadog/tracing/runtime/metrics.rb
Overview
Decorates runtime metrics feature
Class Method Summary collapse
Class Method Details
.associate_trace(trace) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/datadog/tracing/runtime/metrics.rb', line 8 def self.associate_trace(trace) return unless trace && !trace.empty? # Register service as associated with metrics Datadog.send(:components).runtime_metrics.register_service(trace.service) unless trace.service.nil? end |