metrics

package
v0.0.0-...-b9d6073 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2018 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ElapseLess50ms  = "Less50ms"
	ElapseLess100ms = "Less100ms"
	ElapseLess200ms = "Less200ms"
	ElapseLess500ms = "Less500ms"
	ElapseMore500ms = "More500ms"
)

Variables

View Source
var (
	Charmap = map[rune]bool{
		'.': true,
		'/': true}
)

Functions

func AddCounter

func AddCounter(key string, value int64)

func AddHistograms

func AddHistograms(key string, duration int64)

func AddMeter

func AddMeter(key string, value int64)

func AddTimer

func AddTimer(key string, duration int64)

func ElapseTimeString

func ElapseTimeString(t int64) string

func Run

func Run(cfg *config.Config) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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