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

#include <syscall.h>

Inheritance diagram for syscall_tracker::prometheus_event_handler:
Inheritance graph
Collaboration diagram for syscall_tracker::prometheus_event_handler:
Collaboration graph

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
 

Constructor & Destructor Documentation

◆ prometheus_event_handler()

syscall_tracker::prometheus_event_handler::prometheus_event_handler ( prometheus_server server)

Member Function Documentation

◆ handle()

void syscall_tracker::prometheus_event_handler::handle ( tracker_event< syscall_event > &  e)
virtual

implement this function to handle the event

Implements event_handler< syscall_event >.

◆ report_prometheus_event()

void syscall_tracker::prometheus_event_handler::report_prometheus_event ( const struct syscall_event &  e)

Member Data Documentation

◆ eunomia_files_syscall_counter

prometheus::Family<prometheus::Counter>& syscall_tracker::prometheus_event_handler::eunomia_files_syscall_counter

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