Where are the links for Prometheus and Grafana in Rancher v2.x Cluster and Project Monitoring?
This document (000020157) is provided subject to the disclaimer at the end of this document.
Situation
Question
Using Rancher v2.x, from v2.2.4 and above, you can monitor the state and processes of your cluster nodes, Kubernetes components, and software deployments through the use of the built-in Rancher cluster and project monitoring. Rancher monitoring deploys the open-source Grafana and Prometheus projects, and this article details how to access the UI for these components, so you can view the monitoring dashboards and query metrics.
Pre-requisites
- A Kubernetes cluster managed by Rancher v2.x, from v2.2.4 and above
- Cluster monitoring enabled: Go to your Cluster --> Tools --> Monitoring --> Enable
- (Optionally) Project monitoring enabled: Go to your Project --> Tools --> Monitoring --> Enable
Answer
Cluster level
Grafana
To access the Grafana UI for Rancher cluster monitoring, from the main dashboard for your cluster, click the three-dot option menu in the top-right and click the button "Go to Grafana".
You should also see Grafana logos next to the system components on the main dashboard for your cluster. Click on any of them to take you to the Grafana dashboard for that particular component.
Prometheus
To access the Prometheus UI for the cluster monitoring, navigate to the Apps page in the System project for your cluster. You will see an app called "cluster-monitoring" deployed, listing "/index.html" links for Grafana and Prometheus.
Project level
Grafana and Prometheus
To access the Grafana and Prometheus UIs, for a project with project monitoring enabled, navigate to the Apps page within the project. You will see an app called "project-monitoring" deployed, listing "/index.html" links for Grafana and Prometheus.
Further Reading
Documentation on the Rancher cluster monitoring can be found here and for Rancher project monitoring here.
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020157
- Creation Date: 06-May-2021
- Modified Date:06-May-2021
-
- SUSE Rancher
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com