how to check cpu utilization of pods in aws using prometheus metrics

47 views Asked by At

I need to check the CPU utilization in percentage for an individual pods which has been integrated with the Prometheus. I was checking it with using container_cpu_usage_seconds_total{pod=~"ordermgmtquery"} And also i tried with rate(container_cpu_usage_seconds_total{container!~"POD|"}[50m]) These also kinda didn't help me much.

Let me know if there is any other query which could help me fetch the exact CPU utilization with percentage.

I tried with container_cpu_usage_seconds_total{pod=~"ordermgmtquery"} And also i tried with rate(container_cpu_usage_seconds_total{container!~"POD|"}[50m]) These also kinda didn't help me much.

But i'm getting enter image description here

But i'm looking for a graph which could depicts the CPU utilization in percentage instead of milliunits

0

There are 0 answers