stats

package
v0.0.0-...-e47cf43 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNoOpClient

func NewNoOpClient() *noopClient

func NewStatsDClient

func NewStatsDClient(statsdAddr, metricPrfx string, defTags ...Tag) *statsDClient

Types

type Client

type Client interface {
	io.Closer
	Incr(string, int64)
	Gauge(string, int64)
	GaugeDelta(string, int64)
	Timing(string, time.Time)
}

type Tag

type Tag struct {
	// contains filtered or unexported fields
}

func NewTag

func NewTag(key, val string) Tag

Jump to

Keyboard shortcuts

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