graphite-dev team mailing list archive
-
graphite-dev team
-
Mailing list archive
-
Message #04247
[Question #233018]: Weighted average
New question #233018 on Graphite:
https://answers.launchpad.net/graphite/+question/233018
Hi
I am using statsd to report aggregated metrics to graphite:
1/1/2000 metric1 12
2/1/2000 metric1 10
(each value is an average of metric1 in some period)
now when I want to calculate the average over all the period, I need to consider the number of events in each period (e.g a period with 10 events will affect the average more than one with three events). So I plan to report the number of events for this metrics separately and do a weighted average.
I expected that many people will need something like this but could not find too much online on this approach. Do I have a wrong requirement in some statistical aspect? Are there better ways to achieve it?
Thanks,
Yaron
--
You received this question notification because you are a member of
graphite-dev, which is an answer contact for Graphite.