View graphs and alerts

View graphs and alertsΒΆ

Using the Prometheus web UI, you can view simple graphs for such metrics as cluster CPU allocation or memory used. Additionally, you can view alerts.

To view graphs:

  1. Connect to the Prometheus web UI as described in Connect to the Prometheus web UI.
  2. Select the required metric from the drop-down list. Alternatively, enter the metric in the Expression field.
  3. Click Execute.
  4. Navigate to the Graph tab to view the selected graph. If required, specify the time range.
  5. Navigate to the Console tab to view the elements and their values.

Note

To view multiple graphs, click Add Graph and follow steps 2-4.

Note

The graphs disappear once you reload the page.

To view alerts:

  1. Connect to the Prometheus web UI as described in Connect to the Prometheus web UI.
  2. For a list of alerts, navigate to Alerts. Red alerts are the enabled ones.
  3. Click on a red alert to view the details on the metric that raised the alert.

Note

The Active Since column displays the time since an alert has fired but does not display the time prior to the start of the Prometheus service itself. Therefore, if you restart the Prometheus service while having some alerts in the firing state, the Active Since column will display the Prometheus service restart time for these alerts instead of the original value.