Skip to content
This repository has been archived by the owner on Nov 4, 2020. It is now read-only.

circonus-labs/snap-plugin-publisher-circonus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Snap publisher plugin - Circonus

This plugin publishes metrics to circonus.

  1. Getting Started
  1. Documentation
  1. License

Getting Started

System Requirements

  • The Snap daemon is running
  • A Circonus account or Circonus Inside installation reachable by the plugin is required for successful publishing of metrics.

Installation

Download Circonus plugin binary:

You can get the pre-built binaries for your OS and architecture at plugin's Github Releases page.

To build the plugin binary:

Build requirements
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

Configuration and Usage

Documentation

Task Manifest Config

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.

Metric types

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"
    }
}

Examples

See the example directory for a complete, working example using a Vagrant VM.

License

See License