-
Notifications
You must be signed in to change notification settings - Fork 107
summarize function returning incorrect results #903
Comments
native |
It seems like the issue may be in the calculation of https://github.com/grafana/metrictank/blob/master/expr/func_summarize.go#L90 |
Also, should it be |
Should summarize be resetting the consolidation function? Seems like the python version doesn't do this. |
yes, see https://github.com/grafana/metrictank/blob/master/expr/NOTES#L73 |
FWIW interval is 10:
|
If i send a request for 3months of data, summarized into 30day averages
i get back
As well as there being only 1 datapoint returned instead of the expected 3, the timestamp of the returned datapoint is for 12days before the requested From.
If a add a keepLastValue() function to the query, forcing the query to be handed off to Graphite, i get the correct results.
This looks to be a fairly recent bug, as a number of queries that were working last month are not working today.
The text was updated successfully, but these errors were encountered: