statsd

package
v0.16.4 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 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 flush out the pending metrics

Jump to

Keyboard shortcuts

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