hriemann-0.3.2.2: A Riemann Client for Haskell

Safe HaskellNone
LanguageHaskell2010

Network.Monitoring.Riemann.TCPClient

Synopsis

Documentation

newtype TCPClient Source #

Constructors

TCPClient TCPConnection 
Instances
MonadIO m => Client m TCPClient Source # 
Instance details

Defined in Network.Monitoring.Riemann.TCPClient

Methods

sendEvent :: TCPClient -> Event -> m () Source #

close :: TCPClient -> m () Source #

tcpClient :: HostName -> Port -> IO TCPClient Source #

A new TCPClient

The TCPClient is a Client that will send single events synchronously over TCP.

Current time and host name will be set if not provided.

''Note'': We never use IPv6 address resolved for given hostname.