riemann-0.1.0.2: A Riemann client for Haskell

Safe HaskellNone
LanguageHaskell2010

Network.Monitoring.Riemann

Synopsis

Documentation

module Data.Int

makeClient :: Hostname -> Port -> IO Client Source

Attempts to bind a UDP client at the passed Hostname and Port. Failures are silently ignored---failure in monitoring should not cause an application failure...

sendEvent :: MonadIO m => Client -> Event -> m () Source

Attempts to forward an event to a client. Fails silently.

sendEvent' :: Client -> Event -> EitherT IOException IO () Source

Attempts to forward an event to a client. If it fails, it'll return an IOException in the Either.