We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 161d0b5 commit 32c3026Copy full SHA for 32c3026
ghcide/src/Development/IDE/Types/Monitoring.hs
@@ -5,9 +5,11 @@ module Development.IDE.Types.Monitoring
5
import Data.Int
6
import Data.Text (Text)
7
8
--- | An abstraction for runtime monitoring.
+-- | An abstraction for runtime monitoring inspired by the 'ekg' package
9
data Monitoring = Monitoring {
10
+ -- | Register an integer-valued metric.
11
registerGauge :: Text -> IO Int64 -> IO (),
12
+ -- | Register a non-negative, monotonically increasing, integer-valued metric.
13
registerCounter :: Text -> IO Int64 -> IO (),
14
start :: IO (IO ())
15
}
0 commit comments