The distributed-process-ekg package

[Tags:bsd3, library]

[Skip to Readme]

Properties

Versions 0.1.0.0, 0.1.1.0
Change log CHANGELOG.md
Dependencies base (>=4.8 && <5), distributed-process, ekg-core, text, unordered-containers [details]
License BSD3
Author
Maintainer Alexander Bondarenko <aenor.realm@gmail.com>
Category System, Network
Source repository head: git clone https://bitbucket.org/dpwiz/distributed-process-ekg
Uploaded Thu Mar 10 18:20:02 UTC 2016 by AlexanderBondarenko
Distributions NixOS:0.1.1.0
Downloads 120 total (8 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2016-03-10 [all 1 reports]

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for distributed-process-ekg

Readme for distributed-process-ekg-0.1.1.0

  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