NVIDIA DeepStream SDK API Reference

9.2 Release
sdk Namespace Reference

Namespaces

 common
 
 configuration
 
 instrumentationlibrary
 
 instrumentationscope
 
 logs
 
 metrics
 
 resource
 
 trace
 
 version
 

Functions

static const opentelemetry::common::KeyValueIterableView< std::array< std::pair< std::string, int32_t >, 0 > > & GetEmptyAttributes () noexcept
 Maintain a static empty array of pairs that represents empty (default) attributes. More...
 
static const opentelemetry::common::KeyValueIterableView< std::array< std::pair< std::string, int32_t >, 0 > > & GetEmptyAttributes () noexcept
 Maintain a static empty array of pairs that represents empty (default) attributes. More...
 

Function Documentation

◆ GetEmptyAttributes() [1/2]

static const opentelemetry::common::KeyValueIterableView< std::array<std::pair<std::string, int32_t>, 0> >& sdk::GetEmptyAttributes ( )
staticnoexcept

Maintain a static empty array of pairs that represents empty (default) attributes.

This helps to avoid constructing a new empty container every time a call is made with default attributes.

Definition at line 25 of file includes/opentelemetry/sdk/common/empty_attributes.h.

Referenced by sdk::trace::Recordable::AddEvent(), and sdk::trace::Recordable::AddLink().

◆ GetEmptyAttributes() [2/2]

static const opentelemetry::common::KeyValueIterableView< std::array<std::pair<std::string, int32_t>, 0> >& sdk::GetEmptyAttributes ( )
staticnoexcept

Maintain a static empty array of pairs that represents empty (default) attributes.

This helps to avoid constructing a new empty container every time a call is made with default attributes.

Definition at line 25 of file 9.2/includes/opentelemetry/sdk/common/empty_attributes.h.