This plugin supports pushing metrics into an InfluxDB instance.
It's used in the Snap framework.
- golang 1.6+ (needed only for building)
Support Matrix
- InfluxDB Plugin: v2 -> InfluxDB Version 0.9.1 -> Snap version 0.2.0
- InfluxDB Plugin: v3 -> InfluxDB Version >= 0.9.1 -> Snap version 0.2.0
- InfluxDB Plugin: v4 -> InfluxDB Version >= 0.9.1 -> Snap version 0.3.x
- InfluxDB Plugin: v6 -> InfluxDB Version >= 0.9.1 -> Snap version 0.8.0-beta
- InfluxDB Plugin: v7 -> InfluxDB Version >= 0.9.1 -> Snap version 0.8.0-beta-114 and greater
- InfluxDB Plugin: v12 -> InfluxDB Version >= 0.9.3 -> Snap version 0.8.0-beta-114 and greater
- InfluxDB Plugin: v12 -> InfluxDB Version >= 0.9.4 -> Snap version 0.13.0-beta and greater
- InfluxDB (tested with InfluxDB 0.10.0) does not support uint64 as type of data. Metrics with uint64 type are converted to int64 by Snap publisher plugin. uint64 values higher than maximum int64 value are converted to negative value and saved in InfluxDB. Overflow cases are logged.
You can get the pre-built binaries for your OS and architecture at plugin's GitHub Releases page.
Fork https://github.com/intelsdi-x/snap-plugin-publisher-influxdb
Clone repo into $GOPATH/src/github.com/intelsdi-x/
:
$ git clone https://github.com/<yourGithubID>/snap-plugin-publisher-influxdb.git
Build the plugin by running make within the cloned repo:
$ make
This builds the plugin in ./build
- Set up the Snap framework
The plugin expects you to provide the following parameters:
host
port
database
user
password
You can also set the following options if needed:
https
defaults tofalse
(boolean). Set to true to connect to InfluxDB via HTTPS.skip-verify
defaults tofalse
(boolean). Set to true to complain if the certificate used is not issued by a trusted CA.
See examples/tasks folder for examples
There isn't a current roadmap for this plugin, but it is in active development. As we launch this plugin, we do not have any outstanding requirements for the next release.
If you have a feature request, please add it as an issue and/or submit a pull request.
This repository is one of many plugins in Snap, a powerful telemetry framework. See the full project at http://github.com/intelsdi-x/snap To reach out to other users, head to the main framework
We love contributions!
There's more than one way to give back, from examples to blogs to code updates. See our recommended process in CONTRIBUTING.md.
Snap, along with this plugin, is an Open Source software released under the Apache 2.0 License.
- Author: Justin Guidroz
- Author: Joel Cooklin
And thank you! Your contribution, through code and participation, is incredibly important to us.