prom 0.1.0
Client-independent C++23 Prometheus/OpenMetrics metric abstraction
Loading...
Searching...
No Matches
Public Attributes | List of all members
prom::HistogramSpec Struct Reference

Declarative description of a histogram. More...

#include <histogram.hpp>

Collaboration diagram for prom::HistogramSpec:
Collaboration graph
[legend]

Public Attributes

std::string_view name {}
 
std::string_view help {}
 
Labels labels {}
 
Unit unit {}
 
comms::DisplayInfo display {}
 
std::vector< double > buckets {}
 Upper bounds; default set used when empty.
 

Detailed Description

Declarative description of a histogram.

Member Data Documentation

◆ buckets

std::vector<double> prom::HistogramSpec::buckets {}

Upper bounds; default set used when empty.

◆ display

comms::DisplayInfo prom::HistogramSpec::display {}

◆ help

std::string_view prom::HistogramSpec::help {}

◆ labels

Labels prom::HistogramSpec::labels {}

◆ name

std::string_view prom::HistogramSpec::name {}

◆ unit

Unit prom::HistogramSpec::unit {}

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