|
| | MeterProvider (std::unique_ptr< ViewRegistry > views=std::unique_ptr< ViewRegistry >(new ViewRegistry()), const sdk::resource::Resource &resource=sdk::resource::Resource::Create({}), std::unique_ptr< instrumentationscope::ScopeConfigurator< MeterConfig >> meter_configurator=std::make_unique< instrumentationscope::ScopeConfigurator< MeterConfig >>(instrumentationscope::ScopeConfigurator< MeterConfig >::Builder(MeterConfig::Default()) .Build())) noexcept |
| | Initialize a new meter provider. More...
|
| |
| | MeterProvider (std::unique_ptr< MeterContext > context) noexcept |
| | Initialize a new meter provider with a specified context. More...
|
| |
| nostd::shared_ptr< opentelemetry::metrics::Meter > | GetMeter (nostd::string_view name, nostd::string_view version="", nostd::string_view schema_url="") noexcept override |
| |
| const sdk::resource::Resource & | GetResource () const noexcept |
| | Obtain the resource associated with this meter provider. More...
|
| |
| void | AddMetricReader (std::shared_ptr< MetricReader > reader, std::unique_ptr< MetricFilter > metric_filter=nullptr) noexcept |
| | Create a MetricCollector from a MetricReader using the MeterContext of this MeterProvider and add it to the list of configured collectors. More...
|
| |
| void | AddView (std::unique_ptr< InstrumentSelector > instrument_selector, std::unique_ptr< MeterSelector > meter_selector, std::unique_ptr< View > view) noexcept |
| | Attaches a View to list of configured Views for this Meter provider. More...
|
| |
| bool | Shutdown (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept |
| | Shutdown the meter provider. More...
|
| |
| bool | ForceFlush (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept |
| | Force flush the meter provider. More...
|
| |
| | ~MeterProvider () override |
| |
| | MeterProvider (std::unique_ptr< ViewRegistry > views=std::unique_ptr< ViewRegistry >(new ViewRegistry()), const sdk::resource::Resource &resource=sdk::resource::Resource::Create({}), std::unique_ptr< instrumentationscope::ScopeConfigurator< MeterConfig >> meter_configurator=std::make_unique< instrumentationscope::ScopeConfigurator< MeterConfig >>(instrumentationscope::ScopeConfigurator< MeterConfig >::Builder(MeterConfig::Default()) .Build())) noexcept |
| | Initialize a new meter provider. More...
|
| |
| | MeterProvider (std::unique_ptr< MeterContext > context) noexcept |
| | Initialize a new meter provider with a specified context. More...
|
| |
| nostd::shared_ptr< opentelemetry::metrics::Meter > | GetMeter (nostd::string_view name, nostd::string_view version="", nostd::string_view schema_url="") noexcept override |
| |
| const sdk::resource::Resource & | GetResource () const noexcept |
| | Obtain the resource associated with this meter provider. More...
|
| |
| void | AddMetricReader (std::shared_ptr< MetricReader > reader, std::unique_ptr< MetricFilter > metric_filter=nullptr) noexcept |
| | Create a MetricCollector from a MetricReader using the MeterContext of this MeterProvider and add it to the list of configured collectors. More...
|
| |
| void | AddView (std::unique_ptr< InstrumentSelector > instrument_selector, std::unique_ptr< MeterSelector > meter_selector, std::unique_ptr< View > view) noexcept |
| | Attaches a View to list of configured Views for this Meter provider. More...
|
| |
| bool | Shutdown (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept |
| | Shutdown the meter provider. More...
|
| |
| bool | ForceFlush (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept |
| | Force flush the meter provider. More...
|
| |
| | ~MeterProvider () override |
| |