mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 08:23:34 +01:00
docs/vmagent.md: typo fix in Relabeling
chapter
This commit is contained in:
parent
9aac6acb6b
commit
986807ebd9
@ -249,7 +249,7 @@ 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` supports [Prometheus relabeling](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config).
|
||||||
and also provides the following actions:
|
It provides the following additional actions:
|
||||||
|
|
||||||
* `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`.
|
||||||
|
@ -253,7 +253,7 @@ 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` supports [Prometheus relabeling](https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config).
|
||||||
and also provides the following actions:
|
It provides the following additional actions:
|
||||||
|
|
||||||
* `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