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
When I run System.Remote.Monitoring.forkServerWith function the first time - it works perfectly. But if I killed the server explicitly (using serverThreadId) and then try to start it again with the sameStore, the server cannot be launched because of an exception:
The name ""ekg.server_timestamp_ms"" is already taken by a metric.
CallStack (from HasCallStack):
error, called at ./System/Metrics.hs:214:5 in ekg-core-0.1.1.7-6wBeq6DHUUjI67QEVzudFR:System.Metrics
This is the first line in forkServerWith function:
Metrics.registerCounter "ekg.server_timestamp_ms" getTimeMs store
Unfortunately, there is no way to "unregister" this Counter before restarting of the server. So, what can I do?
The text was updated successfully, but these errors were encountered:
When I run
System.Remote.Monitoring.forkServerWith
function the first time - it works perfectly. But if I killed the server explicitly (usingserverThreadId
) and then try to start it again with the sameStore
, the server cannot be launched because of an exception:This is the first line in
forkServerWith
function:Unfortunately, there is no way to "unregister" this
Counter
before restarting of the server. So, what can I do?The text was updated successfully, but these errors were encountered: