libinfluxdb-0.0.1: libinfluxdb
Database.InfluxDB.Writer
Synopsis
data Config Source
data Handle Source
createHandle :: Config -> IO (Either () Handle) Source
newHandle :: Config -> Manager -> IO (Either () Handle) Source
data Value Source
A Value is either an integer, a floating point number, a boolean or string.
Value
Constructors
Instances
type Tags = Map Text Text Source
type Fields = Map Text Value Source
writePoint :: Handle -> Text -> Tags -> Fields -> IO () Source
Write a point to the database. Generates a timestamp from the local clock.
test :: IO () Source