|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Result of time series aggregation. More...
#include <time_series.h>

Public Member Functions | |
| aggregation_result () | |
| summary_data | get_summary () const |
| Get statistics for the aggregated data. | |
| double | get_average () const |
| Get average value over the time period. | |
| double | get_rate () const |
| Get rate of change (per second) | |
Public Attributes | |
| std::vector< time_point_data > | points |
| std::chrono::system_clock::time_point | query_start |
| std::chrono::system_clock::time_point | query_end |
| size_t | total_samples |
Result of time series aggregation.
Definition at line 151 of file time_series.h.
|
inline |
Definition at line 157 of file time_series.h.
|
inline |
Get average value over the time period.
Definition at line 173 of file time_series.h.
References points.
|
inline |
Get rate of change (per second)
Definition at line 190 of file time_series.h.
References points.
|
inline |
Get statistics for the aggregated data.
Definition at line 162 of file time_series.h.
References points, and kcenon::monitoring::summary.
| std::vector<time_point_data> kcenon::monitoring::aggregation_result::points |
Definition at line 152 of file time_series.h.
Referenced by get_average(), get_rate(), get_summary(), and kcenon::monitoring::time_series::query().
| std::chrono::system_clock::time_point kcenon::monitoring::aggregation_result::query_end |
Definition at line 154 of file time_series.h.
Referenced by kcenon::monitoring::time_series::query().
| std::chrono::system_clock::time_point kcenon::monitoring::aggregation_result::query_start |
Definition at line 153 of file time_series.h.
Referenced by kcenon::monitoring::time_series::query().
| size_t kcenon::monitoring::aggregation_result::total_samples |
Definition at line 155 of file time_series.h.
Referenced by kcenon::monitoring::time_series::query().