influxdb-1.1.2: Haskell client library for InfluxDB

Safe HaskellNone
LanguageHaskell2010

Database.InfluxDB.Ping

Contents

Synopsis

Ping interface

Ping parameters

data PingParams Source #

The full set of parameters for the ping API

Constructors

PingParams 

Fields

manager :: HasManager a => Lens' a (Either ManagerSettings Manager) Source #

HTTP manager settings or a manager itself.

If it's set to ManagerSettings, the library will create a Manager from the settings for you.

waitForLeader :: Lens' PingParams (Maybe Int) Source #

The number of seconds to wait before returning a response

Ping result

roundtripTime :: Lens' PingResult TimeSpec Source #

Roundtrip time of the ping

influxdbVersion :: Lens' PingResult ByteString Source #

Version string returned by the InfluxDB header