← Back to team overview

graphite-dev team mailing list archive

Re: [Question #289454]: Calculate relative difference over time period

 

Question #289454 on Graphite changed:
https://answers.launchpad.net/graphite/+question/289454

    Status: Open => Solved

Stein Bjørndal confirmed that the question is solved:
I've managed to solve this with some help over at stackexchange. The
slightly convoluted query is in the form of:

asPercent(absolute(diffSeries(my_metric, timeShift(my_metric, '30d'))),
timeShift(my_metric, '30d'))

The only downside to this approach is the fixed time period. I'd very
much like to have a dynamic variable that could be adjusted by a user
viewing the dashboard, but this will do for now.

-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.