graphite-project/graphite-web — pull request #12 by mgb (2012-06-18 18:01:06+00:00)
Title: Allow timeShift() to show values in the future

Often times, I would like to show trending lines on a graph to help predict where a current metric is heading. But timeShift() will force end a metric early not letting me see data that is occurring in the future. Sample metric that is handy but unable to be display (assuming "now" is like Noon on 2012-06-18):

?target=integral(timeShift(site.visitors,"1w",False))
&target=integral(site.visitors)
&from=00%3A00_20120618
&until=23%3A59_20120618

This will allow the timeShifted record of one week ago to display the full days worth of values on a graph, from midnight to midnight. Before, this would only show until the current time.