Cue / scales

scales - Metrics for Python
Apache License 2.0
920 stars 73 forks source link

Add m1/m5/m15 meter ported from yammer metrics #6

Closed kevinclark closed 12 years ago

kevinclark commented 12 years ago

This patch adds a meter stat using exponentially weighted moving averages to supply 1/5/15 minute load averages. Rates are currently per second. Ported almost verbatim from Yammer metrics.

Starts a ticker thread on import, so has been placed in greplin.scales.meter for isolation.

robbywalker commented 12 years ago

Going to merge but would be worth separately looking in to the potential for inaccuracy.