How to view the historical data of ResourceQuotas in Prometheus
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.12
Issue
- How to view the metrics and the historical data of
ResourceQuotain Prometheus? - The status fields in the
ResourceQuotaobject are not showing up in Prometheus.
Resolution
- Navigate to the OpenShift console under
Observeand selectMetricchoosekube_resourcequota - Below is an example.
-
Login to the Openshift console under
Observeand selectMetricas shown below.

-
Under
insert metric at cursorchoosekube_resourcequotaas shown below.

-
Once selected the required information will be displayed as below.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments