snap plugin intended to process data and add tags to the data. Please notice that not every snap publisher plugin support tagging.
- Examples
- [Roadmap] (#roadmap)
You can get the pre-built binaries for your OS and architecture at snap's Github Releases page.
Fork https://github.com/intelsdi-x/snap-plugin-processor-tag
Clone repo into $GOPATH/src/github/intelsdi-x/
:
$ git clone https://github.com/<yourGithubID>/snap-plugin-processor-tag
Build the plugin by running make in repo:
$ make
This builds the plugin in /build/rootfs
- Set up the snap framework
- Ensure
$SNAP_PATH
is exportedexport SNAP_PATH=$GOPATH/src/github.com/intelsdi-x/snap/build
{
"version": 1,
"schedule": {
"type": "simple",
"interval": "1s"
},
"workflow": {
"collect": {
"metrics": {
"/intel/mock/foo": {},
"/intel/mock/bar": {},
"/intel/mock/*/baz": {}
},
"config": {
"/intel/mock": {
"user": "root",
"password": "secret"
}
},
"process": [
{
"plugin_name": "tag",
"config":
{
"tags": "rack1:rack,datacenter:dublin,experiment:1"
}
"process": null,
"publish": [
{
"plugin_name": "influx",
"config": {
"host": "INFLUXDB_IP",
"port": 8086,
"database": "snap",
"user": "admin",
"password": "admin"
}
}
]
}
]
}
}
}
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: Marcin Spoczynski
And thank you! Your contribution, through code and participation, is incredibly important to us.
This software has been contributed by MIKELANGELO, a Horizon 2020 project co-funded by the European Union. https://www.mikelangelo-project.eu/