|
Common System 0.2.0
Common interfaces and patterns for system integration
|
Interface for objects that can be monitored. More...
#include <monitoring_interface.h>

Public Member Functions | |
| virtual | ~IMonitorable ()=default |
| virtual Result< metrics_snapshot > | get_monitoring_data ()=0 |
| Get monitoring data. | |
| virtual Result< health_check_result > | health_check ()=0 |
| Check health status. | |
| virtual std::string | get_component_name () const =0 |
| Get component name for monitoring. | |
Interface for objects that can be monitored.
This interface allows objects to expose their internal state for monitoring purposes.
Definition at line 313 of file monitoring_interface.h.
|
virtualdefault |
|
pure virtual |
Get component name for monitoring.
|
pure virtual |
Get monitoring data.
|
pure virtual |
Check health status.