Overlaying time periods

Asked by Carolyn Bray

We are interested in having Graphite overlay the same metric for 2 time periods. For instance, show today's data in comparison to the data from 7 days ago to see if the graphs are the same. Or today to one month ago. Changing the time period seems to change the time scale for all of the graphs on display. I was hoping I could pull up one and then drag and drop on top of one from the previous time period.

Question information

Language:
English Edit question
Status:
Solved
For:
Graphite Edit question
Assignee:
No assignee Edit question
Solved by:
Nicholas Leskiw
Solved:
Last query:
Last reply:
Revision history for this message
Best Nicholas Leskiw (nleskiw) said :
#1

Take a look at the timeShift function. Just graph the metric once with timeShift and once without, and they'll be overlaid on the same graph.

Details on all the functions are available here:

http://graphite.readthedocs.org/en/0.9.10/functions.html#module-graphite.render.functions

-Nick

On Jan 2, 2013, at 11:05 AM, Carolyn Bray <email address hidden> wrote:

> New question #218134 on Graphite:
> https://answers.launchpad.net/graphite/+question/218134
>
> We are interested in having Graphite overlay the same metric for 2 time periods. For instance, show today's data in comparison to the data from 7 days ago to see if the graphs are the same. Or today to one month ago. Changing the time period seems to change the time scale for all of the graphs on display. I was hoping I could pull up one and then drag and drop on top of one from the previous time 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

Revision history for this message
Carolyn Bray (cbray) said :
#2

Thanks Nicholas Leskiw, that solved my question.