metrics-0.2.1.0: High-performance application metric tracking

Safe HaskellNone

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 HasMeter c e | c -> e whereSource

Methods

meter :: Lens' c eSource

Instances

class HasHistogram c e | c -> e whereSource

Methods

histogram :: Lens' c eSource