From efa4f4a60bee54d5263c24221bbbc4cddf0a5d6a Mon Sep 17 00:00:00 2001 From: Sebastian Schubert Date: Wed, 26 Feb 2025 17:57:44 +0100 Subject: [PATCH] doc: clarified behaviour of source_labels in relabel_config Signed-off-by: Sebastian Schubert --- docs/configuration/configuration.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/configuration/configuration.md b/docs/configuration/configuration.md index 9b1514942a..3550094ff2 100644 --- a/docs/configuration/configuration.md +++ b/docs/configuration/configuration.md @@ -2551,7 +2551,8 @@ input to a subsequent relabeling step), use the `__tmp` label name prefix. This prefix is guaranteed to never be used by Prometheus itself. ```yaml -# The source labels select values from existing labels. Their content is concatenated +# The source_labels tells the rule what labels to fetch from the series. Any +# labels which do not exist get a blank value (""). Their content is concatenated # using the configured separator and matched against the configured regular expression # for the replace, keep, and drop actions. [ source_labels: '[' [, ...] ']' ]