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

 

posted @ 2021-04-30 00:45  jamespeng2020  阅读(1085)  评论(0)    收藏  举报