Relative graphs, starting Yesterday, or last week

Asked by Stuart Grimshaw on 2012-03-14

Is it possible to create a graph in Graphite that shows me the past 24 hours, but starting this time yesterday?

I'd like to be able to create a chart that shows me the current data, with a graph that shows last weeks information for the same period.

Question information

Language:
English Edit question
Status:
Answered
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
2012-03-14
Last reply:
2012-03-14
Nicholas Leskiw (nleskiw) said : #1

Check out the timeShift() function.

http://graphite.readthedocs.org

-Nick

On Mar 14, 2012, at 5:01 AM, Stuart Grimshaw <email address hidden> wrote:

> New question #190637 on Graphite:
> https://answers.launchpad.net/graphite/+question/190637
>
> Is it possible to create a graph in Graphite that shows me the past 24 hours, but starting this time yesterday?
>
> I'd like to be able to create a chart that shows me the current data, with a graph that shows last weeks information for the same period.
>
> --
> You received this question notification because you are a member of
> graphite-dev, which is an answer contact for Graphite.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~graphite-dev
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~graphite-dev
> More help : https://help.launchpad.net/ListHelp

Michael Leinartas (mleinartas) said : #2

You can also use relative times in the 'until' parameter: http://readthedocs.org/docs/graphite/en/latest/url-api.html#from-until
Though that's not (yet) exposed in the composer or dashboard UI

Can you help with this problem?

Provide an answer of your own, or ask Stuart Grimshaw for more information if necessary.

To post a message you must log in.