This commit is contained in:
2026-03-31 11:01:15 +02:00
parent 8cb1e71665
commit 786c0a5a5a
10 changed files with 2712 additions and 0 deletions

27
prometheus/prometheus.yml Normal file
View File

@@ -0,0 +1,27 @@
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']