Eunomia  0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
tcpconnlat_tracker::prometheus_event_handler Struct Reference

#include <tracker_integrations.h>

Inheritance diagram for tcpconnlat_tracker::prometheus_event_handler:
Inheritance graph
Collaboration diagram for tcpconnlat_tracker::prometheus_event_handler:
Collaboration graph

Public Member Functions

 prometheus_event_handler (prometheus_server &server)
 
void handle (tracker_event< tracker_alone_event > &e)
 implement this function to handle the event More...
 
- Public Member Functions inherited from event_handler< tracker_alone_event >
virtual ~event_handler ()=default
 
std::shared_ptr< event_handler< tracker_alone_event > > add_handler (std::shared_ptr< event_handler< tracker_alone_event >> handler)
 add a next handler after this handler More...
 
void do_handle_event (tracker_event< tracker_alone_event > &e)
 
- Public Member Functions inherited from event_handler_base< tracker_alone_event >
virtual ~event_handler_base ()=default
 

Public Attributes

prometheus::Family< prometheus::Histogram > & eunomia_tcpconnlat_v4_counter
 
prometheus::Family< prometheus::Histogram > & eunomia_tcpconnlat_v6_counter
 
const container_managercontainer_manager_ref
 
- Public Attributes inherited from event_handler< tracker_alone_event >
std::shared_ptr< event_handler_base< tracker_alone_event > > next_handler
 

Constructor & Destructor Documentation

◆ prometheus_event_handler()

tcpconnlat_tracker::prometheus_event_handler::prometheus_event_handler ( prometheus_server server)

Member Function Documentation

◆ handle()

void tcpconnlat_tracker::prometheus_event_handler::handle ( tracker_event< tracker_alone_event > &  e)
virtual

implement this function to handle the event

Implements event_handler< tracker_alone_event >.

Member Data Documentation

◆ container_manager_ref

const container_manager& tcpconnlat_tracker::prometheus_event_handler::container_manager_ref

◆ eunomia_tcpconnlat_v4_counter

prometheus::Family<prometheus::Histogram>& tcpconnlat_tracker::prometheus_event_handler::eunomia_tcpconnlat_v4_counter

◆ eunomia_tcpconnlat_v6_counter

prometheus::Family<prometheus::Histogram>& tcpconnlat_tracker::prometheus_event_handler::eunomia_tcpconnlat_v6_counter

The documentation for this struct was generated from the following files: