prom 0.1.0
Client-independent C++23 Prometheus/OpenMetrics metric abstraction
Loading...
Searching...
No Matches
Classes | Namespaces
adapter.cpp File Reference

Implementation of prom::prometheus_cpp::PrometheusCppAdapter, backed by jupp0r/prometheus-cpp. More...

#include <prom/prometheus_cpp/adapter.hpp>
#include <prometheus/counter.h>
#include <prometheus/family.h>
#include <prometheus/gauge.h>
#include <prometheus/histogram.h>
#include <prometheus/labels.h>
#include <prometheus/registry.h>
#include <prometheus/summary.h>
#include <map>
#include <memory>
#include <mutex>
#include <span>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
Include dependency graph for adapter.cpp:

Classes

class  prom::prometheus_cpp::PrometheusCppAdapter::Impl
 

Namespaces

namespace  prom
 
namespace  prom::prometheus_cpp
 

Detailed Description

Implementation of prom::prometheus_cpp::PrometheusCppAdapter, backed by jupp0r/prometheus-cpp.

All prometheus-cpp headers are confined to this translation unit.

Variable Documentation

◆ buckets

::prometheus::Histogram::BucketBoundaries buckets

◆ counter

::prometheus::Counter* counter = nullptr

◆ counter_family

::prometheus::Family<::prometheus::Counter>* counter_family = nullptr

◆ gauge

::prometheus::Gauge* gauge = nullptr

◆ gauge_family

::prometheus::Family<::prometheus::Gauge>* gauge_family = nullptr

◆ histogram

::prometheus::Histogram* histogram = nullptr

◆ histogram_family

::prometheus::Family<::prometheus::Histogram>* histogram_family = nullptr

◆ info_series

::prometheus::Gauge* info_series = nullptr

Last info series, for replacement.

◆ name

std::string name

Metric name (state-set label key).

◆ quantiles

::prometheus::Summary::Quantiles quantiles

◆ summary

::prometheus::Summary* summary = nullptr

◆ summary_family

::prometheus::Family<::prometheus::Summary>* summary_family = nullptr

◆ type