distributed-process-ekg

Collect node stats for EKG

Latest on Hackage:0.1.1.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed
Maintained by Alexander Bondarenko
  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

Changes

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

0.1.1.0 - 2016-03-10

Changed

  • Wrap metric sampling in a looped process to prevent trace spam.

0.1.0.0 - 2016-02-27

Added

  • registerLocalNodeMetrics

comments powered byDisqus