3#include <prometheus/registry.h>
23 StatusTracker(
const std::shared_ptr<prometheus::Registry> ®,
const std::string &name, uint64_t metricID = 0);
prometheus::Gauge * _activeCtr
Active number of events.
StatusTracker(const std::shared_ptr< prometheus::Registry > ®, const std::string &name, uint64_t metricID=0)
prometheus::Counter * _failedCtr
Number of fail.
prometheus::Counter * _successCtr
Number of success.
prometheus::Counter * _totalCtr
Total number of counters.
TrackStatus(TrackStatus &&)=delete
Move constructor.
TrackStatus & operator=(TrackStatus &&)=delete
Move assignment operator.
TrackStatus(StatusTracker &tracker)
TrackStatus & operator=(TrackStatus)=delete
Copy assignment operator.
TrackStatus(const TrackStatus &)=delete
Copy constructor.