Class SyncMetricStorage

Inheritance Relationships

Base Types

  • public opentelemetry::sdk::metrics::MetricStorage

  • public opentelemetry::sdk::metrics::SyncWritableMetricStorage

Class Documentation

class SyncMetricStorage : public opentelemetry::sdk::metrics::MetricStorage, public opentelemetry::sdk::metrics::SyncWritableMetricStorage

Public Functions

inline  SyncMetricStorage (InstrumentDescriptor instrument_descriptor, const AggregationType aggregation_type, const AttributesProcessor *attributes_processor, nostd::shared_ptr< ExemplarReservoir > &&exemplar_reservoir OPENTELEMETRY_MAYBE_UNUSED, const AggregationConfig *aggregation_config)
inline void RecordLong (int64_t value, const opentelemetry::context::Context &context OPENTELEMETRY_MAYBE_UNUSED) noexcept override
inline void RecordLong (int64_t value, const opentelemetry::common::KeyValueIterable &attributes, const opentelemetry::context::Context &context OPENTELEMETRY_MAYBE_UNUSED) noexcept override
inline void RecordDouble (double value, const opentelemetry::context::Context &context OPENTELEMETRY_MAYBE_UNUSED) noexcept override
inline void RecordDouble (double value, const opentelemetry::common::KeyValueIterable &attributes, const opentelemetry::context::Context &context OPENTELEMETRY_MAYBE_UNUSED) 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)> callback) noexcept override