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.
- 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
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.
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.
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.