Categorygithub.com/codahale/metrics
modulepackage
0.0.0-20160929224642-bc2005d86c79
Repository: https://github.com/codahale/metrics.git
Documentation: pkg.go.dev

# README

metrics

Build Status

A Go library which provides light-weight instrumentation for your application.

For documentation, check godoc.

# Packages

Package runtime registers gauges and counters for various operationally important aspects of the Go runtime.

# Functions

NewHistogram returns a windowed HDR histogram which drops data older than five minutes.
Reset removes all existing counters and gauges.
Snapshot returns a copy of the values of all registered counters and gauges.

# Structs

Error describes an error and the name of the metric where it occurred.
A Histogram measures the distribution of a stream of values.

# Type aliases

A Counter is a monotonically increasing unsigned integer.
A Gauge is an instantaneous measurement of a value.