Eunomia
0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
|
#include <syscall.h>
Public Member Functions | |
void | report_prometheus_event (const struct syscall_event &e) |
prometheus_event_handler (prometheus_server &server) | |
void | handle (tracker_event< syscall_event > &e) |
implement this function to handle the event More... | |
Public Member Functions inherited from event_handler< syscall_event > | |
virtual | ~event_handler ()=default |
std::shared_ptr< event_handler< syscall_event > > | add_handler (std::shared_ptr< event_handler< syscall_event >> handler) |
add a next handler after this handler More... | |
void | do_handle_event (tracker_event< syscall_event > &e) |
Public Member Functions inherited from event_handler_base< syscall_event > | |
virtual | ~event_handler_base ()=default |
Public Attributes | |
prometheus::Family< prometheus::Counter > & | eunomia_files_syscall_counter |
Public Attributes inherited from event_handler< syscall_event > | |
std::shared_ptr< event_handler_base< syscall_event > > | next_handler |
syscall_tracker::prometheus_event_handler::prometheus_event_handler | ( | prometheus_server & | server | ) |
|
virtual |
implement this function to handle the event
Implements event_handler< syscall_event >.
void syscall_tracker::prometheus_event_handler::report_prometheus_event | ( | const struct syscall_event & | e | ) |
prometheus::Family<prometheus::Counter>& syscall_tracker::prometheus_event_handler::eunomia_files_syscall_counter |