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


Classes | |
| struct | thread_pool_stats |
Public Member Functions | |
| thread_pool_metric_event (const std::string &pool_name, const thread_pool_stats &stats) | |
| std::string | get_type_name () const override |
| Get the event type name. | |
| const std::string & | get_pool_name () const |
| const thread_pool_stats & | get_stats () 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 | pool_name_ |
| thread_pool_stats | stats_ |
Additional Inherited Members | |
Protected Member Functions inherited from kcenon::monitoring::event_base | |
| event_base () | |
Event containing thread pool metrics.
Published by thread pool monitoring components to report current pool state including active/idle threads, queue depth, and throughput.
Definition at line 49 of file event_types.h.
|
inline |
Definition at line 60 of file event_types.h.
|
inline |
Definition at line 67 of file event_types.h.
References pool_name_.
|
inline |
Definition at line 68 of file event_types.h.
References stats_.
|
inlineoverridevirtual |
Get the event type name.
Implements kcenon::monitoring::event_base.
Definition at line 63 of file event_types.h.
|
private |
Definition at line 71 of file event_types.h.
Referenced by get_pool_name().
|
private |
Definition at line 72 of file event_types.h.
Referenced by get_stats().