mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-11 08:04:04 -08:00
b4445ff03f
Closes #6096 Signed-off-by: Grebennikov Roman <grv@dfdx.me>
15 lines
389 B
YAML
15 lines
389 B
YAML
scrape_configs:
|
|
- job_name: prometheus
|
|
kubernetes_sd_configs:
|
|
- role: endpoints
|
|
selectors:
|
|
node:
|
|
label: "foo=bar"
|
|
field: "metadata.status=Running"
|
|
service:
|
|
label: "foo=bar"
|
|
field: "metadata.status=Running"
|
|
endpoints:
|
|
label: "foo=bar"
|
|
field: "metadata.status=Running"
|