monad-metrics-0.1.0.2: A convenient wrapper around EKG metrics

Copyright(c) Matt Parsons 2017
Taylor Fausak 2016
LicenseMIT
Maintainerparsonsmatt@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Control.Monad.Metrics.Internal

Description

This is an internal module. Depend upon it at your own risk -- breaking changes in here will not be reflected in the major API version.

Synopsis

Documentation

data Metrics Source #

A container for metrics used by the MonadMetrics class.

  • Since v0.1.0.0

metricsCounters :: Lens' Metrics (IORef (Map Text Counter)) Source #

A lens into the Counters provided by the Metrics.

  • Since v0.1.0.0

metricsGauges :: Lens' Metrics (IORef (Map Text Gauge)) Source #

A lens into the Gauges provided by the Metrics.

  • Since v0.1.0.0

metricsDistributions :: Lens' Metrics (IORef (Map Text Distribution)) Source #

A lens into the Distributions provided by the Metrics.

  • Since v0.1.0.0

metricsLabels :: Lens' Metrics (IORef (Map Text Label)) Source #

A lens into the Labels provided by the Metrics.

  • Since v0.1.0.0

metricsStore :: Lens' Metrics Store Source #

A lens into the Store provided by the Metrics.

  • Since v0.1.0.0