Grafana Dashboard Configuration
Logging into Grafana
-
Access the prepared grafana page at http://hap.domain.com/privatedeploy/mdy/monitor/grafana
- The initial username/password is: admin/admin. You will be forced to change the default password upon first login, and it must be changed to a strong password.
Adding a Data Source
-
On the Connections - Data sources page, click Add data source, then select Prometheus
-
Enter the service address of Prometheus in the Prometheus server URL. If Prometheus and Grafana are deployed on the same machine, simply enter http://localhost:9090
-
Click test and error at the bottom, and once the test passes, it will be saved successfully
Importing a Dashboard
Download the Dashboard JSON File in Advance
-
Server Host Monitoring Dashboard JSON File: https://pdpublic.mingdao.com/private-deployment/offline/common/HostServer-1694760963429.json
-
File Storage Monitoring Dashboard JSON File: https://pdpublic.mingdao.com/private-deployment/offline/common/File-1690794630083.json
-
Kafka Topic Monitoring Dashboard JSON File: https://pdpublic.mingdao.com/private-deployment/offline/common/KafkaTopic-1690794637928.json
-
Kubernetes Monitoring Dashboard JSON File: https://pdpublic.mingdao.com/private-deployment/offline/common/Kubernetes-1690794645145.json
Steps to Import a Dashboard
-
On the home page, click Import dashboard
-
Click the Upload module and upload the dashboard JSON file
-
Select the data source and click import