Couchbase C++ SDK 1.0.4 (rev. 5355b0f)
Loading...
Searching...
No Matches
otel_value_recorder Class Reference

#include <couchbase/metrics/otel_meter.hxx>

Inheritance diagram for otel_value_recorder:
Inheritance graph

Public Member Functions

 otel_value_recorder (nostd::shared_ptr< metrics_api::Histogram< std::uint64_t > > histogram_counter, const std::map< std::string, std::string > &tags)
 
void record_value (std::int64_t value) override
 
const std::map< std::string, std::string > tags ()
 
nostd::shared_ptr< metrics_api::Histogram< std::uint64_t > > histogram_counter ()
 
- Public Member Functions inherited from value_recorder
 value_recorder ()=default
 
 value_recorder (const value_recorder &other)=default
 
 value_recorder (value_recorder &&other)=default
 
auto operator= (const value_recorder &other) -> value_recorder &=default
 
auto operator= (value_recorder &&other) -> value_recorder &=default
 
virtual ~value_recorder ()=default
 
virtual void record_value (int64_t value)=0
 

Constructor & Destructor Documentation

◆ otel_value_recorder()

otel_value_recorder ( nostd::shared_ptr< metrics_api::Histogram< std::uint64_t > > histogram_counter,
const std::map< std::string, std::string > & tags )
inlineexplicit

Member Function Documentation

◆ histogram_counter()

nostd::shared_ptr< metrics_api::Histogram< std::uint64_t > > histogram_counter ( )
inline

◆ record_value()

void record_value ( std::int64_t value)
inlineoverride

◆ tags()

const std::map< std::string, std::string > tags ( )
inline

The documentation for this class was generated from the following file: