Commit 86e3abf5 authored by Fabian Reinartz's avatar Fabian Reinartz Committed by GitHub

Merge pull request #465 from Cofyc/fix_relabel_defaults

[docs] fix relabel default configs
parents fac1e7dd d377ab91
......@@ -639,14 +639,14 @@ prefix is guaranteed to never be used by Prometheus itself.
[ target_label: <labelname> ]
# Regular expression against which the extracted value is matched.
[ regex: <regex> ]
[ regex: <regex> | default = (.*) ]
# Modulus to take of the hash of the source label values.
[ modulus: <uint64> ]
# Replacement value against which a regex replace is performed if the
# regular expression matches.
[ replacement: <string> | default = '' ]
[ replacement: <string> | default = $1 ]
# Action to perform based on regex matching.
[ action: <relabel_action> | default = replace ]
......
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