This plugin publishes metrics to circonus.
- The Snap daemon is running
- A Circonus account or Circonus Inside installation reachable by the plugin is required for successful publishing of metrics.
You can get the pre-built binaries for your OS and architecture at plugin's Github Releases page.
mkdir -p "${GOPATH}/src/github.com/circonus-labs"
cd "${GOPATH}/src/github.com/circonus-labs"
git clone https://github.com/circonus-labs/snap-plugin-publisher-circonus
cd snap-plugin-publisher-circonus
make
This builds the plugin in ./build
- Set up the Snap framework
A Task Manifest that includes publishing to Circonus will require configuration data in order for the plugin to establish a connection. Config options are detailed in OPTIONS.md.
Circonus supports three main metric value types: numeric, histogram, and text. Which of these to use can be controlled in the tags
task element, "circonus_type": "(numeric|histogram|text)"
. The default is to send metric values as numeric. The example task manifests illustrate setting explicit numeric and histogram tags for the metrics being collected.
e.g. (the collected metrics are histograms see example/tasks/tasks-histogram.json
)
"tags": {
"/intel/procfs": {
"circonus_type": "histogram"
}
}
See the example directory for a complete, working example using a Vagrant VM.
See License