Class TemporalMetricStorage

Class Documentation

class TemporalMetricStorage

Public 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