To view the application metrices dashboard, you need to configure the data source in Grafana. In this case, Prometheus is the data source.
Configuring the data source in Grafana
Follow the instructions given below to configure the data source.
Log in to Grafana and configure the data source.
What would be the Grafana URL depends upon how you have exposed Grafana.
Click Configuration >> Data Sources.
Click Add data source.
On the Add data source page, select Prometheus as the type.
Set the Prometheus server URL (For example, http://<Hostname>:<Port>/).
Configure the other data source settings based on your requirement (For example, selecting the authentication method).
Click Save & test to save the new data source.
Once you have configured the data source, you can view the application metrices dashboards provided by Kubernetes.
To view the dashboards:
Click Search dashboards in the left panel.
The list of all the available dashboards appear under different heads, for example, Starred, Recent, etc.
You can also search for a specific dashboard by entering the name of the dashboard in the search bar.
Click the required dashboard on the list to view it.
The following screenshot is an example that shows the General/Kubernetes/Compute Resources/Cluster dashboard with relevant metrices.
Importing and viewing the custom Grafana dashboard
Adeptia provides a few dashboards in JSON format that you can import to view the application metrices. You can also customize these JSON files based on your requirement. Follow the steps given below to import the dashboard.