5#include <prometheus/registry.h>
37 explicit ZeroMQStats(
const std::shared_ptr<prometheus::Registry> ®,
const std::string &prependName =
"");
45 void consumeStats(
const std::vector<zmq::message_t> &recvMsgs,
const std::vector<zmq::message_t> &sendMsgs,
prometheus::Counter * _failedCommandParts
Number of received failed message parts.
prometheus::Counter * _totalDownloadBytes
Total downloaded bytes.
void consumeStats(const std::vector< zmq::message_t > &recvMsgs, const std::vector< zmq::message_t > &sendMsgs, const ZeroMQServerStats &serverStats)
ZeroMQStats(const std::shared_ptr< prometheus::Registry > ®, const std::string &prependName="")
prometheus::Counter * _totalCommandParts
Number of received total message parts.
prometheus::Counter * _succeededCommandParts
Number of received succeeded message parts.
prometheus::Counter * _totalUploadBytes
Total uploaded bytes.
prometheus::Family< prometheus::Info > * _infoFamily
Information metric family.
bool isSuccessful
Indicates if processing was successful for this connection.
std::chrono::high_resolution_clock::time_point processingTimeEnd
Processing time end.
std::chrono::high_resolution_clock::time_point processingTimeStart
Processing time start.