Grafana | is there a way to make a graph using Prometheus to show cpu_usage for each pod per node in a cluster?

281 views Asked by At

I'm new to Promql and I'm trying to make a graph that shows cpu_usage by each pod in a node, I've tried this one:

sum (rate (container_cpu_usage_seconds_total{image!=""}[1m])) by (pod_name, node)

But it shows the usage by all the pods for all the nods

0

There are 0 answers