mirror of
https://github.com/prometheus/prometheus
synced 2024-12-24 23:42:32 +00:00
27d66628a1
Allow namespace discovery to be more easily extended in the future by using a struct rather than just a list. Rename fields for kubernetes namespace discovery
7 lines
123 B
YAML
7 lines
123 B
YAML
scrape_configs:
|
|
- kubernetes_sd_configs:
|
|
- api_server: kubernetes:443
|
|
role: endpoints
|
|
namespaces:
|
|
foo: bar
|