3#include <prometheus/registry.h>
5#define QUANTILE_DEFAULTS \
6 prometheus::Summary::Quantiles \
8 {0.5, 0.1}, {0.9, 0.1}, { 0.99, 0.1 } \
25 void initBaseStats(
const std::shared_ptr<prometheus::Registry> ®,
const std::string &name);
27 void consumeBaseStats(uint64_t succeeded, uint64_t failed,
double processingTime);
prometheus::Counter * _succeededCommand
Number of succeeded commands.
prometheus::Gauge * _minProcessingTime
Minimum value of the command processing performance.
void consumeBaseStats(uint64_t succeeded, uint64_t failed, double processingTime)
prometheus::Counter * _failedCommand
Number of failed commands.
prometheus::Gauge * _maxProcessingTime
Maximum value of the command processing performance.
prometheus::Counter * _totalCommand
Number of total received commands.
prometheus::Summary * _processingTime
Value of the command processing performance.
void initBaseStats(const std::shared_ptr< prometheus::Registry > ®, const std::string &name)