Safe Haskell | None |
---|---|
Language | Haskell2010 |
- startRidley :: RidleyOptions -> Path -> Port -> IO RidleyCtx
- startRidleyWithStore :: RidleyOptions -> Path -> Port -> Store -> IO RidleyCtx
- prometheusOptions :: Lens' RidleyOptions PrometheusOptions
- ridleyMetrics :: Lens' RidleyOptions (Set RidleyMetric)
- data AdapterOptions :: * = AdapterOptions {
- _labels :: Labels
- _namespace :: Maybe Text
- _samplingFrequency :: ~Int
- data RidleyCtx
- ridleyWaiMetrics :: Lens' RidleyCtx (Maybe WaiMetrics)
- ridleyThreadId :: Lens' RidleyCtx ThreadId
- katipScribes :: Lens' RidleyOptions (Namespace, [(Text, Scribe)])
- dataRetentionPeriod :: Lens' RidleyOptions (Maybe NominalDiffTime)
- samplingFrequency :: Lens' AdapterOptions Int
- namespace :: Lens' AdapterOptions (Maybe Text)
- labels :: Lens' AdapterOptions Labels
- newOptions :: [(Text, Text)] -> [RidleyMetric] -> RidleyOptions
- defaultMetrics :: [RidleyMetric]
Documentation
startRidley :: RidleyOptions -> Path -> Port -> IO RidleyCtx Source #
startRidleyWithStore :: RidleyOptions -> Path -> Port -> Store -> IO RidleyCtx Source #
Handy re-exports
data AdapterOptions :: * #
AdapterOptions | |
|
katipScribes :: Lens' RidleyOptions (Namespace, [(Text, Scribe)]) Source #
newOptions :: [(Text, Text)] -> [RidleyMetric] -> RidleyOptions Source #