Memory dashboard uses `container_memory_usage_bytes` and shows pods near limit, yet no OOMKills happen
IntermediateTroubleshootingPromQL and recording rules
Answer
Likely causes → usage_bytes includes page cache that the kernel can reclaim. OOM decisions are based on working set.
Diagnose → Compare container_memory_working_set_bytes and container_memory_rss for the same pod.
Fix → Use container_memory_working_set_bytes for limit-based alerts and dashboards.
Prevent → Standardise memory panels across teams.
More on PromQL and recording rules
A PromQL query in the UI returns `Empty query result` for a metric you can see on `/metrics`Beginner`rate(http_requests_total[1m])` returns nothing but `http_requests_total` has dataBeginner`rate()` applied to a gauge shows huge spikesBeginnerBinary operation fails: `many-to-many matching not allowed: matching labels must be unique on one side`Advanced`found duplicate series for the match group {pod="api-1"} on the right hand-side of the operation`IntermediateError ratio query returns no data during quiet hoursIntermediate