Class NoopMeterProvider
Defined in File noop.h
Inheritance Relationships
Base Type
public opentelemetry::metrics::MeterProvider
(Class MeterProvider)
Class Documentation
-
class NoopMeterProvider : public opentelemetry::metrics::MeterProvider
No-op implementation of a MeterProvider.
Public Functions
-
inline NoopMeterProvider()
-
inline virtual nostd::shared_ptr<Meter> GetMeter(nostd::string_view, nostd::string_view, nostd::string_view) noexcept override
Gets or creates a named Meter instance (ABI)
- Since
ABI_VERSION 1
- Parameters:
name – [in] Meter instrumentation scope
version – [in] Instrumentation scope version, optional
schema_url – [in] Instrumentation scope schema URL, optional
-
inline NoopMeterProvider()