arbor-monad-metric-0.0.2

Safe HaskellNone
LanguageHaskell2010

Arbor.Monad.Metric.Type

Documentation

newtype Gauge Source #

Constructors

Gauge 

Fields

type MetricMap k v = Map k (TVar v) Source #

data Metrics Source #

Instances
Generic Metrics Source # 
Instance details

Defined in Arbor.Monad.Metric.Type

Associated Types

type Rep Metrics :: Type -> Type #

Methods

from :: Metrics -> Rep Metrics x #

to :: Rep Metrics x -> Metrics #

type Rep Metrics Source # 
Instance details

Defined in Arbor.Monad.Metric.Type

type Rep Metrics = D1 (MetaData "Metrics" "Arbor.Monad.Metric.Type" "arbor-monad-metric-0.0.2-LVYWhR6amAN1tkfM6w5796" False) (C1 (MetaCons "Metrics" PrefixI True) (S1 (MetaSel (Just "counters") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (TVar (MetricMap Counter (MetricState Counter)))) :*: S1 (MetaSel (Just "gauges") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (TVar (MetricMap Gauge (MetricState Gauge))))))

class (Monad m, MonadIO m) => MonadMetrics m where Source #

Instances
MonadMetrics m => MonadMetrics (MaybeT m) Source # 
Instance details

Defined in Arbor.Monad.Metric.Type

MonadMetrics m => MonadMetrics (ResourceT m) Source # 
Instance details

Defined in Arbor.Monad.Metric.Type

MonadMetrics m => MonadMetrics (IdentityT m) Source # 
Instance details

Defined in Arbor.Monad.Metric.Type

MonadMetrics m => MonadMetrics (ExceptT e m) Source # 
Instance details

Defined in Arbor.Monad.Metric.Type

MonadMetrics m => MonadMetrics (StateT s m) Source # 
Instance details

Defined in Arbor.Monad.Metric.Type

MonadMetrics m => MonadMetrics (ReaderT e m) Source # 
Instance details

Defined in Arbor.Monad.Metric.Type