File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed
ghcide/src/Development/IDE Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ index-state: 2022-03-08T10:53:01Z
47
47
constraints :
48
48
hyphenation +embed
49
49
50
+ -- This is benign and won't affect our ability to release to Hackage,
51
+ -- because we only depend on `ekg-wai` when a non-default flag
52
+ -- is turned on.
50
53
source-repository-package
51
54
type :git
52
55
location : https://github.com/tvh/ekg-wai/
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ monitoring :: Logger -> Int -> IO Monitoring
13
13
monitoring logger port = do
14
14
store <- Monitoring. newStore
15
15
Monitoring. registerGcMetrics store
16
- let registerCounter name read = Monitoring. registerGauge name read store
16
+ let registerCounter name read = Monitoring. registerCounter name read store
17
17
registerGauge name read = Monitoring. registerGauge name read store
18
18
start = do
19
19
server <- do
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ data Monitoring = Monitoring {
11
11
registerGauge :: Text -> IO Int64 -> IO () ,
12
12
-- | Register a non-negative, monotonically increasing, integer-valued metric.
13
13
registerCounter :: Text -> IO Int64 -> IO () ,
14
- start :: IO (IO () )
14
+ start :: IO (IO () ) -- ^ Start the monitoring system, returning an action which will stop the system.
15
15
}
16
16
17
17
instance Semigroup Monitoring where
You can’t perform that action at this time.
0 commit comments