Markdownlint

This commit is contained in:
Mathias Petermann 2022-03-10 12:33:35 +01:00
parent 02abe633b3
commit 7bc81c1e5d
No known key found for this signature in database
GPG Key ID: DADC3DF6E81B66C1

View File

@ -63,7 +63,9 @@ This example configuration snippet for the Prometheus `scrape_config` Prometheus
```
### IPv4 or IPv6 usage
Set the address from the ipv4 or ipv6 meta label, and not the name
```YAML
relabel_configs:
- replacement: ${1}:9273
@ -73,7 +75,9 @@ relabel_configs:
```
## Convert tags to custom labels
Eg. Extract `group` and `alert` from a list of tags like this: `__meta_pve_tags="alert:team-1,group:cluster-1,node:node-1"`
```YAML
relabel_configs:
- source_labels:
@ -89,6 +93,7 @@ relabel_configs:
```
Using the `alert` label, you can then for example set an alertmanager route, for this alert
```YAML
routes:
- receiver: "empty"
@ -97,4 +102,4 @@ routes:
- receiver: "team-1"
matchers:
- alert = team-1
```
```