feat(monitoring): 监控编排统一到 FruitServer compose

把原先散落在 D:\fruitshorts\monitoring 的手工栈收编进仓库:prometheus 增加 cAdvisor 与 blackbox 抓取、15 天保留期;grafana 改为 provisioning 自动加载数据源与看板;新增 blackbox/cadvisor 服务;Grafana 管理员密码改走环境变量(必填),不再硬编码 admin/admin。
This commit is contained in:
Zhou Weidong authored and trae-solo-agent committed 2026-10-21 10:51:28 +08:00
1 parent b391ad31af
commit 530da2b1b4
7 files changed
+210 -3

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
# Author: fruit.com.cn
# blackbox-exporter 探针模块:只探测 HTTP 2xx,跟随重定向
modules:
http_2xx:
prober: http
timeout: 5s
http:
preferred_ip_protocol: ip4
valid_http_versions: ["HTTP/1.1", "HTTP/2.0"]
valid_status_codes: [200]
follow_redirects: true