New question #238058 on Graphite:
https://answers.launchpad.net/graphite/+question/238058

Hi,

I'm trying to render the following:

target=aws.xaos.xao-db-eu.databaseconnections&target=movingAverage(aws.xaos.xao-db-eu.databaseconnections,'5min')&target=movingAverage(aws.xaos.xao-db-eu.databaseconnections,'15min')

This results in a graph where the 5 and 15 minute values seem to be shifted 
forward: https://db.tt/JZCxVSwS

I tried applying the timeShift function to shift the values back in time:

target=aws.xaos.xao-db-eu.databaseconnections&target=timeShift(movingAverage(aws.xaos.xao-db-eu.databaseconnections,'5min'),'150s')&target=timeShift(movingAverage(aws.xaos.xao-db-eu.databaseconnections,'15min'),'450s')

but this only seems to make the problem worse: https://db.tt/TLznXlTp

(furthermore if I try adding a plus sign, the renderer throws and error)

My question: is this the right behaviour for these functions (especially 
movingAverage). If not, can anyone point me in the right direction in 
correcting the movingAverage function and have the three values aligned?
 
Thanks,
Jeremy

-- 
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     : graphite-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~graphite-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to