ekg/System/Remote/Gauge.hs
Johan Tibell 0f8352cff3 Break out core metric tracking into a new package
The new package, ekg-core, contains the metrics store, modules for
defining metrics, and functions for sampling the metrics.

The counter naming is also changed to include a namespace part. For
example "myapp.requests".

Finally the JSON format has been changed to be more self-descriptive.
2014-04-20 10:18:13 +02:00

15 lines
418 B
Haskell

-- | This module defines a type for mutable, integer-valued gauges.
-- Gauges are variable values and can be used to track e.g. the
-- current number of concurrent connections. All operations on gauges
-- are thread-safe.
module System.Remote.Gauge
(
Gauge.Gauge
, Gauge.inc
, Gauge.dec
, Gauge.add
, Gauge.subtract
, Gauge.set
) where
import qualified System.Metrics.Gauge as Gauge