|
Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
|
Generic system event for monitoring components. More...
#include <observer_interface.h>

Public Types | |
| enum class | event_type { component_started , component_stopped , error_occurred , warning_raised , configuration_changed , threshold_exceeded } |
Public Member Functions | |
| system_event (event_type type, const std::string &component, const std::string &message) | |
| event_type | type () const |
| const std::string & | component () const |
| const std::string & | message () const |
| std::chrono::steady_clock::time_point | timestamp () const |
Private Attributes | |
| event_type | type_ |
| std::string | component_ |
| std::string | message_ |
| std::chrono::steady_clock::time_point | timestamp_ |
Generic system event for monitoring components.
Represents various system-level events such as component lifecycle changes, errors, warnings, and configuration updates. Each event has a type, source component, message, and timestamp.
Definition at line 90 of file observer_interface.h.
|
strong |
| Enumerator | |
|---|---|
| component_started | |
| component_stopped | |
| error_occurred | |
| warning_raised | |
| configuration_changed | |
| threshold_exceeded | |
Definition at line 92 of file observer_interface.h.
|
inline |
Definition at line 101 of file observer_interface.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 112 of file observer_interface.h.
Referenced by component().
|
private |
Definition at line 113 of file observer_interface.h.
Referenced by message().
|
private |
Definition at line 114 of file observer_interface.h.
Referenced by timestamp().
|
private |
Definition at line 111 of file observer_interface.h.
Referenced by type().