NVIDIA DeepStream SDK API Reference

9.2 Release
sdk::metrics::View Class Reference

Detailed Description

View defines the interface to allow SDK user to customize the metrics before exported.

Definition at line 24 of file includes/opentelemetry/sdk/metrics/view/view.h.

Public Member Functions

 View (const std::string &name, const std::string &description="", AggregationType aggregation_type=AggregationType::kDefault, std::shared_ptr< AggregationConfig > aggregation_config=nullptr, std::unique_ptr< opentelemetry::sdk::metrics::AttributesProcessor > attributes_processor=std::unique_ptr< opentelemetry::sdk::metrics::AttributesProcessor >(new opentelemetry::sdk::metrics::DefaultAttributesProcessor()))
 
virtual ~View ()=default
 
virtual std::string GetName () const noexcept
 
virtual std::string GetDescription () const noexcept
 
virtual AggregationType GetAggregationType () const noexcept
 
virtual AggregationConfig * GetAggregationConfig () const noexcept
 
virtual std::shared_ptr< const opentelemetry::sdk::metrics::AttributesProcessor > GetAttributesProcessor () const noexcept
 
 View (const std::string &name, const std::string &description="", AggregationType aggregation_type=AggregationType::kDefault, std::shared_ptr< AggregationConfig > aggregation_config=nullptr, std::unique_ptr< opentelemetry::sdk::metrics::AttributesProcessor > attributes_processor=std::unique_ptr< opentelemetry::sdk::metrics::AttributesProcessor >(new opentelemetry::sdk::metrics::DefaultAttributesProcessor()))
 
virtual ~View ()=default
 
virtual std::string GetName () const noexcept
 
virtual std::string GetDescription () const noexcept
 
virtual AggregationType GetAggregationType () const noexcept
 
virtual AggregationConfig * GetAggregationConfig () const noexcept
 
virtual std::shared_ptr< const opentelemetry::sdk::metrics::AttributesProcessor > GetAttributesProcessor () const noexcept
 

Constructor & Destructor Documentation

◆ View() [1/2]

sdk::metrics::View::View ( const std::string &  name,
const std::string &  description = "",
AggregationType  aggregation_type = AggregationType::kDefault,
std::shared_ptr< AggregationConfig >  aggregation_config = nullptr,
std::unique_ptr< opentelemetry::sdk::metrics::AttributesProcessor >  attributes_processor = std::unique_ptr<opentelemetry::sdk::metrics::AttributesProcessor>(               new opentelemetry::sdk::metrics::DefaultAttributesProcessor()) 
)
inline

◆ ~View() [1/2]

virtual sdk::metrics::View::~View ( )
virtualdefault

◆ View() [2/2]

sdk::metrics::View::View ( const std::string &  name,
const std::string &  description = "",
AggregationType  aggregation_type = AggregationType::kDefault,
std::shared_ptr< AggregationConfig >  aggregation_config = nullptr,
std::unique_ptr< opentelemetry::sdk::metrics::AttributesProcessor >  attributes_processor = std::unique_ptr<opentelemetry::sdk::metrics::AttributesProcessor>(               new opentelemetry::sdk::metrics::DefaultAttributesProcessor()) 
)
inline

◆ ~View() [2/2]

virtual sdk::metrics::View::~View ( )
virtualdefault

Member Function Documentation

◆ GetAggregationConfig() [1/2]

virtual AggregationConfig* sdk::metrics::View::GetAggregationConfig ( ) const
inlinevirtualnoexcept

◆ GetAggregationConfig() [2/2]

virtual AggregationConfig* sdk::metrics::View::GetAggregationConfig ( ) const
inlinevirtualnoexcept

◆ GetAggregationType() [1/2]

virtual AggregationType sdk::metrics::View::GetAggregationType ( ) const
inlinevirtualnoexcept

◆ GetAggregationType() [2/2]

virtual AggregationType sdk::metrics::View::GetAggregationType ( ) const
inlinevirtualnoexcept

◆ GetAttributesProcessor() [1/2]

virtual std::shared_ptr<const opentelemetry::sdk::metrics::AttributesProcessor> sdk::metrics::View::GetAttributesProcessor ( ) const
inlinevirtualnoexcept

◆ GetAttributesProcessor() [2/2]

virtual std::shared_ptr<const opentelemetry::sdk::metrics::AttributesProcessor> sdk::metrics::View::GetAttributesProcessor ( ) const
inlinevirtualnoexcept

◆ GetDescription() [1/2]

virtual std::string sdk::metrics::View::GetDescription ( ) const
inlinevirtualnoexcept

◆ GetDescription() [2/2]

virtual std::string sdk::metrics::View::GetDescription ( ) const
inlinevirtualnoexcept

◆ GetName() [1/2]

virtual std::string sdk::metrics::View::GetName ( ) const
inlinevirtualnoexcept

◆ GetName() [2/2]

virtual std::string sdk::metrics::View::GetName ( ) const
inlinevirtualnoexcept

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