VictoriaMetrics/docs/changelog
Nikolay bba08f7846
lib/promscrape: add relabel configs to global section
This commit adds `metric_relabel_configs` and `relabel_configs` fields
into the `global` section of scrape configuration file.

 New fields are used as global relabeling rules for the scrape targets.

 These relabel configs are prepended to the target relabel configs.
This feature is useful to:
* apply global rules to __meta labels from service discovery targets.
* drop noisy labels during scrapping.
* mutate labels without affecting metrics ingested via any of push
protocols. 

Related issue
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/6966

---------
Signed-off-by: f41gh7 <nik@victoriametrics.com>
Co-authored-by: Zhu Jiekun <jiekun@victoriametrics.com>
Co-authored-by: hagen1778 <roman@victoriametrics.com>
2024-10-31 19:58:22 +01:00
..
_index.md
CHANGELOG_2020.md docs: fix broken links to prev changelogs 2024-08-31 16:34:21 +02:00
CHANGELOG_2021.md docs: fix broken links to prev changelogs 2024-08-31 16:34:21 +02:00
CHANGELOG_2022.md deployment/alerts: consistently update path to alerting rules 2024-10-30 16:06:57 +01:00
CHANGELOG_2023.md deployment/alerts: consistently update path to alerting rules 2024-10-30 16:06:57 +01:00
CHANGELOG.md lib/promscrape: add relabel configs to global section 2024-10-31 19:58:22 +01:00