NAME
IO::K8s::PrometheusOperator::V1::RelabelConfig - RelabelConfig allows dynamic rewriting of the label set for targets, alerts, scraped samples and remote write samples.
VERSION
version 1.108
action
action to perform based on the regex matching.
`Uppercase` and `Lowercase` actions require Prometheus >= v2.36.0. `DropEqual` and `KeepEqual` actions require Prometheus >= v2.41.0.
Default: "Replace"
modulus
modulus to take of the hash of the source label values.
Only applicable when the action is `HashMod`.
regex
regex defines the regular expression against which the extracted value is matched.
replacement
replacement value against which a Replace action is performed if the regular expression matches.
Regex capture groups are available.
separator
separator defines the string between concatenated SourceLabels.
sourceLabels
sourceLabels defines the source labels select values from existing labels. Their content is concatenated using the configured Separator and matched against the configured regular expression.
targetLabel
targetLabel defines the label to which the resulting string is written in a replacement.
It is mandatory for `Replace`, `HashMod`, `Lowercase`, `Uppercase`, `KeepEqual` and `DropEqual` actions.
Regex capture groups are available.
SUPPORT
Issues
Please report bugs and feature requests on GitHub at https://github.com/pplu/io-k8s-p5/issues.
CONTRIBUTING
Contributions are welcome! Please fork the repository and submit a pull request.
AUTHORS
Torsten Raudssus <getty@cpan.org>
Jose Luis Martinez Torres <jlmartin@cpan.org>
COPYRIGHT AND LICENSE
This software is Copyright (c) 2018-2026 by Jose Luis Martinez Torres <jlmartin@cpan.org>.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004