This article introduces the `@` modifier in Prometheus v2.25.0, which allows users to fix the evaluation time for vector, range vector, and subqueries using a Unix timestamp. This solves a problem where `topk()` and other instant-query functions would return more than the requested `k` results when used in range queries, ensuring consistent and accurate results over time. The `@` modifier is disabled by default and requires a feature flag to enable.
Read the Original Article
This article originally appeared on
Prometheus Blog.