在服务器上安装Node.js。
通过npm命令行工具安装Prometheus Manager Web:
npm install prometheus-manager-web -g
- 配置Prometheus Manager Web,创建一个配置文件,并将以下内容添加到其中:
{
"prometheus": {
"url": "http://localhost:9090",
"timeout": 5000
},
"server": {
"port": 3000,
"host": "localhost"
}
}
- 启动Prometheus Manager Web:
prometheus-manager-web start --config /path/to/config.json
- 访问 http://localhost:3000 来查看Prometheus Manager Web 的Web界面。




