QuestionQ1

PromQL

Which PromQL expression returns the total of every node_memory_MemAvailable_bytes metric value from 10 minutes earlier?

Explanation

In PromQL, offset shifts an instant-vector selector back in time and must immediately follow that selector. Thus, node_memory_MemAvailable_bytes offset 10m retrieves the values from 10 minutes ago, and sum(...) totals them across all matching series.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!