packages feed

metrics 0.4.1.0 → 0.4.1.1

raw patch · 2 files changed

+2/−1 lines, 2 files

Files

metrics.cabal view
@@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/  name:                metrics-version:             0.4.1.0+version:             0.4.1.1 synopsis:            High-performance application metric tracking description:   A port of Coda Hale's excellent metrics library for the JVM
src/Data/Metrics/Reservoir/Uniform.hs view
@@ -5,6 +5,7 @@ {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE FlexibleContexts #-} {-# LANGUAGE TypeFamilies #-}+{-# LANGUAGE UndecidableInstances #-} -- | A histogram with a uniform reservoir produces quantiles which are valid for the entirely of the histogram’s lifetime. -- It will return a median value, for example, which is the median of all the values the histogram has ever been updated with. -- It does this by using an algorithm called Vitter’s R), which randomly selects values for the reservoir with linearly-decreasing probability.