NVIDIA DeepStream SDK API Reference

9.2 Release
sdk::configuration::ConfiguredSdk Class Reference

Detailed Description

This class represents a fully configured SDK.

A SDK contains various objects, like propagators and providers for each signals, that collectively describe the opentelemetry configuration.

Definition at line 28 of file includes/opentelemetry/sdk/configuration/configured_sdk.h.

Public Member Functions

 ConfiguredSdk ()
 
void Install ()
 Install the SDK, so that an instrumented application can make calls to it. More...
 
void UnInstall ()
 Uninstall the SDK, so that an instrumented application no longer makes calls to it. More...
 
 ConfiguredSdk ()
 
void Install ()
 Install the SDK, so that an instrumented application can make calls to it. More...
 
void UnInstall ()
 Uninstall the SDK, so that an instrumented application no longer makes calls to it. More...
 

Static Public Member Functions

static std::unique_ptr< ConfiguredSdk > Create (std::shared_ptr< Registry > registry, const std::unique_ptr< opentelemetry::sdk::configuration::Configuration > &model)
 
static std::unique_ptr< ConfiguredSdk > Create (std::shared_ptr< Registry > registry, const std::unique_ptr< opentelemetry::sdk::configuration::Configuration > &model)
 

Data Fields

opentelemetry::sdk::resource::Resource resource
 
std::shared_ptr< opentelemetry::sdk::trace::TracerProvider > tracer_provider
 
std::shared_ptr< opentelemetry::context::propagation::TextMapPropagator > propagator
 
std::shared_ptr< opentelemetry::sdk::metrics::MeterProvider > meter_provider
 
std::shared_ptr< opentelemetry::sdk::logs::LoggerProvider > logger_provider
 

Constructor & Destructor Documentation

◆ ConfiguredSdk() [1/2]

sdk::configuration::ConfiguredSdk::ConfiguredSdk ( )
inline

◆ ConfiguredSdk() [2/2]

sdk::configuration::ConfiguredSdk::ConfiguredSdk ( )
inline

Member Function Documentation

◆ Create() [1/2]

static std::unique_ptr<ConfiguredSdk> sdk::configuration::ConfiguredSdk::Create ( std::shared_ptr< Registry >  registry,
const std::unique_ptr< opentelemetry::sdk::configuration::Configuration > &  model 
)
static

◆ Create() [2/2]

static std::unique_ptr<ConfiguredSdk> sdk::configuration::ConfiguredSdk::Create ( std::shared_ptr< Registry >  registry,
const std::unique_ptr< opentelemetry::sdk::configuration::Configuration > &  model 
)
static

◆ Install() [1/2]

void sdk::configuration::ConfiguredSdk::Install ( )

Install the SDK, so that an instrumented application can make calls to it.

This methods sets the global provider singletons to point to the SDK.

◆ Install() [2/2]

void sdk::configuration::ConfiguredSdk::Install ( )

Install the SDK, so that an instrumented application can make calls to it.

This methods sets the global provider singletons to point to the SDK.

◆ UnInstall() [1/2]

void sdk::configuration::ConfiguredSdk::UnInstall ( )

Uninstall the SDK, so that an instrumented application no longer makes calls to it.

This method clears the global provider singletons.

◆ UnInstall() [2/2]

void sdk::configuration::ConfiguredSdk::UnInstall ( )

Uninstall the SDK, so that an instrumented application no longer makes calls to it.

This method clears the global provider singletons.

Field Documentation

◆ logger_provider

std::shared_ptr< opentelemetry::sdk::logs::LoggerProvider > sdk::configuration::ConfiguredSdk::logger_provider

◆ meter_provider

std::shared_ptr< opentelemetry::sdk::metrics::MeterProvider > sdk::configuration::ConfiguredSdk::meter_provider

◆ propagator

std::shared_ptr< opentelemetry::context::propagation::TextMapPropagator > sdk::configuration::ConfiguredSdk::propagator

◆ resource

opentelemetry::sdk::resource::Resource sdk::configuration::ConfiguredSdk::resource

◆ tracer_provider

std::shared_ptr< opentelemetry::sdk::trace::TracerProvider > sdk::configuration::ConfiguredSdk::tracer_provider

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