一、安装grafana
1. 下载
wget https://dl.grafana.com/oss/release/grafana-6.4.3.linux-amd64.tar.gz
2. 解压
tar -zxvf grafana-6.4.3.linux-amd64.tar.gz
3. 启动
./bin/grafana-server
4. 访问
ip+3000
二、安装prometheus
1. 下载
wget https://github.com/prometheus/prometheus/releases/download/v2.2.1/prometheus-2.2.1.linux-amd64.tar.gz
2. 解压
tar -zxvf prometheus-2.2.1.linux-amd64.tar.gz
3. 启动
./prometheus
三、安装 node_exporter
1. 下载:
wget https://github.com/prometheus/node_exporter/releases/download/v0.18.1/node_exporter-0.18.1.linux-amd64.tar.gz
2. 解压
tar -zxvf node_exporter-0.18.1.linux-amd64.tar.gz
3. 启动
./ node_exporter
四、grafana配置prometheus
效果:
关注 Java有货领取更多资料
如遇到问题可以联系小编。微信:372787553,互相学习
技术博客:https://blog.csdn.net/weixin_38937840
SpringCloud学习代码: https://github.com/Dylan-haiji/javayh-cloud
Redis、Mongo、Rabbitmq、Kafka学习代码: https://github.com/Dylan-haiji/javayh-middleware
AlibabaCloud学习代码:https://github.com/Dylan-haiji/javayh-cloud-nacos
SpringBoot+SpringSecurity实现自定义登录学习代码:https://github.com/Dylan-haiji/javayh-distribution