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
PR #657 fixes counter-reset detection/correction for rate() and increase(), but the accumulator currently evaluates only the reset-corrected delta over the observed samples. It does not reproduce Prometheus boundary extrapolation.
Prometheus documents that increase() is extrapolated to cover the full range-vector window, and rate() uses the same extrapolated increase divided by the requested range duration.
Context
PR #657 fixes counter-reset detection/correction for
rate()andincrease(), but the accumulator currently evaluates only the reset-corrected delta over the observed samples. It does not reproduce Prometheus boundary extrapolation.Prometheus documents that
increase()is extrapolated to cover the full range-vector window, andrate()uses the same extrapolated increase divided by the requested range duration.This is a follow-up to #657.
Requirements
extrapolatedRatesemantics for counterrate()andincrease().IncreaseAccumulatorand merge it correctly across panes.TDD coverage
Add tests before implementation for:
rate()versusincrease()scaling.Do not modify the legacy
asap-summary-ingesttemplates as part of this issue.