Shift Your Prometheus Data in Time: Using the Offset Operator for Instant Vector Queries
Compare current metrics to past values easily with Prometheus' offset operator. Shift instant vectors by a duration literal, see syntax, a worked example, and common pitfalls.