docs/vmagent.md: typo fix in __meta_kubernetes_annotation_prometheus_io_tenant label name

It must be __meta_kubernetes_pod_annotation_prometheus_io_tenant
This commit is contained in:
Aliaksandr Valialkin 2022-08-08 14:52:44 +03:00
parent 310779d8b5
commit ceb158c5bb
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1
2 changed files with 2 additions and 2 deletions

View File

@ -154,7 +154,7 @@ scrape_configs:
- kubernetes_sd_configs:
- role: pod
relabel_configs:
- source_labels: [__meta_kubernetes_annotation_prometheus_io_tenant]
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_tenant]
target_label: __tenant_id__
```

View File

@ -158,7 +158,7 @@ scrape_configs:
- kubernetes_sd_configs:
- role: pod
relabel_configs:
- source_labels: [__meta_kubernetes_annotation_prometheus_io_tenant]
- source_labels: [__meta_kubernetes_pod_annotation_prometheus_io_tenant]
target_label: __tenant_id__
```