mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-14 01:24:04 -08:00
3f686cad8b
Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
14 lines
347 B
YAML
14 lines
347 B
YAML
scrape_configs:
|
|
- job_name: prometheus
|
|
kubernetes_sd_configs:
|
|
- role: pod
|
|
selectors:
|
|
- role: "pod"
|
|
label: "foo=bar"
|
|
field: "metadata.status=Running"
|
|
- role: pod
|
|
selectors:
|
|
- role: "pod"
|
|
label: "foo in (bar,baz)"
|
|
field: "metadata.status=Running"
|