部署文檔:
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