metricscactusstatsd

package
v0.0.0-...-0b529bf Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

README

metricscactusstatsd

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Statsd

type Statsd struct {
	Registry metrics.BaseRegistry
	// contains filtered or unexported fields
}

Statsd does statsd metrics to a metric registry Namespacing picked from https://github.com/statsd/statsd/blob/master/docs/namespacing.md

func (*Statsd) Dec

func (s *Statsd) Dec(key string, v int64, _ float32) error

func (*Statsd) Gauge

func (s *Statsd) Gauge(key string, v int64, _ float32) error

func (*Statsd) GaugeDelta

func (s *Statsd) GaugeDelta(key string, v int64, _ float32) error

func (*Statsd) Inc

func (s *Statsd) Inc(key string, v int64, _ float32) error

func (*Statsd) NewSubStatter

func (s *Statsd) NewSubStatter(key string) statsd.SubStatter

func (*Statsd) Raw

func (s *Statsd) Raw(string, string, float32) error

func (*Statsd) Set

func (s *Statsd) Set(string, string, float32) error

func (*Statsd) SetInt

func (s *Statsd) SetInt(string, int64, float32) error

func (*Statsd) SetSamplerFunc

func (s *Statsd) SetSamplerFunc(statsd.SamplerFunc)

func (*Statsd) Timing

func (s *Statsd) Timing(key string, v int64, f float32) error

func (*Statsd) TimingDuration

func (s *Statsd) TimingDuration(key string, v time.Duration, _ float32) error

Jump to

Keyboard shortcuts

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