Skip to main content

Grafana Dashboard Configuration

Logging into Grafana

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 Resource Monitoring dashboard JSON file: https://pdpublic.mingdao.com/private-deployment/offline/common/ServerResourceMonitoring-v1.0.0.json

  • Docker Swarm Container Monitoring dashboard JSON file: https://pdpublic.mingdao.com/private-deployment/offline/common/DockerSwarmContainerMonitoring-v1.0.0.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