package
0.0.0-20220521092526-d433f404cd13
Repository: https://github.com/golang-design/under-the-hood.git
Documentation: pkg.go.dev

# Functions

All returns a slice of containing metric descriptions for all supported metrics.
Read populates each Value field in the given slice of metric samples.

# Constants

KindBad indicates that the Value has no type and should not be used.
KindFloat64 indicates that the type of the Value is a float64.
KindFloat64Histogram indicates that the type of the Value is a *Float64Histogram.
KindUint64 indicates that the type of the Value is a uint64.

# Structs

Description describes a runtime metric.
Float64Histogram represents a distribution of float64 values.
Sample captures a single metric sample.
Value represents a metric value returned by the runtime.

# Type aliases

ValueKind is a tag for a metric Value which indicates its type.