Class DoubleCounter

Inheritance Relationships

Base Types

  • public opentelemetry::sdk::metrics::Synchronous

  • public opentelemetry::metrics::Counter< double >

Class Documentation

class DoubleCounter : public opentelemetry::sdk::metrics::Synchronous, public opentelemetry::metrics::Counter<double>

Public Functions

DoubleCounter(const InstrumentDescriptor &instrument_descriptor, std::unique_ptr<SyncWritableMetricStorage> storage)
void Add(double value, const opentelemetry::common::KeyValueIterable &attributes) noexcept override
void Add(double value, const opentelemetry::common::KeyValueIterable &attributes, const opentelemetry::context::Context &context) noexcept override
void Add(double value) noexcept override
void Add(double value, const opentelemetry::context::Context &context) noexcept override