Eunomia
0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
|
Go to the documentation of this file.
7 #ifndef TRACKER_INTEGRATIONS_CMD_H
8 #define TRACKER_INTEGRATIONS_CMD_H
11 #include "prometheus/counter.h"
12 #include "prometheus/histogram.h"
22 const std::vector<std::string> &args);
46 const std::vector<std::string> &args);
67 const std::vector<std::string> &args);
79 const std::vector<std::string> &args);
100 const std::vector<std::string> &args);
121 const std::vector<std::string> &args);
142 const std::vector<std::string> &args);
163 const std::vector<std::string> &args);
175 const std::vector<std::string> &args);
187 const std::vector<std::string> &args);
199 const std::vector<std::string> &args);
209 const std::vector<std::string> &args);
Definition: tracker_integrations.h:190
Definition: tracker_integrations.h:27
mountsnoop_tracker(config_data config)
Definition: tracker_integrations.h:84
static std::unique_ptr< memleak_tracker > create_tracker_with_args(tracker_event_handler handler, const std::vector< std::string > &args)
Definition: memleak.cpp:17
void handle(tracker_event< tracker_alone_event > &e)
implement this function to handle the event
Definition: capable.cpp:26
static std::unique_ptr< tcpconnlat_tracker > create_tracker_with_default_env(tracker_event_handler handler)
Definition: tcpconnlat.cpp:9
const container_manager & container_manager_ref
Definition: tracker_integrations.h:58
Definition: tracker_integrations.h:33
hotupdate_tracker(config_data config)
Definition: tracker_integrations.h:204
prometheus::Family< prometheus::Counter > & eunomia_capable_counter
Definition: tracker_integrations.h:57
prometheus::Family< prometheus::Histogram > & eunomia_tcpconnlat_v4_counter
Definition: tracker_integrations.h:35
sigsnoop_tracker(config_data config)
Definition: tracker_integrations.h:105
bindsnoop_tracker(config_data config)
Definition: tracker_integrations.h:147
the event handler for single type
Definition: event_handler.h:52
static std::unique_ptr< mountsnoop_tracker > create_tracker_with_args(tracker_event_handler handler, const std::vector< std::string > &args)
Definition: mountsnoop.cpp:52
static std::unique_ptr< bindsnoop_tracker > create_tracker_with_default_env(tracker_event_handler handler)
Definition: bindsnoop.cpp:8
static std::unique_ptr< hotupdate_tracker > create_tracker_with_default_env(tracker_event_handler handler)
Definition: hotupdate.cpp:4
void handle(tracker_event< tracker_alone_event > &e)
implement this function to handle the event
Definition: bindsnoop.cpp:26
static std::unique_ptr< hotupdate_tracker > create_tracker_with_args(tracker_event_handler handler, const std::vector< std::string > &args)
Definition: hotupdate.cpp:13
void handle(tracker_event< tracker_alone_event > &e)
implement this function to handle the event
Definition: tcpconnlat.cpp:31
prometheus_event_handler(prometheus_server &server)
Definition: sigsnoop.cpp:17
Definition: tracker_integrations.h:15
prometheus::Family< prometheus::Counter > & eunomia_opensnoop_counter
Definition: tracker_integrations.h:132
static std::unique_ptr< syscount_tracker > create_tracker_with_default_env(tracker_event_handler handler)
Definition: syscount.cpp:8
static std::unique_ptr< memleak_tracker > create_tracker_with_default_env(tracker_event_handler handler)
Definition: memleak.cpp:8
Definition: tracker_integrations.h:202
static std::unique_ptr< funclatency_tracker > create_tracker_with_default_env(tracker_event_handler handler)
Definition: funclatency.cpp:8
const container_manager & container_manager_ref
Definition: tracker_integrations.h:154
static std::unique_ptr< capable_tracker > create_tracker_with_default_env(tracker_event_handler handler)
Definition: capable.cpp:8
prometheus_event_handler(prometheus_server &server)
Definition: capable.cpp:17
manager all container or k8s info
Definition: container_manager.h:21
prometheus_event_handler(prometheus_server &server)
Definition: tcpconnlat.cpp:18
Definition: tracker_integrations.h:88
Definition: tracker_integrations.h:70
capable_tracker(config_data config)
Definition: tracker_integrations.h:51
static std::unique_ptr< opensnoop_tracker > create_tracker_with_args(tracker_event_handler handler, const std::vector< std::string > &args)
Definition: opensnoop.cpp:52
static std::unique_ptr< sigsnoop_tracker > create_tracker_with_default_env(tracker_event_handler handler)
Definition: sigsnoop.cpp:8
static std::unique_ptr< sigsnoop_tracker > create_tracker_with_args(tracker_event_handler handler, const std::vector< std::string > &args)
Definition: sigsnoop.cpp:55
prometheus::Family< prometheus::Histogram > & eunomia_tcpconnlat_v6_counter
Definition: tracker_integrations.h:36
void handle(tracker_event< tracker_alone_event > &e)
implement this function to handle the event
Definition: sigsnoop.cpp:26
static std::unique_ptr< oomkill_tracker > create_tracker_with_default_env(tracker_event_handler handler)
Definition: oomkill.cpp:8
Definition: tracker_integrations.h:55
Definition: tracker_integrations.h:82
Definition: tracker_integrations.h:145
static std::unique_ptr< oomkill_tracker > create_tracker_with_args(tracker_event_handler handler, const std::vector< std::string > &args)
Definition: oomkill.cpp:17
Definition: tracker_integrations.h:109
Definition: tracker_integrations.h:49
Definition: tracker_integrations.h:166
void handle(tracker_event< tracker_alone_event > &e)
implement this function to handle the event
Definition: opensnoop.cpp:26
static std::unique_ptr< syscount_tracker > create_tracker_with_args(tracker_event_handler handler, const std::vector< std::string > &args)
Definition: syscount.cpp:17
prometheus_event_handler(prometheus_server &server)
Definition: opensnoop.cpp:17
Definition: tracker_integrations.h:103
static std::unique_ptr< funclatency_tracker > create_tracker_with_args(tracker_event_handler handler, const std::vector< std::string > &args)
Definition: funclatency.cpp:17
prometheus_event_handler(prometheus_server &server)
Definition: bindsnoop.cpp:17
prometheus::Family< prometheus::Counter > & eunomia_bind_counter
Definition: tracker_integrations.h:153
static std::unique_ptr< tcprtt_tracker > create_tracker_with_default_env(tracker_event_handler handler)
Definition: tcprtt.cpp:8
void handle(tracker_event< tracker_alone_event > &e)
implement this function to handle the event
Definition: mountsnoop.cpp:28
the basic event type
Definition: event_handler.h:31
funclatency_tracker(config_data config)
Definition: tracker_integrations.h:180
Definition: tracker_integrations.h:130
opensnoop_tracker(config_data config)
Definition: tracker_integrations.h:126
Definition: tracker_integrations.h:124
syscount_tracker(config_data config)
Definition: tracker_integrations.h:168
memleak_tracker(config_data config)
Definition: tracker_integrations.h:72
static std::unique_ptr< bindsnoop_tracker > create_tracker_with_args(tracker_event_handler handler, const std::vector< std::string > &args)
Definition: bindsnoop.cpp:56
Definition: tracker_integrations.h:151
const container_manager & container_manager_ref
Definition: tracker_integrations.h:37
tcpconnlat_tracker(config_data config)
Definition: tracker_integrations.h:29
oomkill_tracker(config_data config)
Definition: tracker_integrations.h:17
Definition: prometheus_server.h:22
const container_manager & container_manager_ref
Definition: tracker_integrations.h:133
static std::unique_ptr< mountsnoop_tracker > create_tracker_with_default_env(tracker_event_handler handler)
Definition: mountsnoop.cpp:10
std::shared_ptr< event_handler< tracker_alone_event > > tracker_event_handler
type alias for event handler
Definition: tracker.h:67
Definition: tracker_integrations.h:178
static std::unique_ptr< tcpconnlat_tracker > create_tracker_with_args(tracker_event_handler handler, const std::vector< std::string > &args)
Definition: tcpconnlat.cpp:79
const container_manager & container_manager_ref
Definition: tracker_integrations.h:91
tcprtt_tracker(config_data config)
Definition: tracker_integrations.h:192
prometheus_event_handler(prometheus_server &server)
Definition: mountsnoop.cpp:19
static std::unique_ptr< capable_tracker > create_tracker_with_args(tracker_event_handler handler, const std::vector< std::string > &args)
Definition: capable.cpp:56
seccomp_config config
Definition: seccomp_test.cpp:13
prometheus::Family< prometheus::Counter > & eunomia_sigsnoop_counter
Definition: tracker_integrations.h:111
static std::unique_ptr< tcprtt_tracker > create_tracker_with_args(tracker_event_handler handler, const std::vector< std::string > &args)
Definition: tcprtt.cpp:17
static std::unique_ptr< opensnoop_tracker > create_tracker_with_default_env(tracker_event_handler handler)
Definition: opensnoop.cpp:8
prometheus::Family< prometheus::Counter > & eunomia_mountsnoop_counter
Definition: tracker_integrations.h:90
const container_manager & container_manager_ref
Definition: tracker_integrations.h:112
Definition: tracker_alone.h:42