Class: NewRelic::Agent::OpenTelemetry::Trace::TracerProvider

Inherits:
OpenTelemetry::Trace::TracerProvider
  • Object
show all
Defined in:
lib/new_relic/agent/opentelemetry/trace/tracer_provider.rb

Instance Method Summary collapse

Instance Method Details

#tracer(name = nil, version = nil) ⇒ Object

TODO: Add a registration mechanism for tracers like exists in the SDK



11
12
13
# File 'lib/new_relic/agent/opentelemetry/trace/tracer_provider.rb', line 11

def tracer(name = nil, version = nil)
  @tracer ||= Tracer.new(name, version)
end