Class AsyncMetricStorage
Defined in File async_metric_storage.h
Inheritance Relationships
Base Types
public opentelemetry::sdk::metrics::MetricStorage
public opentelemetry::sdk::metrics::AsyncWritableMetricStorage
Class Documentation
-
class AsyncMetricStorage : public opentelemetry::sdk::metrics::MetricStorage, public opentelemetry::sdk::metrics::AsyncWritableMetricStorage
Public Functions
- inline AsyncMetricStorage (InstrumentDescriptor instrument_descriptor, const AggregationType aggregation_type, nostd::shared_ptr< ExemplarReservoir > &&exemplar_reservoir OPENTELEMETRY_MAYBE_UNUSED, const AggregationConfig *aggregation_config)
-
template<class T>
inline void Record(const std::unordered_map<MetricAttributes, T, AttributeHashGenerator> &measurements, opentelemetry::common::SystemTimestamp) noexcept
-
inline void RecordLong(const std::unordered_map<MetricAttributes, int64_t, AttributeHashGenerator> &measurements, opentelemetry::common::SystemTimestamp observation_time) noexcept override
-
inline void RecordDouble(const std::unordered_map<MetricAttributes, double, AttributeHashGenerator> &measurements, opentelemetry::common::SystemTimestamp observation_time) noexcept override