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

Histogram — bucketed observation distribution, and HistogramSpec. More...

#include <prom/metric_base.hpp>
#include <array>
#include <string_view>
#include <utility>
#include <vector>
Include dependency graph for histogram.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  prom::HistogramSpec
 Declarative description of a histogram. More...
 
class  prom::Histogram
 A histogram. More...
 

Namespaces

namespace  prom
 

Variables

constexpr std::array< double, 11 > prom::default_histogram_buckets
 The default bucket bounds applied when a histogram spec leaves buckets empty — the canonical Prometheus client default set (seconds-oriented).
 

Detailed Description

Histogram — bucketed observation distribution, and HistogramSpec.