Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data MetricsStore Source #
newMetricsStore :: MonadIO m => Server -> m (MetricsStore, m ()) Source #
withMetricsStore :: (MonadIO m, MonadMask m) => Server -> (MetricsStore -> m a) -> m a Source #
getMetricFromStore :: (TrackerLike tracker, KnownSymbol name, Typeable metric, Ord (metric tracker name)) => MetricsStore -> metric tracker name -> IO tracker Source #