NVIDIA DeepStream SDK API Reference

9.2 Release
sdk::metrics::AsyncMetricStorage Class Reference

Detailed Description

Inheritance diagram for sdk::metrics::AsyncMetricStorage:
Collaboration diagram for sdk::metrics::AsyncMetricStorage:

Public Member Functions

 AsyncMetricStorage (InstrumentDescriptor instrument_descriptor, const AggregationType aggregation_type, const AggregationConfig *aggregation_config)
 
template<class T >
void Record (const std::unordered_map< MetricAttributes, T, AttributeHashGenerator > &measurements, opentelemetry::common::SystemTimestamp) noexcept
 
void RecordLong (const std::unordered_map< MetricAttributes, int64_t, AttributeHashGenerator > &measurements, opentelemetry::common::SystemTimestamp observation_time) noexcept override
 
void RecordDouble (const std::unordered_map< MetricAttributes, double, AttributeHashGenerator > &measurements, opentelemetry::common::SystemTimestamp observation_time) noexcept override
 
bool Collect (CollectorHandle *collector, nostd::span< std::shared_ptr< CollectorHandle >> collectors, opentelemetry::common::SystemTimestamp sdk_start_ts, opentelemetry::common::SystemTimestamp collection_ts, nostd::function_ref< bool(MetricData)> metric_collection_callback) noexcept override
 
 AsyncMetricStorage (InstrumentDescriptor instrument_descriptor, const AggregationType aggregation_type, const AggregationConfig *aggregation_config)
 
template<class T >
void Record (const std::unordered_map< MetricAttributes, T, AttributeHashGenerator > &measurements, opentelemetry::common::SystemTimestamp) noexcept
 
void RecordLong (const std::unordered_map< MetricAttributes, int64_t, AttributeHashGenerator > &measurements, opentelemetry::common::SystemTimestamp observation_time) noexcept override
 
void RecordDouble (const std::unordered_map< MetricAttributes, double, AttributeHashGenerator > &measurements, opentelemetry::common::SystemTimestamp observation_time) noexcept override
 
bool Collect (CollectorHandle *collector, nostd::span< std::shared_ptr< CollectorHandle >> collectors, opentelemetry::common::SystemTimestamp sdk_start_ts, opentelemetry::common::SystemTimestamp collection_ts, nostd::function_ref< bool(MetricData)> metric_collection_callback) noexcept override
 

Constructor & Destructor Documentation

◆ AsyncMetricStorage() [1/2]

sdk::metrics::AsyncMetricStorage::AsyncMetricStorage ( InstrumentDescriptor  instrument_descriptor,
const AggregationType  aggregation_type,
const AggregationConfig *  aggregation_config 
)
inline

◆ AsyncMetricStorage() [2/2]

sdk::metrics::AsyncMetricStorage::AsyncMetricStorage ( InstrumentDescriptor  instrument_descriptor,
const AggregationType  aggregation_type,
const AggregationConfig *  aggregation_config 
)
inline

Member Function Documentation

◆ Collect() [1/2]

bool sdk::metrics::AsyncMetricStorage::Collect ( CollectorHandle *  collector,
nostd::span< std::shared_ptr< CollectorHandle >>  collectors,
opentelemetry::common::SystemTimestamp  sdk_start_ts,
opentelemetry::common::SystemTimestamp  collection_ts,
nostd::function_ref< bool(MetricData)>  metric_collection_callback 
)
inlineoverridevirtualnoexcept

◆ Collect() [2/2]

bool sdk::metrics::AsyncMetricStorage::Collect ( CollectorHandle *  collector,
nostd::span< std::shared_ptr< CollectorHandle >>  collectors,
opentelemetry::common::SystemTimestamp  sdk_start_ts,
opentelemetry::common::SystemTimestamp  collection_ts,
nostd::function_ref< bool(MetricData)>  metric_collection_callback 
)
inlineoverridevirtualnoexcept

◆ Record() [1/2]

template<class T >
void sdk::metrics::AsyncMetricStorage::Record ( const std::unordered_map< MetricAttributes, T, AttributeHashGenerator > &  measurements,
opentelemetry::common::SystemTimestamp   
)
inlinenoexcept

◆ Record() [2/2]

template<class T >
void sdk::metrics::AsyncMetricStorage::Record ( const std::unordered_map< MetricAttributes, T, AttributeHashGenerator > &  measurements,
opentelemetry::common::SystemTimestamp   
)
inlinenoexcept

◆ RecordDouble() [1/2]

void sdk::metrics::AsyncMetricStorage::RecordDouble ( const std::unordered_map< MetricAttributes, double, AttributeHashGenerator > &  measurements,
opentelemetry::common::SystemTimestamp  observation_time 
)
inlineoverridevirtualnoexcept

◆ RecordDouble() [2/2]

void sdk::metrics::AsyncMetricStorage::RecordDouble ( const std::unordered_map< MetricAttributes, double, AttributeHashGenerator > &  measurements,
opentelemetry::common::SystemTimestamp  observation_time 
)
inlineoverridevirtualnoexcept

◆ RecordLong() [1/2]

void sdk::metrics::AsyncMetricStorage::RecordLong ( const std::unordered_map< MetricAttributes, int64_t, AttributeHashGenerator > &  measurements,
opentelemetry::common::SystemTimestamp  observation_time 
)
inlineoverridevirtualnoexcept

◆ RecordLong() [2/2]

void sdk::metrics::AsyncMetricStorage::RecordLong ( const std::unordered_map< MetricAttributes, int64_t, AttributeHashGenerator > &  measurements,
opentelemetry::common::SystemTimestamp  observation_time 
)
inlineoverridevirtualnoexcept

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