You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix query offset issue on indvidual recording rules
This is a follow-up to cortexproject#6085, which added support for setting the
`queryOffset` field on individual recording rules, as well as a global
per-tenant ruler query offset that should be used when no individual
rule offset is set.
It turns out that compatability code to convert from a protobuf
RuleGroup to a prometheus RuleGroup that's consumed by the ruler was
coercing null value query offsets to explicit 0s, which meant that no
rules would ever fallback to the global-offset.
This PR fixes that issue, and cleans up handling of the query offset in
a few other ruler files.
Signed-off-by: Kevin Ingelman <[email protected]>
0 commit comments