...
Step 4: Create a Dashboard in Grafana
Create a New
HiveMQ has put together a great little dashboard template that displays the key metrics for most MQTT deployments. Use the template as a convenient starting point for building a dashboard that is perfectly tailored to your individual use case.
Download HiveMQ Dashboard template: Download the template right here. The JSON file inside the zip file can be imported to Grafana.
Import HiveMQ Dashboard: From the Grafana main menu on the top right, click on the "+" icon, then select "DashboardImport dashboard".Add a Panel:
Click
...
on the "Upload dashboard JSON file" button and navigate to the location of HiveMQ Dashboard JSON file on your computer.
Select the file
HiveMQ-Dashboard-Prometheus.json
and open it. This will load the dashboard configuration into Grafana.Choose a name for your Dashboard and make sure you select the right data source created previously, then click on the “Import” button.
...
View Your Data: After saving, you should see your data visualized on the dashboard.importing, the dashboard will be available in your Grafana instance. You can now view and interact with your newly imported dashboard. Make sure to select the correct time range.
...
Remember, this setup is basic and serves as a starting point. Depending on your environment and requirements, you might need to adjust firewall settings, configure additional Prometheus targets, or customize Grafana dashboards extensively.