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 (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