19 lines
405 B
Django/Jinja
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"] |