Kubernetes SD: Fix namespace meta label

Replace one more instance of `__meta_kubernetes_service_namespace` with
`__meta_kubernetes_namespace`.
This commit is contained in:
Svend Sorensen 2017-02-06 13:28:12 -08:00
parent 4daffbef12
commit 3a96d0e267

View file

@ -146,7 +146,7 @@ scrape_configs:
target_label: instance
- action: labelmap
regex: __meta_kubernetes_service_label_(.+)
- source_labels: [__meta_kubernetes_service_namespace]
- source_labels: [__meta_kubernetes_namespace]
target_label: kubernetes_namespace
- source_labels: [__meta_kubernetes_service_name]
target_label: kubernetes_name