NVIDIA DeepStream SDK API Reference

9.2 Release
sdk::metrics::MeterContextFactory Class Reference

Detailed Description

Factory class for MeterContext.

Definition at line 22 of file includes/opentelemetry/sdk/metrics/meter_context_factory.h.

Static Public Member Functions

static std::unique_ptr< MeterContext > Create ()
 Create a MeterContext with valid defaults. More...
 
static std::unique_ptr< MeterContext > Create (std::unique_ptr< ViewRegistry > views)
 Create a MeterContext with specified views. More...
 
static std::unique_ptr< MeterContext > Create (std::unique_ptr< ViewRegistry > views, const opentelemetry::sdk::resource::Resource &resource)
 Create a MeterContext with specified views and resource. More...
 
static std::unique_ptr< MeterContext > Create (std::unique_ptr< ViewRegistry > views, const opentelemetry::sdk::resource::Resource &resource, std::unique_ptr< instrumentationscope::ScopeConfigurator< MeterConfig >> meter_configurator)
 Create a MeterContext with specified views, resource and meter scope configurator. More...
 
static std::unique_ptr< MeterContext > Create ()
 Create a MeterContext with valid defaults. More...
 
static std::unique_ptr< MeterContext > Create (std::unique_ptr< ViewRegistry > views)
 Create a MeterContext with specified views. More...
 
static std::unique_ptr< MeterContext > Create (std::unique_ptr< ViewRegistry > views, const opentelemetry::sdk::resource::Resource &resource)
 Create a MeterContext with specified views and resource. More...
 
static std::unique_ptr< MeterContext > Create (std::unique_ptr< ViewRegistry > views, const opentelemetry::sdk::resource::Resource &resource, std::unique_ptr< instrumentationscope::ScopeConfigurator< MeterConfig >> meter_configurator)
 Create a MeterContext with specified views, resource and meter scope configurator. More...
 

Member Function Documentation

◆ Create() [1/8]

static std::unique_ptr<MeterContext> sdk::metrics::MeterContextFactory::Create ( )
static

Create a MeterContext with valid defaults.

Returns
A unique pointer to the created MeterContext object.

◆ Create() [2/8]

static std::unique_ptr<MeterContext> sdk::metrics::MeterContextFactory::Create ( )
static

Create a MeterContext with valid defaults.

Returns
A unique pointer to the created MeterContext object.

◆ Create() [3/8]

static std::unique_ptr<MeterContext> sdk::metrics::MeterContextFactory::Create ( std::unique_ptr< ViewRegistry >  views)
static

Create a MeterContext with specified views.

Parameters
viewsViewRegistry containing OpenTelemetry views registered with this meter context.

◆ Create() [4/8]

static std::unique_ptr<MeterContext> sdk::metrics::MeterContextFactory::Create ( std::unique_ptr< ViewRegistry >  views)
static

Create a MeterContext with specified views.

Parameters
viewsViewRegistry containing OpenTelemetry views registered with this meter context.

◆ Create() [5/8]

static std::unique_ptr<MeterContext> sdk::metrics::MeterContextFactory::Create ( std::unique_ptr< ViewRegistry >  views,
const opentelemetry::sdk::resource::Resource &  resource 
)
static

Create a MeterContext with specified views and resource.

Parameters
viewsViewRegistry containing OpenTelemetry views registered with this meter context.
resourceThe OpenTelemetry resource associated with this meter context.
Returns
A unique pointer to the created MeterContext object.

◆ Create() [6/8]

static std::unique_ptr<MeterContext> sdk::metrics::MeterContextFactory::Create ( std::unique_ptr< ViewRegistry >  views,
const opentelemetry::sdk::resource::Resource &  resource 
)
static

Create a MeterContext with specified views and resource.

Parameters
viewsViewRegistry containing OpenTelemetry views registered with this meter context.
resourceThe OpenTelemetry resource associated with this meter context.
Returns
A unique pointer to the created MeterContext object.

◆ Create() [7/8]

static std::unique_ptr<MeterContext> sdk::metrics::MeterContextFactory::Create ( std::unique_ptr< ViewRegistry >  views,
const opentelemetry::sdk::resource::Resource &  resource,
std::unique_ptr< instrumentationscope::ScopeConfigurator< MeterConfig >>  meter_configurator 
)
static

Create a MeterContext with specified views, resource and meter scope configurator.

Parameters
viewsViewRegistry containing OpenTelemetry views registered with this meter context.
resourceThe OpenTelemetry resource associated with this meter context.
meter_configuratorA scope configurator defining the behavior of a meter associated with this meter context.
Returns
A unique pointer to the created MeterContext object.

◆ Create() [8/8]

static std::unique_ptr<MeterContext> sdk::metrics::MeterContextFactory::Create ( std::unique_ptr< ViewRegistry >  views,
const opentelemetry::sdk::resource::Resource &  resource,
std::unique_ptr< instrumentationscope::ScopeConfigurator< MeterConfig >>  meter_configurator 
)
static

Create a MeterContext with specified views, resource and meter scope configurator.

Parameters
viewsViewRegistry containing OpenTelemetry views registered with this meter context.
resourceThe OpenTelemetry resource associated with this meter context.
meter_configuratorA scope configurator defining the behavior of a meter associated with this meter context.
Returns
A unique pointer to the created MeterContext object.

The documentation for this class was generated from the following file: