circonus

package
v0.0.0-...-a11eda2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 9, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package circonus provides a Circonus backend for package metrics.

Users are responsible for calling the circonusgometrics.Start method themselves. Note that all Circonus metrics must have unique names, and are registered in a package-global registry. Circonus metrics also don't support fields, so all With methods are no-ops.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCounter

func NewCounter(name string) metrics.Counter

NewCounter returns a counter backed by a Circonus counter with the given name. Due to the Circonus data model, fields are not supported.

func NewGauge

func NewGauge(name string) metrics.Gauge

NewGauge returns a gauge backed by a Circonus gauge with the given name. Due to the Circonus data model, fields are not supported. Also, Circonus gauges are defined as integers, so values are truncated.

func NewHistogram

func NewHistogram(name string) metrics.Histogram

NewHistogram returns a histogram backed by a Circonus histogram. Due to the Circonus data model, fields are not supported.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL