Skip to content

mitsutoshi/influxdb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

influxdb

influxdb is InfluxDB agent for golang.

This library sends data to the InfluxDB as agent. The agent on background writes data to the InfluxDB every specified interval.

How to use

Initialize by infxludb.New with several arguments.

errCh := make(chan error)
agent, err = influxdb.New(host, port, database, interval)
if err != nil {
        // handle error
}
go agent.Run(errCh)

Note

  • Only use http protocol yet.

About

golang library to write data to the InfluxDB

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages