A
Size: a a a
PJ
PT
scrape_configs:Есть файлик
- job_name: node_exporter
scrape_interval: 5s
file_sd_configs:
- files:
- /etc/prometheus/targets/*.yml
refresh_interval: 5s
/etc/prometheus/targets/mon.ymlДолжно ли по разным job'ам раскладываться в UI-> Targets или всё улетит в node_exporter?
- targets:
- mon.home.local:9090
labels:
job: prometheus
instance: mon.home.local
- targets:
- mon.home.local:9100
labels:
job: node_exporter
instance: mon.home.local
- targets:
- mon.home.local:9093
labels:
job: alertmanager
instance: mon.home.local
IE
S
S
S