部署prometheus
下载
https://prometheus.io/download/
解压安装
tar -zxvf prometheus-2.12.0.linux-amd64.tar.gz
启动
由于此服务器上部署gitlab,gitlab中内置了prometheus,占用了9090端口,所以要指定prometheus启动的端口
./prometheus --config.file="prometheus.yml" --web.listen-address="0.0.0.0:24003"
web访问地址
http://192.168.20.31:24003
部署grafana
下载
https://grafana.com/grafana/download
解压安装
[root@cn2031 Downloads]# tar -zxvf grafana-6.4.0-beta2.linux-amd64.tar.gz
[root@cn2031 Downloads]# mv grafana-6.4.0-beta2 /usr/local/grafana
启动
[root@cn2031 bin]# ./grafana-server
1897

被折叠的 条评论
为什么被折叠?



