prometheus/config/testdata/kubernetes_selectors_endpoi...

15 lines
388 B
YAML
Raw Normal View History

scrape_configs:
- job_name: prometheus
kubernetes_sd_configs:
- role: endpoints
selectors:
pod:
label: "foo=bar"
field: "metadata.status=Running"
service:
label: "foo=bar"
field: "metadata.status=Running"
endpoints:
label: "foo=bar"
field: "metadata.status=Running"