prometheus-0.4.1: Prometheus Haskell Client
System.Metrics.Prometheus.Concurrent.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 #
runRegistryT :: MonadIO m => RegistryT m a -> 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 #