|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Event containing collected metrics batch. More...
#include <event_types.h>


Public Member Functions | |
| metric_collection_event (const std::string &collector_name, std::vector< metric > metrics) | |
| std::string | get_type_name () const override |
| Get the event type name. | |
| const std::string & | get_collector_name () const |
| const std::vector< metric > & | get_metrics () const |
| size_t | get_metric_count () const |
Public Member Functions inherited from kcenon::monitoring::event_base | |
| virtual | ~event_base ()=default |
| std::chrono::steady_clock::time_point | get_timestamp () const |
| Get timestamp when event was created. | |
| uint64_t | get_id () const |
| Get unique event ID. | |
Private Attributes | |
| std::string | collector_name_ |
| std::vector< metric > | metrics_ |
Additional Inherited Members | |
Protected Member Functions inherited from kcenon::monitoring::event_base | |
| event_base () | |
Event containing collected metrics batch.
Definition at line 290 of file event_types.h.
|
inline |
Definition at line 292 of file event_types.h.
|
inline |
Definition at line 300 of file event_types.h.
References collector_name_.
|
inline |
Definition at line 302 of file event_types.h.
References metrics_.
|
inline |
Definition at line 301 of file event_types.h.
References metrics_.
|
inlineoverridevirtual |
Get the event type name.
Implements kcenon::monitoring::event_base.
Definition at line 296 of file event_types.h.
|
private |
Definition at line 305 of file event_types.h.
Referenced by get_collector_name().
|
private |
Definition at line 306 of file event_types.h.
Referenced by get_metric_count(), and get_metrics().