prometheus-0.4.1: Prometheus Haskell Client
System.Metrics.Prometheus.RegistryT
newtype RegistryT m a Source #
Constructors
Fields
Instances
Methods
lift :: Monad m => m a -> RegistryT m a #
(>>=) :: RegistryT m a -> (a -> RegistryT m b) -> RegistryT m b #
(>>) :: RegistryT m a -> RegistryT m b -> RegistryT m b #
return :: a -> RegistryT m a #
fail :: String -> RegistryT m a #
fmap :: (a -> b) -> RegistryT m a -> RegistryT m b #
(<$) :: a -> RegistryT m b -> RegistryT m a #
pure :: a -> RegistryT m a #
(<*>) :: RegistryT m (a -> b) -> RegistryT m a -> RegistryT m b #
(*>) :: RegistryT m a -> RegistryT m b -> RegistryT m b #
(<*) :: RegistryT m a -> RegistryT m b -> RegistryT m a #
liftIO :: IO a -> RegistryT m a #
evalRegistryT :: Monad m => RegistryT m a -> m a Source #
execRegistryT :: Monad m => RegistryT m a -> m Registry Source #
runRegistryT :: Monad m => RegistryT m a -> m (a, Registry) Source #
withRegistry :: MonadIO m => (Registry -> m (a, Registry)) -> RegistryT m a Source #
registerCounter :: MonadIO m => Name -> Labels -> RegistryT m Counter Source #
registerGauge :: MonadIO m => Name -> Labels -> RegistryT m Gauge Source #
registerHistogram :: MonadIO m => Name -> Labels -> [UpperBound] -> RegistryT m Histogram Source #
sample :: Monad m => RegistryT m (IO RegistrySample) Source #