Update docs/configuration/configuration.md

Co-authored-by: Levi Harrison <git@leviharrison.dev>
This commit is contained in:
Richard Hartmann 2022-03-04 20:50:51 +01:00 committed by GitHub
parent 3b082e48a1
commit b9a1b00475
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2471,7 +2471,7 @@ anchored on both ends. To un-anchor the regex, use `.*<regex>.*`.
* `keep`: Drop targets for which `regex` does not match the concatenated `source_labels`.
* `drop`: Drop targets for which `regex` matches the concatenated `source_labels`.
* `hashmod`: Set `target_label` to the `modulus` of a hash of the concatenated `source_labels`.
* `labelmap`: Ignore `source_labels` and match `regex` against all source label names. Then
* `labelmap`: Match `regex` against all source label names, not just those specified in `source_labels`. Then
copy the values of the matching labels to label names given by `replacement` with match
group references (`${1}`, `${2}`, ...) in `replacement` substituted by their value.
* `labeldrop`: Match `regex` against all label names. Any label that matches will be