statsd

package
v0.0.0-...-addfb21 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Counter

type Counter struct {
	Counter *statsd.Counter
	// contains filtered or unexported fields
}

func (*Counter) Add

func (c *Counter) Add(delta float64)

func (*Counter) With

func (c *Counter) With(labelValues ...string) metrics.Counter

type Gauge

type Gauge struct {
	Gauge *statsd.Gauge
	// contains filtered or unexported fields
}

func (*Gauge) Add

func (g *Gauge) Add(delta float64)

func (*Gauge) Set

func (g *Gauge) Set(value float64)

func (*Gauge) With

func (g *Gauge) With(labelValues ...string) metrics.Gauge

type Histogram

type Histogram struct {
	Timing *statsd.Timing
	// contains filtered or unexported fields
}

func (*Histogram) Observe

func (h *Histogram) Observe(value float64)

func (*Histogram) With

func (h *Histogram) With(labelValues ...string) metrics.Histogram

type Provider

type Provider struct {
	Statsd *statsd.Statsd
}

func (*Provider) NewCounter

func (p *Provider) NewCounter(o metrics.CounterOpts) metrics.Counter

func (*Provider) NewGauge

func (p *Provider) NewGauge(o metrics.GaugeOpts) metrics.Gauge

func (*Provider) NewHistogram

func (p *Provider) NewHistogram(o metrics.HistogramOpts) metrics.Histogram

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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