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