distributed-process-ekg: Collect node stats for EKG

[ bsd3, library, network, system ] [ Propose Tags ]

[Skip to Readme]
Change log CHANGELOG.md
Dependencies base (>=4.8 && <5), distributed-process, ekg-core, text, unordered-containers [details]
License BSD-3-Clause
Maintainer Alexander Bondarenko <aenor.realm@gmail.com>
Category System, Network
Source repo head: git clone https://bitbucket.org/dpwiz/distributed-process-ekg
Uploaded by AlexanderBondarenko at Thu Mar 10 18:20:02 UTC 2016
Distributions NixOS:
Downloads 460 total (10 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-03-10 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees

Readme for distributed-process-ekg-

[back to package description]
  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

    defaultStatsdOptions { flushInterval = 15e3 }

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