mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-14 07:17:52 -08:00
Merge pull request #2401 from svend/kubernetes-config
Kubernetes SD: Fix namespace meta label in example config
This commit is contained in:
commit
e4f58d9860
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue