Eunomia
0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
|
tracker template with env and data More...
#include <tracker.h>
Classes | |
struct | csv_event_printer |
print to csv More... | |
struct | json_event_printer |
used for json exporter, inherits from json_event_handler More... | |
struct | plain_text_event_printer |
print to plain text More... | |
struct | prometheus_event_handler |
default event handlers for prometheus More... | |
Public Types | |
using | event = EVENT |
type alias for event More... | |
using | config_data = tracker_config< ENV, EVENT > |
type alias for env and config More... | |
using | tracker_event_handler = std::shared_ptr< event_handler< EVENT > > |
type alias for event handler More... | |
Public Member Functions | |
tracker_with_config (tracker_config< ENV, EVENT > config) | |
virtual | ~tracker_with_config () |
Public Member Functions inherited from tracker_base | |
virtual | ~tracker_base () |
constructor More... | |
virtual void | start_tracker (void)=0 |
start the tracker thread More... | |
void | stop_tracker (void) |
stop the tracker thread More... | |
Public Attributes | |
tracker_config< ENV, EVENT > | current_config |
config data More... | |
Public Attributes inherited from tracker_base | |
volatile bool | exiting |
is the tracker exiting More... | |
tracker template with env and data
all tracker should inherit from this class
using tracker_with_config< ENV, EVENT >::config_data = tracker_config<ENV, EVENT> |
type alias for env and config
using tracker_with_config< ENV, EVENT >::event = EVENT |
type alias for event
using tracker_with_config< ENV, EVENT >::tracker_event_handler = std::shared_ptr<event_handler<EVENT> > |
type alias for event handler
|
inline |
|
inlinevirtual |
tracker_config<ENV, EVENT> tracker_with_config< ENV, EVENT >::current_config |
config data