Portability | non-portable (GHC extensions) |
---|---|
Stability | experimental |
Maintainer | Brendan Hay <[email protected]> |
Safe Haskell | Safe-Infered |
Network.Metrics
Contents
Description
- data SinkType
- open :: SinkType -> String -> String -> IO Sink
- class MetricSink a where
- type Group = ByteString
- type Bucket = ByteString
- type Value = ByteString
- data MetricType
- data Metric = Metric MetricType Group Bucket Value
- data Sink = forall a . MetricSink a => Sink a
Exported Types
An enumeration of supplied sink types
Sink Functions
class MetricSink a whereSource
Sink resource to write metrics to
Methods
Instances
MetricSink Sink | Existential sink instance |
MetricSink Ganglia | |
MetricSink Graphite | |
MetricSink Statsd | |
MetricSink StdoutSink |
Re-exports
type Group = ByteStringSource
Metric group
type Bucket = ByteStringSource
Metric bucket
type Value = ByteStringSource
Metric value
Concrete metric data type
Constructors
Metric MetricType Group Bucket Value |
Existential sink type
Constructors
forall a . MetricSink a => Sink a |
Instances
MetricSink Sink | Existential sink instance |