NVIDIA DeepStream SDK API Reference

9.2 Release
sdk::metrics::TemporalMetricStorage Class Reference

Detailed Description

Public Member Functions

 TemporalMetricStorage (InstrumentDescriptor instrument_descriptor, AggregationType aggregation_type, const AggregationConfig *aggregation_config)
 
bool buildMetrics (CollectorHandle *collector, nostd::span< std::shared_ptr< CollectorHandle >> collectors, opentelemetry::common::SystemTimestamp sdk_start_ts, opentelemetry::common::SystemTimestamp collection_ts, const std::shared_ptr< AttributesHashMap > &delta_metrics, nostd::function_ref< bool(MetricData)> callback) noexcept
 
 TemporalMetricStorage (InstrumentDescriptor instrument_descriptor, AggregationType aggregation_type, const AggregationConfig *aggregation_config)
 
bool buildMetrics (CollectorHandle *collector, nostd::span< std::shared_ptr< CollectorHandle >> collectors, opentelemetry::common::SystemTimestamp sdk_start_ts, opentelemetry::common::SystemTimestamp collection_ts, const std::shared_ptr< AttributesHashMap > &delta_metrics, nostd::function_ref< bool(MetricData)> callback) noexcept
 

Constructor & Destructor Documentation

◆ TemporalMetricStorage() [1/2]

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

◆ TemporalMetricStorage() [2/2]

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

Member Function Documentation

◆ buildMetrics() [1/2]

bool sdk::metrics::TemporalMetricStorage::buildMetrics ( CollectorHandle *  collector,
nostd::span< std::shared_ptr< CollectorHandle >>  collectors,
opentelemetry::common::SystemTimestamp  sdk_start_ts,
opentelemetry::common::SystemTimestamp  collection_ts,
const std::shared_ptr< AttributesHashMap > &  delta_metrics,
nostd::function_ref< bool(MetricData)>  callback 
)
noexcept

◆ buildMetrics() [2/2]

bool sdk::metrics::TemporalMetricStorage::buildMetrics ( CollectorHandle *  collector,
nostd::span< std::shared_ptr< CollectorHandle >>  collectors,
opentelemetry::common::SystemTimestamp  sdk_start_ts,
opentelemetry::common::SystemTimestamp  collection_ts,
const std::shared_ptr< AttributesHashMap > &  delta_metrics,
nostd::function_ref< bool(MetricData)>  callback 
)
noexcept

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