← Back to team overview

graphite-dev team mailing list archive

Re: [Question #264202]: How to compare cumulative counter vs the historical best/max, average and worst /min?

 

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

jerome posted a new comment:
Turner (in the grafana@xxxxxxxxx board) responded to my question as
follows:

you want the sum for each hour from your best day, not the sum of all your best hours. i think you just need to reorder your functions:
alias(maxSeries(integral(timeStack(app.items_sold, '1d', 0, 90))),'Max')
alias(averageSeries(integral(timeStack(app.items_sold, '1d', 0,90))), 'Avg')
alias(minSeries(integral(timeStack(app.items_sold, '1d',0, 90))), 'Min')

-- 
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.