diff --git a/app/vmagent/README.md b/app/vmagent/README.md index 51582d13b4..dd4cbcda36 100644 --- a/app/vmagent/README.md +++ b/app/vmagent/README.md @@ -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__ ``` diff --git a/docs/vmagent.md b/docs/vmagent.md index f4d6fbcc3e..449cf464c7 100644 --- a/docs/vmagent.md +++ b/docs/vmagent.md @@ -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__ ```