Skip to content

Commit 5078ca1

Browse files
committed
register gc metrics locally
1 parent 1fcf809 commit 5078ca1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ghcide/src/Development/IDE/Main.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,7 @@ defaultMain Arguments{..} = do
321321

322322
server <- fmap join $ for argsMonitoringPort $ \p -> do
323323
store <- Monitoring.newStore
324+
Monitoring.registerGcMetrics store
324325
let startServer = Monitoring.forkServerWith store "localhost" (fromIntegral p)
325326
-- this can fail if the port is busy, throwing an async exception back to us
326327
-- to handle that, wrap the server thread in an async

0 commit comments

Comments
 (0)