Class NoopMeterProvider

Inheritance Relationships

Base Type

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.

Optionally a version can be passed to create a named and versioned Meter instance.