|
RMQ - RabbitMQ C++ Library
|
An interface for publishing rmqcpp metrics. More...
#include <rmqp_metricpublisher.h>

Public Member Functions | |
| virtual void | publishGauge (const bsl::string &name, double value, const bsl::vector< bsl::pair< bsl::string, bsl::string > > &tags)=0 |
| Publish a gauge - the most recently observed value of a variable. More... | |
| virtual void | publishCounter (const bsl::string &name, double value, const bsl::vector< bsl::pair< bsl::string, bsl::string > > &tags)=0 |
| Publish an increment to a counter variable. More... | |
| virtual void | publishSummary (const bsl::string &name, double value, const bsl::vector< bsl::pair< bsl::string, bsl::string > > &tags)=0 |
| Publish a value for basic summary statistics. More... | |
| virtual void | publishDistribution (const bsl::string &name, double value, const bsl::vector< bsl::pair< bsl::string, bsl::string > > &tags)=0 |
An interface for publishing rmqcpp metrics.
The rmqcpp implementation uses MetricPublisher interface to publish various runtime metrics. The users of rmqcpp can provide their own implementation of this interface to receive the published metrics.
Every published metric consists of name, value and associated tags (e.g. vhost name).
Implementation must be thread-safe.
|
pure virtual |
Publish an increment to a counter variable.
Implemented in BloombergLP::rmqa::NoOpMetricPublisher.
|
pure virtual |
Publish a value for distribution statistics. A distribution is similar to a summary but also includes quantile statistics.
Implemented in BloombergLP::rmqa::NoOpMetricPublisher.
|
pure virtual |
Publish a gauge - the most recently observed value of a variable.
Implemented in BloombergLP::rmqa::NoOpMetricPublisher.
|
pure virtual |
Publish a value for basic summary statistics.
Implemented in BloombergLP::rmqa::NoOpMetricPublisher.