Files
caddystack/prometheus/prometheus.yml
2026-03-31 11:01:15 +02:00

27 lines
485 B
YAML

global:
scrape_interval: 15s
evaluation_interval: 15s
external_labels:
monitor: 'example'
alerting:
alertmanagers:
- static_configs:
- targets: ['localhost:9093']
scrape_configs:
- job_name: 'prometheus'
scrape_interval: 5s
scrape_timeout: 5s
static_configs:
- targets: ['localhost:9090']
- job_name: node
static_configs:
- targets: ['localhost:9100']
- job_name: caddy
static_configs:
- targets: ['caddy:2019']