Commit b602ec32 authored by Björn Rabenstein's avatar Björn Rabenstein Committed by GitHub

Merge pull request #710 from prometheus/target-relabel

Document that target_label can do regex replacement
parents 6f5001a2 2deab292
......@@ -819,7 +819,7 @@ prefix is guaranteed to never be used by Prometheus itself.
[ separator: <string> | default = ; ]
# Label to which the resulting value is written in a replace action.
# It is mandatory for replace actions.
# It is mandatory for replace actions. Regex capture groups are available.
[ target_label: <labelname> ]
# Regular expression against which the extracted value is matched.
......@@ -829,7 +829,7 @@ prefix is guaranteed to never be used by Prometheus itself.
[ modulus: <uint64> ]
# Replacement value against which a regex replace is performed if the
# regular expression matches.
# regular expression matches. Regex capture groups are available.
[ replacement: <string> | default = $1 ]
# Action to perform based on regex matching.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment