libinfluxdb-0.0.2: libinfluxdb

Safe HaskellNone
LanguageHaskell2010

Database.InfluxDB.Writer

Synopsis

Documentation

data Config Source

Constructors

Config 

Fields

cURL :: !String
 
cDB :: !String
 

data Value Source

A Value is either an integer, a floating point number, a boolean or string.

Constructors

I !Int64 
F !Double 
B !Bool 
S !Text 

writePoint :: Handle -> Text -> Tags -> Fields -> IO () Source

Write a point to the database. Generates a timestamp from the local clock.

writePoint' :: Handle -> Text -> Tags -> Fields -> Int64 -> IO () Source

Same as writePoint but allows the caller to supply the timestamp.