You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, when running the EKG server without GC metrics I'm getting the following exception:
monitor.js:337 Uncaught TypeError: Cannot read property 'gc' of undefined
Here's the stacktrace:
monitor.js:337 Uncaught TypeError: Cannot read property 'gc' of undefined
current_bytes_used @ monitor.js:337
onDataReceived @ monitor.js:159
onDataReceived @ monitor.js:118
e.resolveWith @ jquery-1.6.4.min.js:2
w @ jquery-1.6.4.min.js:4
d @ jquery-1.6.4.min.js:4
Here's a minimal reproduction:
{-# LANGUAGE OverloadedStrings #-}
importqualifiedSystem.Remote.MonitoringasEKGimportqualifiedSystem.MetricsasEKGimportControl.ConcurrentimportControl.Monadmain::IO()
main =do
store <-EKG.newStore
-- EKG.registerGcMetrics store -- Uncomment to prevent JS exception
aCounter <-EKG.createCounter "myapp.home_requests" store
_ <-EKG.forkServerWith store "localhost"8000
forever $doputStrLn"Running..."
threadDelay 10000000
The text was updated successfully, but these errors were encountered:
Hi, when running the EKG server without GC metrics I'm getting the following exception:
Here's the stacktrace:
Here's a minimal reproduction:
The text was updated successfully, but these errors were encountered: