Merge pull request #16081 from prometheus/bastischubert/1740588650

doc: clarified behaviour of source_labels in relabel_config
This commit is contained in:
Bryan Boreham 2025-02-27 10:13:35 +00:00 committed by GitHub
commit d72c1ec2c2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: '[' <labelname> [, ...] ']' ]