Use Prometheus to quickly graph API resource usage in OpenShift

Solution Verified - Updated -

Issue

  • When API resource usage has increased either gradually or suddenly, it's important to understand why, so that there aren't resource-related issues that occur as a result of over-utilization of the API pods.
  • If API resource usage becomes too high, it can result in OOM events with etcd or API pods, and can more severely result in cluster outages if left unaddressed.
  • It's possible to do this same task with API audit logging, but these results can be
    Example of API Metrics
    This is an example of the Prometheus dashboard graphing API usage for diagnostic purposes. We can see that Tiller and template service broker are currently responsible for the greatest amount of requests to the API.
    cluttered and difficult to interpret.
    Example of API Metrics
    This is an example of the Prometheus dashboard graphing API usage for diagnostic purposes. We can see that Tiller and template service broker are currently responsible for the greatest amount of requests to the API.

Environment

  • OpenShift Container Platform
    • 3.11
  • Prometheus Monitoring

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content