metric label

A name and value attached to a metric, such as status="200", that splits one metric into separate series you can compare.

In more detail

Every distinct combination of label values creates a new series, with its own memory and storage, so labels must come from a small, bounded set such as operation, status family or dependency. Never use user identifiers, request identifiers or full addresses as label values.

Example

http_requests_total{method="GET",route="/checkout",status="200"}

Related terms

Taught in

References

Certification courses