circonus

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

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 defines an instance of the circonus metrics destination.

func New

func New() (*Circonus, error)

New returns a new instance of the circonus metrics destination.

func (*Circonus) AddSetValue

func (c *Circonus) AddSetValue(metric string, value string) error

AddSetValue sends a unique value to the set metric.

func (*Circonus) AddSetValueWithTags

func (c *Circonus) AddSetValueWithTags(metric string, tags []string, value string) error

AddSetValueWithTags sends a unique value to the set metric with tags.

func (*Circonus) IncrementCounter

func (c *Circonus) IncrementCounter(metric string) error

IncrementCounter sends a counter increment.

func (*Circonus) IncrementCounterByValue

func (c *Circonus) IncrementCounterByValue(metric string, value uint64) error

IncrementCounterByValue sends value to add to counter.

func (*Circonus) IncrementCounterByValueWithTags

func (c *Circonus) IncrementCounterByValueWithTags(metric string, tags []string, value uint64) error

IncrementCounterByValueWithTags sends value to add to counter with tags.

func (*Circonus) IncrementCounterWithTags

func (c *Circonus) IncrementCounterWithTags(metric string, tags []string) error

IncrementCounterWithTags sends a counter increment with tags.

func (*Circonus) SetGaugeValue

func (c *Circonus) SetGaugeValue(metric string, value interface{}) error

SetGaugeValue sends a gauge metric.

func (*Circonus) SetGaugeValueWithTags

func (c *Circonus) SetGaugeValueWithTags(metric string, tags []string, value interface{}) error

SetGaugeValueWithTags sends a gauge metric with tags.

func (*Circonus) SetHistogramValue

func (c *Circonus) SetHistogramValue(metric string, value float64) error

SetHistogramValue sends a histogram metric.

func (*Circonus) SetHistogramValueWithTags

func (c *Circonus) SetHistogramValueWithTags(metric string, tags []string, value float64) error

SetHistogramValueWithTags sends a histogram metric with tags.

func (*Circonus) SetTextValue

func (c *Circonus) SetTextValue(metric string, value string) error

SetTextValue sends a text metric.

func (*Circonus) SetTextValueWithTags

func (c *Circonus) SetTextValueWithTags(metric string, tags []string, value string) error

SetTextValueWithTags sends a text metric with tags.

func (*Circonus) SetTimingValue

func (c *Circonus) SetTimingValue(metric string, value float64) error

SetTimingValue sends a timing metric.

func (*Circonus) SetTimingValueWithTags

func (c *Circonus) SetTimingValueWithTags(metric string, tags []string, value float64) error

SetTimingValueWithTags sends a timing metric with tags.

func (*Circonus) Start

func (c *Circonus) Start() error

Start NOOP cgm starts as it is initialized.

func (*Circonus) Stop

func (c *Circonus) Stop() error

Stop flushes any outstanding metrics.

Jump to

Keyboard shortcuts

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