Declarative description of a counter, for Registry::counter / Counter::Counter.
More...
#include <counter.hpp>
Declarative description of a counter, for Registry::counter / Counter::Counter.
Use designated initializers: CounterSpec{.name = "http_requests_total", .help = "..."}.
◆ display
| comms::DisplayInfo prom::CounterSpec::display {} |
◆ help
| std::string_view prom::CounterSpec::help {} |
◆ labels
| Labels prom::CounterSpec::labels {} |
◆ name
| std::string_view prom::CounterSpec::name {} |
◆ unit
| Unit prom::CounterSpec::unit {} |
The documentation for this struct was generated from the following file: