statsdclient

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatsdClientInterface

type StatsdClientInterface interface {
	Open()
	Close()
	Count(key string, value int, sampleRate float32)
	Timing(key string, time int64, sampleRate float32)
	Gauge(key string, value int)
	GaugeShift(key string, value int)
	Set(key string, value int)
}

func NewGoMetricClient

func NewGoMetricClient(
	statsdHost string,
	statsdPort int,
) StatsdClientInterface

Jump to

Keyboard shortcuts

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