DISCONTINUATION OF PROJECT.
This project will no longer be maintained by Intel.
This project has been identified as having known security escapes.
Intel has ceased development and contributions including, but not limited to, maintenance, bug fixes, new releases, or updates, to this project.
Intel no longer accepts patches to this project.
This project will no longer be maintained by Intel. Intel will not provide or guarantee development of or support for this project, including but not limited to, maintenance, bug fixes, new releases or updates. Patches to this project are no longer accepted by Intel. If you have an ongoing need to use this project, are interested in independently developing it, or would like to maintain patches for the community, please create your own fork of the project.
Allows publishing of data to etcd from the Snap framework.
- A running instance of etcd (release page)
- golang 1.5+ (needed only for building)
All OSs currently supported by snap:
- Linux/amd64
- Darwin/amd64
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-publisher-etcd
Clone repo into $GOPATH/src/github.com/intelsdi-x/
:
$ git clone https://github.com/<yourGithubID>/snap-plugin-publisher-etcd.git
Build the plugin by running make within the cloned repo:
$ make
This builds the plugin in /build/rootfs/
- Set up the Snap framework
- Set Snap Global Global Config field
etcd_host
to proper etcd host string (e.g.http://localhost:2379
)
Example of using snap-plugin-publisher-etcd to store metrics collected by snap-plugin-colector-psutil.
Run etcd (for more info on how to run etcd see etcd getting started and etcd GitHub):
$ etcd &
Ensure Snap daemon is running:
$ snapteld -l -t 0 &
Download and load Snap plugins:
$ snaptel plugin load snap-plugin-collector-psutil
$ snaptel plugin load snap-plugin-publisher-etcd
Create a task:
$ snaptel task create -t psutil-etcd.yml
Using task manifest to create task
Task created
ID: 3b2bc29c-8256-4ca0-a958-05f5d41f6f11
Name: Task-3b2bc29c-8256-4ca0-a958-05f5d41f6f11
State: Running
You may view example tasks here.
Ensure the task is running and collecting metrics:
$ snaptel task watch 3b2bc29c-8256-4ca0-a958-05f5d41f6f11
Query etcd to see metrics:
$ etcdctl ls /intel/psutil --recursive
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: @kindermoumoute
And thank you! Your contribution, through code and participation, is incredibly important to us.