← Back to team overview

graphite-dev team mailing list archive

Re: [Question #665395]: Graphite Percentage Calculation with groupby/wildcards for alerting Target Function

 

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

sourabh sinha gave more information on the question:
After doing many search I came up with the following formula, which
seems to be close but still the numbers does not look right, will
appreciate if you can comment what's is missing here:

asPercent(
	groupByNode(
		movingAverage(
			scaleToSeconds(stats.counters.renderCompleted.display.US.*.*.count, 1), 
		'2hour'), 
	5, 'averageSeries'), 		
	groupByNode(
		movingAverage(
			scaleToSeconds(
				timeShift(stats.counters.renderCompleted.display.US.*.*.count, '1d'), 
			1), 
		'2hour'), 
	5, 'averageSeries')
)

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