mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
docs: fix ordering in vmagent docs
Looks like auto-numeration doesn't work if item in the list
takes more than one line.
Signed-off-by: hagen1778 <roman@victoriametrics.com>
(cherry picked from commit fa9de9b45c
)
This commit is contained in:
parent
4251d8073f
commit
d8266777d6
1 changed files with 2 additions and 2 deletions
|
@ -227,13 +227,13 @@ To route metrics `env=dev` to destination `dev` and metrics with `env=prod` to d
|
||||||
source_labels: [env]
|
source_labels: [env]
|
||||||
regex: "dev"
|
regex: "dev"
|
||||||
```
|
```
|
||||||
1. Create relabeling config file `relabelProd.yml` to drop all metrics that don't have label `env=prod`:
|
2. Create relabeling config file `relabelProd.yml` to drop all metrics that don't have label `env=prod`:
|
||||||
```yaml
|
```yaml
|
||||||
- action: keep
|
- action: keep
|
||||||
source_labels: [env]
|
source_labels: [env]
|
||||||
regex: "prod"
|
regex: "prod"
|
||||||
```
|
```
|
||||||
1. Configure `vmagent` with 2 `-remoteWrite.url` flags pointing to destinations `dev` and `prod` with corresponding
|
3. Configure `vmagent` with 2 `-remoteWrite.url` flags pointing to destinations `dev` and `prod` with corresponding
|
||||||
`-remoteWrite.urlRelabelConfig` configs:
|
`-remoteWrite.urlRelabelConfig` configs:
|
||||||
```sh
|
```sh
|
||||||
./vmagent \
|
./vmagent \
|
||||||
|
|
Loading…
Reference in a new issue