Template Class LongCounter
Defined in File sync_instruments.h
Inheritance Relationships
Base Types
public opentelemetry::sdk::metrics::Synchronous
public opentelemetry::metrics::Counter< T >
Class Documentation
-
template<typename T>
class LongCounter : public opentelemetry::sdk::metrics::Synchronous, public opentelemetry::metrics::Counter<T> Public Functions
-
inline LongCounter(InstrumentDescriptor instrument_descriptor, std::unique_ptr<SyncWritableMetricStorage> storage)
-
inline void Add(T value, const opentelemetry::common::KeyValueIterable &attributes) noexcept override
-
inline void Add(T value, const opentelemetry::common::KeyValueIterable &attributes, const opentelemetry::context::Context &context) noexcept override
-
inline LongCounter(InstrumentDescriptor instrument_descriptor, std::unique_ptr<SyncWritableMetricStorage> storage)