network-metrics: Send metrics to Ganglia, Graphite, and statsd.

[ library, metrics, monitoring ] [ Propose Tags ]

Send metrics directly from Haskell various monitoring and metrics services.

Supported services are Ganglia, Graphite, and statsd.

These modules are intended to be imported qualified, to avoid name clashes with other modules, e.g.

import qualified Network.Metrics.Ganglia  as A
import qualified Network.Metrics.Graphite as B
import qualified Network.Metrics.Statsd   as C

[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.1.7, 0.1.9, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.8, 0.2.9, 0.3.0, 0.3.1, 0.3.2, 0.4
Dependencies base (>=4.3 && <5), binary, bytestring, cmdargs, data-default, network, random, time [details]
License LicenseRef-OtherLicense
Author Brendan Hay <brendan@soundcloud.com>
Maintainer Brendan Hay <brendan@soundcloud.com>
Category Metrics, Monitoring
Home page http://github.com/brendanhay/network-metrics
Bug tracker http://github.com/brendanhay/network-metrics/issues
Source repo head: git clone git://github.com/brendanhay/network-metrics.git
Uploaded by BrendanHay at 2012-07-18T13:55:49Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Executables gmetric-haskell
Downloads 14973 total (51 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for network-metrics-0.1.6

[back to package description]

Network.Metrics

Table of Contents

Usage

Modules are intended to be import qualified if they need to be used in conjunction with each other.

Supported Sinks:

  • Network.Metrics.Ganglia
  • Network.Metrics.Graphite
  • Network.Metrics.Statsd
{-# LANGUAGE OverloadedStrings #-}

import Network.Metrics.Graphite

main = do
    sink <- open "localhost" "1234"
    push metric sink
    close sink
  where
    metric = Metric Counter "name.space" "bucket" "1234" -- Creates graphite key: "name.space.bucket"

API

Preliminary API documentation is available on Hackage.

The API is currently in flux, and conversion between the universal Metric Counter Gauge Timing type to the respective sink types is not completed.

GMetric

A port of Ganglia's gmetric is built by default under the name gmetric-haskell.

Contribute

For any problems, comments or feedback please create an issue here on GitHub.

Licence

Stetson is released under the Mozilla Public License Version 2.0