Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

promql: Limit extrapolation of delta/rate/increase #1295

Merged
merged 1 commit into from
Jan 8, 2016
Merged

Commits on Jan 8, 2016

  1. promql: Limit extrapolation of delta/rate/increase

    The new implementation detects the start and end of a series by
    looking at the average sample interval within the range. If the first
    (last) sample in the range is more than 1.1*interval distant from the
    beginning (end) of the range, it is considered the first (last) sample
    of the series as a whole, and extrapolation is limited to half the
    interval (rather than all the way to the beginning (end) of the
    range). In addition, if the extrapolated starting point of a counter
    (where it is zero) is within the range, it is used as the starting
    point of the series.
    
    Fixes #581
    brian-brazil authored and beorn7 committed Jan 8, 2016
    Configuration menu
    Copy the full SHA
    c77c3a8 View commit details
    Browse the repository at this point in the history