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

used for json exporter, inherits from json_event_handler More...

#include <process.h>

Inheritance diagram for process_tracker::json_event_printer:
Inheritance graph
Collaboration diagram for process_tracker::json_event_printer:
Collaboration graph

Public Member Functions

void handle (tracker_event< process_event > &e)
 implement this function to handle the event More...
 
- Public Member Functions inherited from process_tracker::json_event_handler_base
std::string to_json (const struct process_event &e)
 
- Public Member Functions inherited from event_handler< process_event >
virtual ~event_handler ()=default
 
std::shared_ptr< event_handler< process_event > > add_handler (std::shared_ptr< event_handler< process_event >> handler)
 add a next handler after this handler More...
 
void do_handle_event (tracker_event< process_event > &e)
 
- Public Member Functions inherited from event_handler_base< process_event >
virtual ~event_handler_base ()=default
 

Additional Inherited Members

- Public Attributes inherited from event_handler< process_event >
std::shared_ptr< event_handler_base< process_event > > next_handler
 

Detailed Description

used for json exporter, inherits from json_event_handler

Member Function Documentation

◆ handle()

void process_tracker::json_event_printer::handle ( tracker_event< process_event > &  e)
virtual

implement this function to handle the event

Implements event_handler< process_event >.


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