'until' not working as expected, showing day in the future #2838
Closed
amygillies95
started this conversation in
General
Replies: 1 comment
-
I'm afraid there are too many code changes happening between 0.9.16 and 1.10.0 and it's very hard to say which exact change caused that. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We use graphite to show order count's of our site. This is currently the graph we have using graphite 0.9.16:

and we are in the middle of upgrading to 1.1.10 using python 3, the graph currently looks like this:

For some reason, the newer version of 1.1.10 isn't showing past the 'now' for although we have specified +1day in 'until' parameter, as we want it one day ahead. There is no data stored in the database for the Orders_now past now, but we do have the previous data for up to -365 days ago stored.
The api we are using on both is:
http://{{host}}/render?width=1250&height=625&from=-2days&until=%2B1d&target=alias(lineWidth(movingAverage(transformNull(order.database.store.count,0),11),3),%22Orders_now%22)&target=alias(movingAverage(timeShift(transformNull(order.database.store.count,0)%2C%227d%22,resetEnd=True),11),%22Orders_7days_ago%22)&target=alias(movingAverage(timeShift(transformNull(order.database.store.count,0)%2C%2228d%22,resetEnd=True),11),%22Orders_28days_ago%22)&target=alias(movingAverage(timeShift(transformNull(order.database.store.count,0)%2C%221345h%22,resetEnd=True),11),%22Orders_56days_ago%22)&target=alias(dashed(color(movingAverage(timeShift(transformNull(order.database.store.count,0)%2C%22364d%22,resetEnd=True),11),%22grey%22)),%22Orders_52w_ago%22)&title=Orders%20Per%205%20minutes
Do you know of any discrepancies or updates between 0.9.16 or 1.1.10, I have looked at the source code and can't seem to see any changes with the until parameter? Or have any idea how I can get this to work as like the first screenshot with the newer version?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions