mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-30 07:59:40 -08:00
3f686cad8b
Signed-off-by: Michal Wasilewski <mwasilewski@gmx.com>
12 lines
307 B
YAML
12 lines
307 B
YAML
scrape_configs:
|
|
- job_name: prometheus
|
|
kubernetes_sd_configs:
|
|
- role: endpoints
|
|
selectors:
|
|
- role: "pod"
|
|
label: "foo=bar"
|
|
field: "metadata.status=Running"
|
|
- role: "pod"
|
|
label: "foo=bar"
|
|
field: "metadata.status=Running"
|