# Can't show CPU usage in Grafana

**URL:** <https://community.grafana.com/t/cant-show-cpu-usage-in-grafana/38170>\
**Category:** Grafana\
**Created:** [October 19, 2020, 8:16pm UTC](https://community.grafana.com/t/cant-show-cpu-usage-in-grafana/38170 "2020-10-19T20:16:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahominefan](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/ahominefan/32/13319_2.png) [@ahominefan](https://community.grafana.com/u/ahominefan)\
**Post date:** [October 19, 2020, 8:16pm UTC](https://community.grafana.com/t/cant-show-cpu-usage-in-grafana/38170/1 "2020-10-19T20:16:25Z")

</div>

Hello!  
I’m new to Grafana, so if you could guide me a bit I’d very appreciate it! Here is my issue:

I configured Prometheus for my web service, then found a dashboard on [Grafana.com](http://Grafana.com) ([Asp net core - Services | Grafana Labs](https://grafana.com/grafana/dashboards/12526)) and most of Prometheus metrics are shown correctly, but for CPU usage it says “No data”.  
The query is:

> sum (rate (container\_cpu\_usage\_seconds\_total{image!=“”, container\_name=~“$app”, pod=~“$pods”}[1m])) by (pod\_name)

I thought it’s because at /metrics I don’t have **container\_cpu\_usage\_seconds\_total** metric, instead I have **process\_cpu\_seconds\_total** , but modifying the query like this:

> sum (rate (process\_cpu\_seconds\_total{app=~“$app”, pod=~“$pods”, controller=~“$controllers”}[1m])) by (pod\_name)  
> doesn’t work as well.

If you have any ideas or at least have seen any examples of how to configure Grafana dashboards for Prometheus - please let me know!

Thank you and have a good day!
