package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

NewTestingStatsManager initializes a TestingStatsManager used for testing purposes.
NewWriteStatsManager initializes a StatsManager with the vfs.FS provided.

# Constants

SectorSizeBytes is the number of bytes stored on a disk sector.

# Variables

# Structs

DeviceID uniquely identifies block devices.
Monitor provides statistics for an individual disk.
MonitorManager provides observability into a pool of disks by sampling disk stats at a high frequency.
Stats describes statistics for an individual disk or volume.
StatsManager provides a mapping from OS-level DeviceID to the vfs.DiskWriteStatsCollector.
StatsWindow is a wrapper around a rolling window of disk stats, used to apply common rudimentary computations or custom aggregation functions.
TestingStatsManager is used for tests.

# Interfaces

WriteStatsManager is wrapper that holds disk write stats collectors.