Copyright | (c) Matt Parsons 2017 Taylor Fausak 2016 |
---|---|
License | MIT |
Maintainer | parsonsmatt@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
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.
- data Metrics = Metrics {
- _metricsCounters :: IORef (Map Text Counter)
- _metricsGauges :: IORef (Map Text Gauge)
- _metricsDistributions :: IORef (Map Text Distribution)
- _metricsLabels :: IORef (Map Text Label)
- _metricsStore :: Store
- metricsCounters :: Lens' Metrics (IORef (Map Text Counter))
- metricsGauges :: Lens' Metrics (IORef (Map Text Gauge))
- metricsDistributions :: Lens' Metrics (IORef (Map Text Distribution))
- metricsLabels :: Lens' Metrics (IORef (Map Text Label))
- metricsStore :: Lens' Metrics Store
- data Resolution
Documentation
A container for metrics used by the MonadMetrics
class.
- Since v0.1.0.0
Metrics | |
|
metricsDistributions :: Lens' Metrics (IORef (Map Text Distribution)) Source #
A lens into the Distribution
s provided by the Metrics
.
- Since v0.1.0.0
data Resolution Source #
A type representing the resolution of time to use for the timed
metric.
- Since v0.1.0.0