Add external monitoring stack and alerting docs

This commit is contained in:
2569718930@qq.com
2026-04-01 01:49:58 +08:00
parent 6626b5472c
commit a8462e188b
13 changed files with 729 additions and 1 deletions
+19
View File
@@ -0,0 +1,19 @@
global:
scrape_interval: 30s
evaluation_interval: 30s
rule_files:
- /etc/prometheus/alerts.yml
alerting:
alertmanagers:
- static_configs:
- targets:
- polyweather_alertmanager:9093
scrape_configs:
- job_name: polyweather-web
metrics_path: /metrics
static_configs:
- targets:
- polyweather_web:8000