package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
NewReplicaStats constructs a new ReplicaStats tracker.
# Constants
MinStatsDuration defines a lower bound on how long users of replica stats should wait before using those stats for anything.
# Variables
AddSSTableRequestSizeFactor wraps "kv.replica_stats.addsst_request_size_factor".
# Structs
RatedSummary returns a rated summary representing a snapshot of the current replicastats state.
ReplicaStats maintains statistics about the work done by a replica.
# Type aliases
LocalityOracle provides a mapping between a node ID and it's corresponding locality.
PerLocalityCounts maps from the string representation of a locality to count.