0f8352cff3
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.
15 lines
418 B
Haskell
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
|