This tutorial will help you add a data source for Grafana for use with Prometheus to give your dashboard different ways of visualizing your data.
Open the Grafana UI
Add a datasource by going to Configuration -> Data Sources.
Click the "Add data source" button
Set the name to
Prometheus (note this is case-sensitive).
In the URL, enter
http://<prometheus-ip>:9090, leave the rest of the defaults and click "Save & Test".
Dashboards provide different ways of visualizing your data. Find sample dashboards for Prometheus and Grafana. Review the documentation for more information on creating your own dashboards and panels for Grafana.
Click the + sign on the left-hand side of the UI, and choose "Import".
Copy the contents from Couchbase Queries-1581449916780.json and paste them into the textbox.
Click the "Load" button
This will populate the name of the Dashboard automatically. Since this is the first Dashboard being created, click on the Folder dropdown, and choose "--New Folder--". Type "Couchbase" for the folder name and click "Create".
Click the "Import" button
You should see a dashboard similar to the following:
Repeat this process for any other existing dashboards that you want to visualize and start creating your own custom dashboards.