boundary / folsom

Expose Erlang Events and Metrics
Apache License 2.0
585 stars 166 forks source link

Add histogram of type 'slide_sorted' #63

Closed lastres closed 11 years ago

lastres commented 11 years ago

It is a simple sliding window histogram of fixed size. The elements are always ordered so that they can be use with Pearson/Spearman correlations.

I used os:timestamp() for performance reasons, but might be better to use time erlang:now() to guarantee that values are never overwritten.

I don't know whether you find this useful or not, but just in case...