Class: OpenTelemetry::Trace::TracerProvider
- Inherits:
-
Object
- Object
- OpenTelemetry::Trace::TracerProvider
- Defined in:
- lib/opentelemetry/trace/tracer_provider.rb
Overview
No-op implementation of a tracer provider.
Direct Known Subclasses
Instance Method Summary collapse
-
#tracer(name = nil, version = nil) ⇒ Tracer
Returns a Tracer instance.
Instance Method Details
#tracer(name = nil, version = nil) ⇒ Tracer
Returns a OpenTelemetry::Trace::Tracer instance.
17 18 19 |
# File 'lib/opentelemetry/trace/tracer_provider.rb', line 17 def tracer(name = nil, version = nil) @tracer ||= Tracer.new end |