Clio develop
The XRP Ledger API server.
|
Class representing a collection of Prometheus labels. More...
#include <Label.hpp>
Public Member Functions | |
Labels (std::vector< Label > labels) | |
Construct a new Labels object. | |
std::string | serialize () const |
Serialize the labels to a string in Prometheus format (e.g. {"name1="value1",name2="value2"}) | |
Class representing a collection of Prometheus labels.
|
explicit |
Construct a new Labels object.
labels | The labels to add |
std::string util::prometheus::Labels::serialize | ( | ) | const |
Serialize the labels to a string in Prometheus format (e.g. {"name1="value1",name2="value2"})