statsd

package
v0.0.0-...-3831271 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2025 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

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

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