| Copyright | (c) Matt Parsons 2017 Taylor Fausak 2016 |
|---|---|
| License | MIT |
| Maintainer | parsonsmatt@gmail.com |
| Stability | experimental |
| Portability | POSIX |
| Safe Haskell | None |
| Language | Haskell2010 |
Control.Monad.Metrics.Internal
Description
This is an internal module for
- 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
- data Resolution
Documentation
A container for metrics used by the MonadMetrics class.
Constructors
| Metrics | |
Fields
| |
data Resolution Source #
A type representing the resolution of time to use for the timed
metric.
Constructors
| Nanoseconds | |
| Microseconds | |
| Milliseconds | |
| Seconds | |
| Minutes | |
| Hours | |
| Days |
Instances