27 #ifndef Common_MetricsProcess_h
28 #define Common_MetricsProcess_h
81 #endif // Common_MetricsProcess_h
Declarations for MetricsCollector.
int64_t m_last_user
Last recorded CPU user time.
MetricsProcess()
Constructor.
Abstract metrics collector.
Declarations for Metrics.
int64_t m_last_timestamp
Last collection timestamp in nanoseconds.
Computes and publishes general process metrics.
void collect(int64_t now, MetricsCollector *collector) override
Collects process metrics.
int64_t m_last_sys
Last recorded CPU system time.