Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data StatCounter Source #
data StatTiming Source #
data StatConfig Source #
StatConfig | |
|
Instances
Read StatConfig Source # | |
Defined in System.Metrics.StatsD.Internal readsPrec :: Int -> ReadS StatConfig # readList :: ReadS [StatConfig] # readPrec :: ReadPrec StatConfig # readListPrec :: ReadPrec [StatConfig] # | |
Show StatConfig Source # | |
Defined in System.Metrics.StatsD.Internal showsPrec :: Int -> StatConfig -> ShowS # show :: StatConfig -> String # showList :: [StatConfig] -> ShowS # | |
Eq StatConfig Source # | |
Defined in System.Metrics.StatsD.Internal (==) :: StatConfig -> StatConfig -> Bool # (/=) :: StatConfig -> StatConfig -> Bool # | |
Ord StatConfig Source # | |
Defined in System.Metrics.StatsD.Internal compare :: StatConfig -> StatConfig -> Ordering # (<) :: StatConfig -> StatConfig -> Bool # (<=) :: StatConfig -> StatConfig -> Bool # (>) :: StatConfig -> StatConfig -> Bool # (>=) :: StatConfig -> StatConfig -> Bool # max :: StatConfig -> StatConfig -> StatConfig # min :: StatConfig -> StatConfig -> StatConfig # |
newStatCounter :: MonadIO m => Stats -> Key -> Int -> m StatCounter Source #
newStatTiming :: MonadIO m => Stats -> Key -> Int -> m StatTiming Source #
incrementCounter :: MonadIO m => StatCounter -> Int -> m () Source #
withStats :: MonadUnliftIO m => StatConfig -> (Stats -> m a) -> m a Source #