monad-metrics-extensible-0.1.1.0: An extensible and type-safe wrapper around EKG metrics
Safe HaskellNone
LanguageHaskell2010

System.Metrics.Store

Documentation

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 #