Files
infra/stacks/monitoring/prometheus/prometheus.yml

27 lines
534 B
YAML

global:
scrape_interval: 15s
evaluation_interval: 15s
external_labels:
monitor: ruzzy-infra
alerting:
alertmanagers:
- static_configs:
- targets: ['alertmanager:9093']
rule_files:
- /etc/prometheus/rules/*.yml
scrape_configs:
- job_name: prometheus
static_configs:
- targets: ['localhost:9090']
- job_name: node
file_sd_configs:
- files: ['/etc/prometheus/targets/node/*.yml']
- job_name: cadvisor
file_sd_configs:
- files: ['/etc/prometheus/targets/cadvisor/*.yml']