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

Declarative description of a state set. More...

#include <stateset.hpp>

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

Public Attributes

std::string_view name {}
 
std::string_view help {}
 
Labels labels {}
 
comms::DisplayInfo display {}
 
std::vector< std::string > states {}
 

Detailed Description

Declarative description of a state set.

states enumerates the possible member names (e.g. {"starting", "running", "stopped"}).

Member Data Documentation

◆ display

comms::DisplayInfo prom::StateSetSpec::display {}

◆ help

std::string_view prom::StateSetSpec::help {}

◆ labels

Labels prom::StateSetSpec::labels {}

◆ name

std::string_view prom::StateSetSpec::name {}

◆ states

std::vector<std::string> prom::StateSetSpec::states {}

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