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