mirror of
https://github.com/prometheus/prometheus.git
synced 2025-03-05 20:59:13 -08:00
doc: clarified behaviour of source_labels in relabel_config
Signed-off-by: Sebastian Schubert <basti@schubert.digital>
This commit is contained in:
parent
a7ce2c37b6
commit
efa4f4a60b
|
@ -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.
|
prefix is guaranteed to never be used by Prometheus itself.
|
||||||
|
|
||||||
```yaml
|
```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
|
# using the configured separator and matched against the configured regular expression
|
||||||
# for the replace, keep, and drop actions.
|
# for the replace, keep, and drop actions.
|
||||||
[ source_labels: '[' <labelname> [, ...] ']' ]
|
[ source_labels: '[' <labelname> [, ...] ']' ]
|
||||||
|
|
Loading…
Reference in a new issue