Readme for network-metrics-0.1.5

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:

{-# 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