ghcide-2.4.0.0: The core of an IDE
Safe HaskellSafe-Inferred
LanguageHaskell2010

Development.IDE.Types.Monitoring

Synopsis

Documentation

data Monitoring #

An abstraction for runtime monitoring inspired by the ekg package

Constructors

Monitoring 

Fields

  • registerGauge :: Text -> IO Int64 -> IO ()

    Register an integer-valued metric.

  • registerCounter :: Text -> IO Int64 -> IO ()

    Register a non-negative, monotonically increasing, integer-valued metric.

  • start :: IO (IO ())

    Start the monitoring system, returning an action which will stop the system.