Eunomia  0.1.0
A lightweight eBPF-based CloudNative Monitor tool for Container Security and Observability
tracker.h File Reference
#include <iostream>
#include <mutex>
#include <thread>
#include <memory>
#include <vector>
#include "tracker_config.h"
#include "spdlog/spdlog.h"
Include dependency graph for tracker.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  tracker_base
 the base type of a tracker More...
 
class  tracker_with_config< ENV, EVENT >
 tracker template with env and data More...
 
struct  tracker_with_config< ENV, EVENT >::prometheus_event_handler
 default event handlers for prometheus More...
 
struct  tracker_with_config< ENV, EVENT >::plain_text_event_printer
 print to plain text More...
 
struct  tracker_with_config< ENV, EVENT >::json_event_printer
 used for json exporter, inherits from json_event_handler More...
 
struct  tracker_with_config< ENV, EVENT >::csv_event_printer
 print to csv More...
 

Variables

template<typename TRACKER >
concept tracker_concept
 concept for a single thread tracker More...
 

Variable Documentation

◆ tracker_concept

template<typename TRACKER >
concept tracker_concept
Initial value:
= requires
{
typename TRACKER::event;
typename TRACKER::config_data;
typename TRACKER::tracker_event_handler;
typename TRACKER::prometheus_event_handler;
typename TRACKER::json_event_printer;
typename TRACKER::plain_text_event_printer;
typename TRACKER::csv_event_printer;
}

concept for a single thread tracker

all tracker should have these types