stats

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(key string, val float64)

Add keeps a counter

func Gauge

func Gauge(key string, val float64)

Gauge sets the latest value of a key

func Histogram

func Histogram(key string, val float64)

Histogram tracks a histogram of a group of measurements

func Init

func Init(name string)

Init initializes the stats

func TrackMemStats

func TrackMemStats()

TrackMemStats tracks the number of goroutines and mem stats and refreshes every 15 seconds

Types

This section is empty.

Jump to

Keyboard shortcuts

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