Module
System.Metrics.Timer
- Package
- purescript-metrics
- Repository
- abhin4v/purescript-metrics
#Timer Source
newtype Timer
A timer is a histogram of the duration of a type of event and a meter of the rate of its occurrence.
#Summary Source
newtype Summary
Summary of the measurements in the meter. Contains:
- duration: the summary of the underlying event duration histogram.
- rate: the summary of the underlying event rate meter.
Constructors
Instances
#fifteenMinuteRate Source
fifteenMinuteRate :: forall eff. Timer -> Eff (ref :: REF | eff) Number
Returns the fifteen minute moving average rate of the events recorded by the timer.
#fiveMinuteRate Source
fiveMinuteRate :: forall eff. Timer -> Eff (ref :: REF | eff) Number
Returns the five minute moving average rate of the events recorded by the timer.
#oneMinuteRate Source
oneMinuteRate :: forall eff. Timer -> Eff (ref :: REF | eff) Number
Returns the one minute moving average rate of the events recorded by the timer.