hriemann-0.3.2.2: A Riemann Client for Haskell
Network.Monitoring.Riemann.TCPClient
newtype TCPClient Source #
Constructors
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.
Client
Current time and host name will be set if not provided.
''Note'': We never use IPv6 address resolved for given hostname.
Note''