statistics - Weighted average in graphite/statsd -


a follow this question give context here.

i using statsd report aggregated metrics graphite:

1/1/2000    metric1    12 2/1/2000    metric1    10 

(each value average of metric1 in period)

now when want calculate average on period, need consider number of events in each period (e.g period 10 events affect average more 1 3 events). plan report number of events metrics separately , weighted average.

i expected many people need not find online on approach. have wrong requirement in statistical aspect? there better ways achieve it?

on system, collect 2 metrics, average , number of calls (count). both pieces of data useful independently. use average diagnose performance issues , count find trends in usage. these 2 may give need. so, if can, i'd suggest start collecting 'count' data too.


Comments

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -