Module

System.Metrics.Gauge

Package
purescript-metrics
Repository
abhin4v/purescript-metrics

#Gauge Source

newtype Gauge

An integer valued metric.

#new Source

new :: (forall eff. Aff eff Int) -> Gauge

Creates a new gauge given the underlying measurement function.

#read Source

read :: forall eff. Gauge -> Aff eff Int

Returns the current value of the gauge.