|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Represents a single metric value with metadata. More...
#include <monitoring_core.h>

Public Member Functions | |
| metric_value (const std::string &n="", double v=0.0) | |
Public Attributes | |
| std::string | name |
| double | value |
| std::chrono::system_clock::time_point | timestamp |
| std::unordered_map< std::string, std::string > | tags |
Represents a single metric value with metadata.
Definition at line 48 of file monitoring_core.h.
|
inline |
Definition at line 54 of file monitoring_core.h.
| std::string kcenon::monitoring::metric_value::name |
Definition at line 49 of file monitoring_core.h.
Referenced by kcenon::monitoring::opentelemetry_metrics_adapter::convert_metrics().
| std::unordered_map<std::string, std::string> kcenon::monitoring::metric_value::tags |
Definition at line 52 of file monitoring_core.h.
Referenced by kcenon::monitoring::metrics_snapshot::add_metric(), and kcenon::monitoring::opentelemetry_metrics_adapter::convert_metrics().
| std::chrono::system_clock::time_point kcenon::monitoring::metric_value::timestamp |
Definition at line 51 of file monitoring_core.h.
Referenced by kcenon::monitoring::opentelemetry_metrics_adapter::convert_metrics().
| double kcenon::monitoring::metric_value::value |
Definition at line 50 of file monitoring_core.h.
Referenced by kcenon::monitoring::opentelemetry_metrics_adapter::convert_metrics().