Files
system-exporter/example/config/prometheus/prometheus.yml

26 lines
497 B
YAML

global:
scrape_interval: 5s
alerting:
alertmanagers:
- static_configs:
- targets: ['alertmanager:9093']
rule_files:
- "/etc/prometheus/rules/*"
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']
labels:
group: 'prometheus'
- job_name: 'system-exporter'
static_configs:
- targets: ['system-exporter:45454']
- job_name: 'node-exporter'
static_configs:
- targets: ['node-exporter:9100']