Prometheus+Grafana 监控部署
具体操作步骤如下:
1.Prometheus 的安装
将 prometheus 包解压到当前目录,并把 nssm.exe 拷贝到解压的文件夹
“prometheus-2.22.0.windows-amd64”,然后后在 prometheus 当前目录下执行 cmd 命令
“nssm install prometheus”
(命令中的 prometheus 可以自定义)
在弹窗中选择解压后的 prometheus 文件夹里的 prometheus.exe 即可,然后点击 install
service。
注:可以打开服务查看服务是否安装成功
评论1