-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | libinfluxdb -- -- libinfluxdb @package libinfluxdb @version 0.0.2 module Database.InfluxDB.Writer data Config Config :: !String -> !String -> Config [cURL] :: Config -> !String [cDB] :: Config -> !String data Handle createHandle :: Config -> IO (Either () Handle) newHandle :: Config -> Manager -> IO (Either () Handle) -- | A Value is either an integer, a floating point number, a -- boolean or string. data Value I :: !Int64 -> Value F :: !Double -> Value B :: !Bool -> Value S :: !Text -> Value type Tags = Map Text Text type Fields = Map Text Value -- | Write a point to the database. Generates a timestamp from the local -- clock. writePoint :: Handle -> Text -> Tags -> Fields -> IO () -- | Same as writePoint but allows the caller to supply the -- timestamp. writePoint' :: Handle -> Text -> Tags -> Fields -> Int64 -> IO () instance GHC.Classes.Eq Database.InfluxDB.Writer.Point instance GHC.Show.Show Database.InfluxDB.Writer.Point instance GHC.Classes.Eq Database.InfluxDB.Writer.Value instance GHC.Show.Show Database.InfluxDB.Writer.Value