LogIt++
Header-only, macro-first C++ logging library
Loading...
Searching...
No Matches
PrometheusHttpServerLogger.hpp File Reference

Prometheus HTTP server logger backend exposing /metrics endpoint. More...

#include "ILogger.hpp"
#include "prometheus/PrometheusLoggerMetrics.hpp"
#include "prometheus/PrometheusTextSerializer.hpp"
#include <server_http.hpp>
#include <atomic>
#include <chrono>
#include <cstdint>
#include <functional>
#include <mutex>
#include <string>
#include <thread>
#include <vector>

Go to the source code of this file.

Classes

class  logit::PrometheusHttpServerLogger
 Serves Prometheus metrics via an embedded HTTP server. More...
 
struct  logit::PrometheusHttpServerLogger::Config
 

Namespaces

namespace  logit
 The primary namespace for the LogIt++ library.
 

Macros

#define LOGIT_CPP_HEADER_LOGIT_CPP_LOGIT_LOGGERS_PROMETHEUSHTTPSERVERLOGGER_HPP_INCLUDED
 

Detailed Description

Prometheus HTTP server logger backend exposing /metrics endpoint.

Definition in file PrometheusHttpServerLogger.hpp.

Macro Definition Documentation

◆ LOGIT_CPP_HEADER_LOGIT_CPP_LOGIT_LOGGERS_PROMETHEUSHTTPSERVERLOGGER_HPP_INCLUDED

#define LOGIT_CPP_HEADER_LOGIT_CPP_LOGIT_LOGGERS_PROMETHEUSHTTPSERVERLOGGER_HPP_INCLUDED

Definition at line 3 of file PrometheusHttpServerLogger.hpp.