@hackage distributed-process-ekg0.1.1.0

Collect node stats for EKG

  1. Register node stats with EKG.

import System.Metrics                    -- ekg-core
import System.Metrics.DistributedProcess -- distributed-process-ekg
import System.Remote.Monitoring.Statsd   -- ekg-statsd

main = do
  -- ... init node

  store <- newStore
  registerGcMetrics store
  registerLocalNodeMetrics node store

  forkStatsd
    defaultStatsdOptions { flushInterval = 15e3 }
    store

  runProcess node procMain
  1. Discover monitor leaks in your code.

screenshot