grafana和普罗米修斯整合


部署文档:

https://grafana.com/grafana/download

访问地址:

http://IP:3000

用户名/密码:

admin/admin

自启动:

[root@k8s-1 ~]# vi /usr/lib/systemd/system/grafana.service

[Unit]
Description=grafana

[Service]
ExecStart=/opt/monitor/grafana/bin/grafana-server -homepath=/opt/monitor/grafana
ExecReload=/bin/kill -HUP $MAINPID
KillMode=process
Restart=on-failure

[Install]
WantedBy=multi-user.target#

数据源添加普罗米修斯:

 

显示working:

添加仪表盘:

导入仪表盘ID:9276

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM