mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-23 20:37:12 +01:00
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:
parent
77168e3e94
commit
674a6eee6c
@ -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
|
||||||
|
@ -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`.
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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`.
|
||||||
|
Loading…
Reference in New Issue
Block a user