monad-metrics-0.2.0.0: 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 (HashMap Text Counter)) Source #

A lens into the Counters provided by the Metrics.

  • Since v0.1.0.0

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

A lens into the Gauges provided by the Metrics.

  • Since v0.1.0.0

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

A lens into the Distributions provided by the Metrics.

  • Since v0.1.0.0

metricsLabels :: Lens' Metrics (IORef (HashMap 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