Installing Grafana
Install Grafana on the server1 node only.
- Go to the Grafana directory.
1cd /opt/prometheus/grafana-v10.4.2/bin
- Start Grafana.
1nohup ./grafana server &
- Check whether the deployment is successful. Access http://${server1}:3000. If the following page is displayed, the deployment is successful.

- Enter the initial login user name and password (both are admin) and click Log in.

- Enter a new password as prompted or click Skip to skip this operation.

- Go to the home page and configure the data sources.
- Click Datasource.

- Click Add data source to add a data source.

- Select Prometheus.

- Set the Prometheus URL to http://server1:9060/.

- Click Save&test.

- If information in the following figure is displayed, the operation is successful.
Before configuring the data source, ensure that Prometheus is running. Otherwise, the connection fails.
- Click Datasource.
- Configure the dashboards.
- Click Dashboards.

- Click New in the upper right corner of the page and click Import.

- Upload the LoadsMetric.json file in the BoostKit-loadsmetric-1.0.0-aarch64.zip package (obtained in Table 3) to this directory.

- Click Import.

- The dashboard is displayed.
- Click Dashboards.
- To view data, log in to server1:3000, click Dashboards, and select LoadsMetric.

- Stops the Grafana service.
- Find the process ID of the Grafana service.
ps -aux | grep grafana
- Run the kill command to stop Grafana.
kill ID
- Find the process ID of the Grafana service.
Parent topic: Installing Prometheus, Grafana, and Node Exporter

