Module
System.Metrics.Timer
- Package
- purescript-metrics
- Repository
- abhin4v/purescript-metrics
#Timer Source
newtype TimerA timer is a histogram of the duration of a type of event and a meter of the rate of its occurrence.
#Summary Source
newtype SummarySummary 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) NumberReturns the fifteen minute moving average rate of the events recorded by the timer.
#fiveMinuteRate Source
fiveMinuteRate :: forall eff. Timer -> Eff (ref :: REF | eff) NumberReturns the five minute moving average rate of the events recorded by the timer.
#oneMinuteRate Source
oneMinuteRate :: forall eff. Timer -> Eff (ref :: REF | eff) NumberReturns the one minute moving average rate of the events recorded by the timer.