distributed-process-ekg: Collect node stats for EKG

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


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS],
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 2016-03-10T18:20:02Z
Distributions NixOS:
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1518 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-03-10 [all 1 reports]

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.