作者:mobiledu2502869017 | 来源:互联网 | 2023-05-18 10:53
Prometheus安装Grafana与Prometheus集成Grafana是一个开源的度量分析和可视化系统。下载地址:https:grafana.comgrafanado
Prometheus 安装Grafana与Prometheus集成
Grafana是一个开源的度量分析和可视化系统。
- 下载地址:https://grafana.com/grafana/download
Grafana支持查询普罗米修斯。自Grafana 2.5.0(2015-10-28)以来,包含了Prometheus的Grafana数据源。
安装Grafana
下载包:wget https://dl.grafana.com/oss/release/grafana-6.2.5-1.x86_64.rpm
安装包:sudo yum localinstall grafana-6.2.5-1.x86_64.rpm
1、启动服务
systemctl daemon-reload
systemctl start grafana-server
2、访问Granfana
http://www.xiangsikai.com:3000/
用户名:admin
密码:admin
3、添加prometheus模块
![](https://img.php1.cn/3cd4a/1eebe/cd5/0d80e8a685a9a87b.png)
![](https://img.php1.cn/3cd4a/1eebe/cd5/d942b7ec373849c3.webp)
4、添加监控端地址并保存
![](https://img.php1.cn/3cd4a/1eebe/cd5/4283cd4bbba41b87.png)
5、有此项说明已完成添加
![](https://img.php1.cn/3cd4a/1eebe/cd5/8343fdbffb0056b5.webp)