add comment about interpolation
This commit is contained in:
parent
3b8e7c1277
commit
7a36af1c85
|
@ -988,6 +988,7 @@ type RelabelConfig struct {
|
||||||
// Modulus to take of the hash of concatenated values from the source labels.
|
// Modulus to take of the hash of concatenated values from the source labels.
|
||||||
Modulus uint64 `yaml:"modulus,omitempty"`
|
Modulus uint64 `yaml:"modulus,omitempty"`
|
||||||
// The label to which the resulting string is written in a replacement.
|
// The label to which the resulting string is written in a replacement.
|
||||||
|
// regex interpolation is allowed for the replace action.
|
||||||
TargetLabel string `yaml:"target_label,omitempty"`
|
TargetLabel string `yaml:"target_label,omitempty"`
|
||||||
// Replacement is the regex replacement pattern to be used.
|
// Replacement is the regex replacement pattern to be used.
|
||||||
Replacement string `yaml:"replacement,omitempty"`
|
Replacement string `yaml:"replacement,omitempty"`
|
||||||
|
|
Loading…
Reference in New Issue