A Prometheus label with name and value.
Labels are key-value pairs that uniquely identify a time series. The special label __name__ is used for the metric name.
__name__
{ name: "__name__", value: "http_requests_total" }{ name: "method", value: "GET" }{ name: "status", value: "200" } Copy
{ name: "__name__", value: "http_requests_total" }{ name: "method", value: "GET" }{ name: "status", value: "200" }
The label name. Use "name" for the metric name.
The label value.
A Prometheus label with name and value.
Labels are key-value pairs that uniquely identify a time series. The special label
__name__is used for the metric name.Example