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

#include <prometheus_server.h>

Collaboration diagram for prometheus_server:
Collaboration graph

Public Member Functions

 prometheus_server (std::string bind_address, container_manager &cm)
 
int start_prometheus_server ()
 

Public Attributes

const container_managercore_container_manager_ref
 
prometheus::Exposer exposer
 
std::shared_ptr< prometheus::Registry > registry
 

Constructor & Destructor Documentation

◆ prometheus_server()

prometheus_server::prometheus_server ( std::string  bind_address,
container_manager cm 
)

Member Function Documentation

◆ start_prometheus_server()

int prometheus_server::start_prometheus_server ( )

Member Data Documentation

◆ core_container_manager_ref

const container_manager& prometheus_server::core_container_manager_ref

◆ exposer

prometheus::Exposer prometheus_server::exposer

◆ registry

std::shared_ptr<prometheus::Registry> prometheus_server::registry

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