Merge pull request #2401 from svend/kubernetes-config

Kubernetes SD: Fix namespace meta label in example config
This commit is contained in:
Fabian Reinartz 2017-02-06 23:25:37 +01:00 committed by GitHub
commit e4f58d9860

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