mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08: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
|