9 #ifndef CVMFS_TELEMETRY_AGGREGATOR_H_
10 #define CVMFS_TELEMETRY_AGGREGATOR_H_
20 #include "gtest/gtest_prod.h"
44 FRIEND_TEST(T_TelemetryAggregator, ExtraFields_Tags);
45 FRIEND_TEST(T_TelemetryAggregator, UpdateCounters_WithExtraFields_Tags);
58 const std::string &fqrn,
97 const std::string &fqrn) :
119 #endif // CVMFS_TELEMETRY_AGGREGATOR_H_
virtual void PushMetrics()=0
pthread_t thread_telemetry_
static TelemetryAggregator * Create(Statistics *statistics, int send_rate, OptionsManager *options_mgr, const std::string &fqrn, const TelemetrySelector type)
std::map< std::string, int64_t > counters_
TelemetryAggregator(Statistics *statistics, int send_rate_sec, const std::string &fqrn)
virtual ~TelemetryAggregator()
static void * MainTelemetry(void *data)
FRIEND_TEST(T_TelemetryAggregator, EmptyCounters)