Metric for CPU Usage like in OpenLens?

Hello there :person_raising_hand:

I’m quite new to Prometheus and I don’t know how to reproduce the very first metric Usage from OpenLens through Prometheus:

For all others there seems to be a metric but not for Usage:

  • kube_pod_container_resource_requests_cpu_cores
  • kube_pod_container_resource_limits_cpu_cores
  • kube_node_status_allocatable_cpu_cores
  • kube_node_status_capacity_cpu_cores

I’m using this: GitHub - prometheus/node_exporter: Exporter for machine metrics

Found my answer in the code :blush::+1: