修改readme

This commit is contained in:
CN-JS-HuiBai
2026-04-04 22:13:25 +08:00
parent ba712f1907
commit 415334ad73

View File

@@ -56,6 +56,20 @@ npm run dev
点击右上角的 ⚙️ 按钮,添加你的 Prometheus 地址(如 `http://prometheus.example.com:9090`)。
### 6. Prometheus 配置参考 (Example)
在您的 Prometheus 配置文件 `prometheus.yml` 中,建议执行以下配置(`scrape_interval` 建议设为 `5s` 以获取最佳实时展示效果):
```yaml
global:
scrape_interval: 5s
scrape_configs:
- job_name: '机器名称'
static_configs:
- targets: ['IP:Port']
```
## 技术栈
- **后端**: Node.js + Express