|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Statistics about metric collection. More...
#include <metric_types_adapter.h>

Public Member Functions | |
| double | success_rate () const |
| void | reset () |
Public Attributes | |
| uint64_t | total_collected {0} |
| uint64_t | total_errors {0} |
| uint64_t | total_dropped {0} |
| std::chrono::milliseconds | avg_collection_time {0} |
| std::chrono::system_clock::time_point | last_collection |
Statistics about metric collection.
Tracks collection performance metrics including success/error counts, dropped metrics, and timing information. Useful for monitoring the health of the collection system itself.
Definition at line 117 of file metric_types_adapter.h.
|
inline |
Definition at line 129 of file metric_types_adapter.h.
References avg_collection_time, total_collected, total_dropped, and total_errors.
|
inline |
Definition at line 124 of file metric_types_adapter.h.
References total_collected, and total_errors.
| std::chrono::milliseconds kcenon::monitoring::metric_stats::avg_collection_time {0} |
| std::chrono::system_clock::time_point kcenon::monitoring::metric_stats::last_collection |
Definition at line 122 of file metric_types_adapter.h.
| uint64_t kcenon::monitoring::metric_stats::total_collected {0} |
Definition at line 118 of file metric_types_adapter.h.
Referenced by reset(), and success_rate().
| uint64_t kcenon::monitoring::metric_stats::total_dropped {0} |
| uint64_t kcenon::monitoring::metric_stats::total_errors {0} |
Definition at line 119 of file metric_types_adapter.h.
Referenced by reset(), and success_rate().