docs/Single-server-VictoriaMetrics.md: refer to relabeling section for vmagent

This removes duplicate docs about additional relabeling actions supported by VictoriaMetrics components
This commit is contained in:
Aliaksandr Valialkin 2021-09-12 11:39:17 +03:00
parent 77168e3e94
commit 674a6eee6c
5 changed files with 7 additions and 28 deletions

View File

@ -1068,14 +1068,7 @@ Example contents for `-relabelConfig` file:
regex: true regex: true
``` ```
VictoriaMetrics provides the following extra actions for relabeling rules: See [these docs](https://docs.victoriametrics.com/vmagent.html#relabeling) for more details about relabeling in VictoriaMetrics.
* `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).
## Federation ## Federation

View File

@ -248,8 +248,8 @@ Labels can be added to metrics by the following mechanisms:
## Relabeling ## Relabeling
`vmagent` supports [Prometheus relabeling](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config). `vmagent` and VictoriaMetrics support Prometheus-compatible relabeling].
It provides the following additional actions: 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`. * `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`. * `labelmap_all`: replaces all of the occurences of `regex` in all the label names with the `replacement`.

View File

@ -1068,14 +1068,7 @@ Example contents for `-relabelConfig` file:
regex: true regex: true
``` ```
VictoriaMetrics provides the following extra actions for relabeling rules: See [these docs](https://docs.victoriametrics.com/vmagent.html#relabeling) for more details about relabeling in VictoriaMetrics.
* `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).
## Federation ## Federation

View File

@ -1072,14 +1072,7 @@ Example contents for `-relabelConfig` file:
regex: true regex: true
``` ```
VictoriaMetrics provides the following extra actions for relabeling rules: See [these docs](https://docs.victoriametrics.com/vmagent.html#relabeling) for more details about relabeling in VictoriaMetrics.
* `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).
## Federation ## Federation

View File

@ -252,8 +252,8 @@ Labels can be added to metrics by the following mechanisms:
## Relabeling ## Relabeling
`vmagent` supports [Prometheus relabeling](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config). `vmagent` and VictoriaMetrics support Prometheus-compatible relabeling].
It provides the following additional actions: 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`. * `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`. * `labelmap_all`: replaces all of the occurences of `regex` in all the label names with the `replacement`.