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

Portabilitynon-portable (GHC extensions)
Stabilityexperimental
MaintainerBrendan Hay <brendan@soundcloud.com>
Safe HaskellSafe-Infered

Network.Metrics.Statsd

Contents

Description

 

Synopsis

Socket Handle operations

open :: String -> String -> IO StatsdSource

Create a new disconnected socket handle for UDP communication

Network.Metrics.Internal re-exported types

type Group = ByteStringSource

Metric group

type Bucket = ByteStringSource

Metric bucket

type Value = ByteStringSource

Metric value

data MetricType Source

Metric type

Constructors

Counter 
Gauge 
Timer 

Instances

data Metric Source

Concrete metric data type

Instances

class MetricSink a whereSource

Describes a sink resource which is held open for metric emission

Methods

push :: Metric -> a -> IO ()Source

close :: a -> IO ()Source

Instances

Network.Metrics.Internal operations