package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
Copy makes a new histogram which is a copy of h.
CreateSender creates a sender which will send UDP packets when Send is called on it.
CreateReceiver creates a receiver which will receive UDP packets when Observe is called on it.
DecodeSnapshots decodes a File with SnapshotTicks into a series.
NewRegistryWithPublisherAndExporter returns an initialized Registry.
# Constants
MockWorkloadName is to be used in the event that a Registry is required outside of a workload.
PrometheusNamespace is the value that should be used for the Namespace field whenever a workload-related prometheus metric is defined.
# Structs
Histograms is a thread-local handle for creating and registering NamedHistograms.
NamedHistogram is a named histogram for use in Operations.
Registry is a thread-safe enclosure for a (possibly large) number of named histograms.
Tick is an aggregation of ticking all histograms in a Registry with a given name.