Class LongUpDownCounter

Inheritance Relationships

Base Types

Class Documentation

class LongUpDownCounter : public opentelemetry::sdk::metrics::Synchronous, public opentelemetry::metrics::UpDownCounter<int64_t>

Public Functions

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