--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/c3d2d16c-1317-4c9a-ae8a-946faf7f83ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
sum ((container_memory_rss{image!="",name=~"^k8s_.*",kubernetes_io_hostname=~"^$Node$"}) + (container_memory_cache{image!="",name=~"^k8s_.*",kubernetes_io_hostname=~"^$Node$"}) - container_memory_usage_bytes{image!="",name=~"^k8s_.*",kubernetes_io_hostname=~"^$Node$"}) by (pod_name)container_memory_rss
container_memory_cache
container_memory_cache
container_memory_swapcontainer_memory_rss 13.8 MiB
container_memory_cache 20 KiB
container_memory_swap 4.38MiBcontainer_memory_usage_bytes 19.64MiB
container_memory_rss + container_memory_cache + container_memory_swap = 18.2
which is.. let's say pretty close to the 19.64 of "usage_bytes" that could be theoretically caused by the setup which I don't know what it looks like.