Skip to content

Commit 32c3026

Browse files
committed
Add doc comments
1 parent 161d0b5 commit 32c3026

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ghcide/src/Development/IDE/Types/Monitoring.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@ module Development.IDE.Types.Monitoring
55
import Data.Int
66
import Data.Text (Text)
77

8-
-- | An abstraction for runtime monitoring.
8+
-- | An abstraction for runtime monitoring inspired by the 'ekg' package
99
data Monitoring = Monitoring {
10+
-- | Register an integer-valued metric.
1011
registerGauge :: Text -> IO Int64 -> IO (),
12+
-- | Register a non-negative, monotonically increasing, integer-valued metric.
1113
registerCounter :: Text -> IO Int64 -> IO (),
1214
start :: IO (IO ())
1315
}

0 commit comments

Comments
 (0)