statsd

package
v0.19.3 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(namespace string)

Init initializes the statsd with the given namespace.

func InitWithoutServenv added in v0.11.0

func InitWithoutServenv(namespace string)

InitWithoutServenv initializes the statsd using the namespace but without servenv

Types

type StatsBackend

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

StatsBackend implements PullBackend using statsd

func (StatsBackend) PushAll

func (sb StatsBackend) PushAll() error

PushAll flushes out the pending metrics

func (StatsBackend) PushOne added in v0.18.0

func (sb StatsBackend) PushOne(name string, v stats.Variable) error

PushOne pushes the single provided metric.

Jump to

Keyboard shortcuts

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