Adjust the from to take the preview window of the series when getting the argument. This bug was previously producing empty results in some scenarios.
Correctly calculate the previewSeconds when the window size is an integer, and refetch the data as necessary
Correctly calculate the constant used for the window, which is calculated differently depending on whether the window is an integer or a string interval. See graphite web
Default to zero when the preview average (of the window) is NaN. See Graphite Web.
Multiple fixes for
exponentialMovingAverage
:from
to take the preview window of the series when getting the argument. This bug was previously producing empty results in some scenarios.previewSeconds
when the window size is an integer, and refetch the data as necessaryconstant
used for the window, which is calculated differently depending on whether the window is an integer or a string interval. See graphite web