mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-10 07:34:04 -08:00
8e53c19f9c
Close #6807 Co-authored-by @shuttie Signed-off-by: Aleksandra Gacek <algacek@google.com>
9 lines
212 B
YAML
9 lines
212 B
YAML
scrape_configs:
|
|
- job_name: prometheus
|
|
kubernetes_sd_configs:
|
|
- role: service
|
|
selectors:
|
|
- role: "service"
|
|
label: "foo=bar"
|
|
field: "metadata.status=Running"
|