libstatistics_collector
master
Lightweight aggregation utilities to collect statistics and measure message metrics.
|
#include <metric_details_interface.hpp>
Public Member Functions | |
virtual | ~MetricDetailsInterface ()=default |
virtual std::string | GetMetricName () const =0 |
virtual std::string | GetMetricUnit () const =0 |
Interface to represent a single metric's name and unit, which are used for metric message generation and publication.
|
virtualdefault |
|
pure virtual |
Return a single metric's name.
Implemented in libstatistics_collector::topic_statistics_collector::ReceivedMessageAgeCollector< T >, and libstatistics_collector::topic_statistics_collector::ReceivedMessagePeriodCollector< T >.
|
pure virtual |
Return a single metric's measurement unit.
Implemented in libstatistics_collector::topic_statistics_collector::ReceivedMessageAgeCollector< T >, and libstatistics_collector::topic_statistics_collector::ReceivedMessagePeriodCollector< T >.