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

#include <tcp.h>

Inheritance diagram for tcp_tracker::prometheus_event_handler:
Inheritance graph
Collaboration diagram for tcp_tracker::prometheus_event_handler:
Collaboration graph

Public Member Functions

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

Public Attributes

prometheus::Family< prometheus::Counter > & eunomia_tcp_v4_counter
 
prometheus::Family< prometheus::Counter > & eunomia_tcp_v6_counter
 
- Public Attributes inherited from event_handler< tcp_event >
std::shared_ptr< event_handler_base< tcp_event > > next_handler
 

Constructor & Destructor Documentation

◆ prometheus_event_handler()

tcp_tracker::prometheus_event_handler::prometheus_event_handler ( prometheus_server server)

Member Function Documentation

◆ handle()

void tcp_tracker::prometheus_event_handler::handle ( tracker_event< tcp_event > &  e)
virtual

implement this function to handle the event

Implements event_handler< tcp_event >.

◆ report_prometheus_event()

void tcp_tracker::prometheus_event_handler::report_prometheus_event ( tracker_event< tcp_event > &  e)
Here is the call graph for this function:

Member Data Documentation

◆ eunomia_tcp_v4_counter

prometheus::Family<prometheus::Counter>& tcp_tracker::prometheus_event_handler::eunomia_tcp_v4_counter

◆ eunomia_tcp_v6_counter

prometheus::Family<prometheus::Counter>& tcp_tracker::prometheus_event_handler::eunomia_tcp_v6_counter

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