|
| | MeterContext (std::unique_ptr< ViewRegistry > views=std::unique_ptr< ViewRegistry >(new ViewRegistry()), const opentelemetry::sdk::resource::Resource &resource=opentelemetry::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...
|
| |
| const opentelemetry::sdk::resource::Resource & | GetResource () const noexcept |
| | Obtain the resource associated with this meter context. More...
|
| |
| ViewRegistry * | GetViewRegistry () const noexcept |
| | Obtain the View Registry configured. More...
|
| |
| const instrumentationscope::ScopeConfigurator< MeterConfig > & | GetMeterConfigurator () const noexcept |
| | Obtain the ScopeConfigurator with this meter context. More...
|
| |
| bool | ForEachMeter (nostd::function_ref< bool(std::shared_ptr< Meter > &meter)> callback) noexcept |
| | NOTE - INTERNAL method, can change in the future. More...
|
| |
| nostd::span< std::shared_ptr< Meter > > | GetMeters () noexcept |
| | NOTE - INTERNAL method, can change in the future. More...
|
| |
| nostd::span< std::shared_ptr< CollectorHandle > > | GetCollectors () noexcept |
| | Obtain the configured collectors. More...
|
| |
| opentelemetry::common::SystemTimestamp | GetSDKStartTime () noexcept |
| | GET SDK Start time. More...
|
| |
| void | AddMetricReader (std::shared_ptr< MetricReader > reader, std::unique_ptr< MetricFilter > metric_filter=nullptr) noexcept |
| | Create a MetricCollector from a MetricReader using this MeterContext 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 context. More...
|
| |
| void | AddMeter (const std::shared_ptr< Meter > &meter) |
| | NOTE - INTERNAL method, can change in future. More...
|
| |
| void | RemoveMeter (nostd::string_view name, nostd::string_view version, nostd::string_view schema_url) |
| |
| bool | ForceFlush (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept |
| | Force all active Collectors to flush any buffered meter data within the given timeout. More...
|
| |
| bool | Shutdown (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept |
| | Shutdown the Collectors associated with this meter provider. More...
|
| |
| | MeterContext (std::unique_ptr< ViewRegistry > views=std::unique_ptr< ViewRegistry >(new ViewRegistry()), const opentelemetry::sdk::resource::Resource &resource=opentelemetry::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...
|
| |
| const opentelemetry::sdk::resource::Resource & | GetResource () const noexcept |
| | Obtain the resource associated with this meter context. More...
|
| |
| ViewRegistry * | GetViewRegistry () const noexcept |
| | Obtain the View Registry configured. More...
|
| |
| const instrumentationscope::ScopeConfigurator< MeterConfig > & | GetMeterConfigurator () const noexcept |
| | Obtain the ScopeConfigurator with this meter context. More...
|
| |
| bool | ForEachMeter (nostd::function_ref< bool(std::shared_ptr< Meter > &meter)> callback) noexcept |
| | NOTE - INTERNAL method, can change in the future. More...
|
| |
| nostd::span< std::shared_ptr< Meter > > | GetMeters () noexcept |
| | NOTE - INTERNAL method, can change in the future. More...
|
| |
| nostd::span< std::shared_ptr< CollectorHandle > > | GetCollectors () noexcept |
| | Obtain the configured collectors. More...
|
| |
| opentelemetry::common::SystemTimestamp | GetSDKStartTime () noexcept |
| | GET SDK Start time. More...
|
| |
| void | AddMetricReader (std::shared_ptr< MetricReader > reader, std::unique_ptr< MetricFilter > metric_filter=nullptr) noexcept |
| | Create a MetricCollector from a MetricReader using this MeterContext 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 context. More...
|
| |
| void | AddMeter (const std::shared_ptr< Meter > &meter) |
| | NOTE - INTERNAL method, can change in future. More...
|
| |
| void | RemoveMeter (nostd::string_view name, nostd::string_view version, nostd::string_view schema_url) |
| |
| bool | ForceFlush (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept |
| | Force all active Collectors to flush any buffered meter data within the given timeout. More...
|
| |
| bool | Shutdown (std::chrono::microseconds timeout=(std::chrono::microseconds::max)()) noexcept |
| | Shutdown the Collectors associated with this meter provider. More...
|
| |