After you’ve enabled monitoring at either the cluster level or , you will want to be start viewing the data being collected. There are multiple ways to view this data.

Rancher’s dashboards are available at multiple locations:

  • Cluster Dashboard: From the Global view, navigate to the cluster.
  • Node Metrics: From the Global view, navigate to the cluster. Select Nodes. Find the individual node and click on its name. Click Node Metrics.
  • Pod Metrics: From the Global view, navigate to the project. Select Workloads > Workloads. Find the individual workload and click on its name. Find the individual pod and click on its name. Click Pod Metrics.
  • Container Metrics: From the Global view, navigate to the project. From the main navigation bar, choose Resources > Workloads. (In versions before v2.3.0, choose Workloads on the main navigation bar.) Find the individual workload and click on its name. Find the individual pod and click on its name. Find the individual container and click on its name. Click Container Metrics.

Prometheus metrics are displayed and are denoted with the Grafana icon. If you click on the icon, the metrics will open a new tab in Grafana.

Within each Prometheus metrics widget, there are several ways to customize your view.

  • Toggle between two views:
    • Detail: Displays graphs and charts that let you view each event in a Prometheus time series
    • Summary Displays events in a Prometheus time series that are outside the norm.
  • Customize the data sample to display data between specific dates and times.

Grafana

If you’ve enabled monitoring at either the or project level, Rancher automatically creates a link to Grafana instance. Use this link to view monitoring data.

Grafana allows you to query, visualize, alert, and ultimately, understand your cluster and workload data. For more information on Grafana and its capabilities, visit the .

Rancher determines which users can access the new Grafana instance, as well as the objects they can view within it, by validating them against the user’s cluster or project roles. In other words, a user’s access in Grafana mirrors their access in Rancher.

When you go to the Grafana instance, you will be logged in with the username and the password admin. If you log out and log in again, you will be prompted to change your password. You will only have access to the URL of the Grafana instance if you have access to view the corresponding metrics in Rancher. So for example, if your Rancher permissions are scoped to the project level, you won’t be able to see the Grafana instance for cluster-level metrics.

Accessing the Cluster-level Grafana Instance

  1. From the Global view, navigate to a cluster that has monitoring enabled.

  2. Click Apps. In versions before v2.2.0, choose Catalog Apps on the main navigation bar.

  3. Go to the application.

  4. You will be signed in to the Grafana instance automatically. The default username is admin and the default password is . For security, we recommend that you log out of Grafana, log back in with the admin password, and change your password.

Results: You are logged into Grafana from the Grafana instance. After logging in, you can view the preset Grafana dashboards, which are imported via the Grafana provisioning mechanism, so you cannot modify them directly. For now, if you want to configure your own dashboards, clone the original and modify the new copy.