Documentation ¶
Overview ¶
Package circonus provides a Circonus backend for metrics.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Circonus ¶
type Circonus struct {
// contains filtered or unexported fields
}
Circonus wraps a CirconusMetrics object and provides constructors for each of the Go kit metrics. The CirconusMetrics object manages aggregation of observations and emission to the Circonus server.
func New ¶
func New(m *circonusgometrics.CirconusMetrics) *Circonus
New creates a new Circonus object wrapping the passed CirconusMetrics, which the caller should create and set in motion. The Circonus object can be used to construct individual Go kit metrics.
func (*Circonus) NewCounter ¶
NewCounter returns a counter metric with the given name.
func (*Circonus) NewHistogram ¶
NewHistogram returns a histogram metric with the given name.
type Counter ¶
type Counter struct {
// contains filtered or unexported fields
}
Counter is a Circonus implementation of a counter metric.
type Gauge ¶
type Gauge struct {
// contains filtered or unexported fields
}
Gauge is a Circonus implementation of a gauge metric.