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
{{ message }}
Repository navigation
Preserve distinct PromQL semantics for rate and irate in pre-ASAP IR #305
The pre-ASAP IR should preserve the distinction between rate and irate, or explicitly document and justify a canonical representation that retains enough information for downstream execution to implement both semantics.
Steps to reproduce
Run the PromQL corpus pre-ASAP dump command.
Compare the per-query IR dumps for rate(cumulative[5m]) and irate(cumulative[5m]).
Observe that both have Aggregate.measures[0].kind = "rate" and otherwise identical IR.
Additional context
PromQL defines different sampling behavior for rate and irate; collapsing both to AggIntent::Rate may make them execute identically. The corpus records are testdata queries 1757 and 1758.
Activity