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

Lucas Ribeiro posted a new comment:
I think i found a way:

sumSeries(offset(removeAboveValue(transformNull(movingAverage(summarize(counters.news.*.crawler_count,"1d"),7),0),0),1))

I:

Take all the metris
Summarize by day
Take the moving average for 7 periods (7 days == 1 week)
Transform null values into 0
Remove all values above 0
Offset all values by 1
Sum them

Is it correct? It will output the number of metric that didnt sent
counters in the last 7 days?

-- 
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