metrics

package
v0.0.0-...-5720ada Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GenMainRun      = &statsd.Timer{Name: "genmain.run"}
	GenMainShutdown = &statsd.Timer{Name: "genmain.shutdown"}

	HTTPRequest = &statsd.Timer{Name: "http.request"}

	ShellCommandRun = &statsd.Timer{Name: "shell.command.run"}
)

Note that statsd's default backend is the nullBackend, which doesn't do anything. For these metrics to work, use statsd.SetBackend.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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