From 674a6eee6ca0ee1555884583d218317734d8dc85 Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Sun, 12 Sep 2021 11:39:17 +0300 Subject: [PATCH] docs/Single-server-VictoriaMetrics.md: refer to relabeling section for vmagent This removes duplicate docs about additional relabeling actions supported by VictoriaMetrics components --- README.md | 9 +-------- app/vmagent/README.md | 4 ++-- docs/README.md | 9 +-------- docs/Single-server-VictoriaMetrics.md | 9 +-------- docs/vmagent.md | 4 ++-- 5 files changed, 7 insertions(+), 28 deletions(-) diff --git a/README.md b/README.md index 8ba24f61a..cea80e9af 100644 --- a/README.md +++ b/README.md @@ -1068,14 +1068,7 @@ Example contents for `-relabelConfig` file: regex: true ``` -VictoriaMetrics provides the following extra actions for relabeling rules: - -* `replace_all`: replaces all the occurences of `regex` in the values of `source_labels` with the `replacement` and stores the result in the `target_label`. -* `labelmap_all`: replaces all the occurences of `regex` in all the label names with the `replacement`. -* `keep_if_equal`: keeps the entry if all label values from `source_labels` are equal. -* `drop_if_equal`: drops the entry if all the label values from `source_labels` are equal. - -See also [relabeling in vmagent](https://docs.victoriametrics.com/vmagent.html#relabeling). +See [these docs](https://docs.victoriametrics.com/vmagent.html#relabeling) for more details about relabeling in VictoriaMetrics. ## Federation diff --git a/app/vmagent/README.md b/app/vmagent/README.md index fae337dc5..695bf592b 100644 --- a/app/vmagent/README.md +++ b/app/vmagent/README.md @@ -248,8 +248,8 @@ Labels can be added to metrics by the following mechanisms: ## Relabeling -`vmagent` supports [Prometheus relabeling](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config). -It provides the following additional actions: +`vmagent` and VictoriaMetrics support Prometheus-compatible relabeling]. +They provide the following additional actions on top of actions from the [Prometheus relabeling](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config): * `replace_all`: replaces all of the occurences of `regex` in the values of `source_labels` with the `replacement` and stores the results in the `target_label`. * `labelmap_all`: replaces all of the occurences of `regex` in all the label names with the `replacement`. diff --git a/docs/README.md b/docs/README.md index 8ba24f61a..cea80e9af 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1068,14 +1068,7 @@ Example contents for `-relabelConfig` file: regex: true ``` -VictoriaMetrics provides the following extra actions for relabeling rules: - -* `replace_all`: replaces all the occurences of `regex` in the values of `source_labels` with the `replacement` and stores the result in the `target_label`. -* `labelmap_all`: replaces all the occurences of `regex` in all the label names with the `replacement`. -* `keep_if_equal`: keeps the entry if all label values from `source_labels` are equal. -* `drop_if_equal`: drops the entry if all the label values from `source_labels` are equal. - -See also [relabeling in vmagent](https://docs.victoriametrics.com/vmagent.html#relabeling). +See [these docs](https://docs.victoriametrics.com/vmagent.html#relabeling) for more details about relabeling in VictoriaMetrics. ## Federation diff --git a/docs/Single-server-VictoriaMetrics.md b/docs/Single-server-VictoriaMetrics.md index cfb1e8174..499198d1e 100644 --- a/docs/Single-server-VictoriaMetrics.md +++ b/docs/Single-server-VictoriaMetrics.md @@ -1072,14 +1072,7 @@ Example contents for `-relabelConfig` file: regex: true ``` -VictoriaMetrics provides the following extra actions for relabeling rules: - -* `replace_all`: replaces all the occurences of `regex` in the values of `source_labels` with the `replacement` and stores the result in the `target_label`. -* `labelmap_all`: replaces all the occurences of `regex` in all the label names with the `replacement`. -* `keep_if_equal`: keeps the entry if all label values from `source_labels` are equal. -* `drop_if_equal`: drops the entry if all the label values from `source_labels` are equal. - -See also [relabeling in vmagent](https://docs.victoriametrics.com/vmagent.html#relabeling). +See [these docs](https://docs.victoriametrics.com/vmagent.html#relabeling) for more details about relabeling in VictoriaMetrics. ## Federation diff --git a/docs/vmagent.md b/docs/vmagent.md index 527de8218..7c9c3e83d 100644 --- a/docs/vmagent.md +++ b/docs/vmagent.md @@ -252,8 +252,8 @@ Labels can be added to metrics by the following mechanisms: ## Relabeling -`vmagent` supports [Prometheus relabeling](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config). -It provides the following additional actions: +`vmagent` and VictoriaMetrics support Prometheus-compatible relabeling]. +They provide the following additional actions on top of actions from the [Prometheus relabeling](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config): * `replace_all`: replaces all of the occurences of `regex` in the values of `source_labels` with the `replacement` and stores the results in the `target_label`. * `labelmap_all`: replaces all of the occurences of `regex` in all the label names with the `replacement`.