Files
homelab/templates/prometheus.yml.j2
Alex Frantz 2bae25284c
Some checks failed
Deploy Containers / Prepare (push) Failing after 23s
pull in prometheus config
2025-07-29 23:47:29 -04:00

19 lines
405 B
Django/Jinja

global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
# Prometheus itself
- job_name: "prometheus"
static_configs:
- targets: ["localhost:9090"]
# Node Exporter (system metrics)
- job_name: "node-exporter"
static_configs:
- targets: ["node-exporter:9100"]
# Docker metrics
- job_name: "cadvisor"
static_configs:
- targets: ["cadvisor:8083"]