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

@@ -0,0 +1,14 @@
# Author: fruit.com.cn
# 看板自动加载:容器内 /var/lib/grafana/dashboards 挂载的是仓库里的 grafana/dashboards
apiVersion: 1
providers:
- name: 'FruitShorts'
orgId: 1
folder: 'FruitShorts'
type: file
disableDeletion: false
updateIntervalSeconds: 30
allowUiUpdates: true
options:
path: /var/lib/grafana/dashboards