examples

avg(container_memory_rss{container_name="hello"}) by (image)
sum(container_cpu_usage_seconds_total{container_name="hello"}) by (image)
avg(rate(container_cpu_usage_seconds_total{container_name="hello"}[10m])) by (image)

node cpu usage

100 * (1 - avg by(instance)(irate(node_cpu{mode=‘idle’}[5m])))

container memory usage

sum(container_memory_usage_bytes{container_name!=“”}) by (container_name)