package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
MaybeTick will tick the provided Periodic, if we're past its NextTick() time.
NewTicker returns a new *Ticker instance.
TestingSetNow changes the clock used by the metric system.
# Structs
Ticker is used by metrics that are at heart cumulative, but wish to also maintain a windowed version to work around limitations of our internal timeseries database.
# Interfaces
Periodic is an interface used to control periodic "ticking" behavior.