This compose file demonstrates the snap-relay, a stand-alone streaming plugin. The compose file will start a container for snap, the relay, collectd and influxdb. A short lived 'init' container is started which loads the plugins and starts the task.
This compose file makes the following assumptions.
-
You are using GVM to manage go environments
-
You have checked out the branch jcooklin:fb/enables-streaming of https://github.com/intelsdi-x/snap-plugin-lib-go
-
You have checked out the branch jcooklin:fb/enables-streaming of https://github.com/intelsdi-x/snap
-
You have checked out the branch kjlyon:relay-plugin of https://github.com/intelsdi-x/snap-relay
- You have built the relay for linux
- To build the plugin run
GOOS=linux go build -o snap-relay main.go
from the top level of the snap-relay repo