May 2019
Intermediate to advanced
442 pages
11h 36m
English
Labels, or the key/value pairs associated with a certain metric, add dimensionality to the metrics. This is an essential part of what makes Prometheus so good at slicing and dicing time series, as we'll see in Chapter 7, Prometheus Query Language – PromQL.
While label values can be full UTF-8, label names have to match a regular expression to be considered valid; for example, "[a-zA-Z0-9_]*".
Their main difference in regard to metric names is that label names don't allow the colon (:).
Read now
Unlock full access