metrics-0.3.0.2: High-performance application metric tracking

Safe HaskellNone
LanguageHaskell2010

Data.Metrics.Timer.Internal

Description

A timer is essentially just a data type that combines a Meter and a Histogram to track both the rate at which events are triggered as well as timing statistics about the calls.

This module exports the pure internals, relying on the stateful version to supply the pure timer with measurements.

Documentation

class HasHistogram s a | s -> a where Source

Methods

histogram :: Lens' s a Source

class HasMeter s a | s -> a where Source

Methods

meter :: Lens' s a Source

Instances