Class MeterProvider

Inheritance Relationships

Derived Types

Class Documentation

class MeterProvider

Creates new Meter instances.

Subclassed by opentelemetry::metrics::NoopMeterProvider, opentelemetry::sdk::metrics::MeterProvider

Public Functions

virtual ~MeterProvider() = default
virtual nostd::shared_ptr<Meter> GetMeter(nostd::string_view name, nostd::string_view version = "", nostd::string_view schema_url = "") noexcept = 0

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