NVIDIA DeepStream SDK API Reference

9.2 Release
sdk::resource::OTELResourceDetector Class Reference

Detailed Description

OTelResourceDetector to detect the presence of and create a Resource from the OTEL_RESOURCE_ATTRIBUTES environment variable.

Definition at line 36 of file includes/opentelemetry/sdk/resource/resource_detector.h.

Inheritance diagram for sdk::resource::OTELResourceDetector:
Collaboration diagram for sdk::resource::OTELResourceDetector:

Public Member Functions

Resource Detect () noexcept override
 
Resource Detect () noexcept override
 

Static Protected Member Functions

static Resource Create (const ResourceAttributes &attributes, const std::string &schema_url=std::string{})
 
static Resource Create (const ResourceAttributes &attributes, const std::string &schema_url=std::string{})
 

Member Function Documentation

◆ Create() [1/2]

static Resource sdk::resource::ResourceDetector::Create ( const ResourceAttributes &  attributes,
const std::string &  schema_url = std::string{} 
)
staticprotectedinherited

◆ Create() [2/2]

static Resource sdk::resource::ResourceDetector::Create ( const ResourceAttributes &  attributes,
const std::string &  schema_url = std::string{} 
)
staticprotectedinherited

◆ Detect() [1/2]

Resource sdk::resource::OTELResourceDetector::Detect ( )
overridevirtualnoexcept

◆ Detect() [2/2]

Resource sdk::resource::OTELResourceDetector::Detect ( )
overridevirtualnoexcept

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