Documentation
¶
Overview ¶
Package disk tracks the disk usage of all the mount points specified in the configuration.
Index ¶
- Constants
- func HasBeyondEndOfDevice(line string) bool
- func HasBufferIOError(line string) bool
- func HasFilesystemReadOnly(line string) bool
- func HasNVMeDeviceDisabled(line string) bool
- func HasNVMePathFailure(line string) bool
- func HasNVMeTimeout(line string) bool
- func HasRAIDArrayFailure(line string) bool
- func HasSuperblockWriteError(line string) bool
- func Match(line string) (eventName string, message string)
- func New(gpudInstance *components.GPUdInstance) (components.Component, error)
Constants ¶
const Name = "disk"
Name is the ID of the disk component.
const SubSystem = "disk"
SubSystem is the Prometheus subsystem used by disk metrics.
Variables ¶
This section is empty.
Functions ¶
func HasBeyondEndOfDevice ¶ added in v0.6.0
HasBeyondEndOfDevice returns true if the line indicates an access beyond the end of a device.
func HasBufferIOError ¶ added in v0.6.0
HasBufferIOError returns true if the line indicates a buffer I/O error.
func HasFilesystemReadOnly ¶ added in v0.6.0
HasFilesystemReadOnly returns true if the line indicates the filesystem was remounted read-only.
func HasNVMeDeviceDisabled ¶ added in v0.6.0
HasNVMeDeviceDisabled returns true if the line indicates an NVMe device was disabled.
func HasNVMePathFailure ¶ added in v0.6.0
HasNVMePathFailure returns true if the line indicates an NVMe path failure.
func HasNVMeTimeout ¶ added in v0.6.0
HasNVMeTimeout returns true if the line indicates an NVMe controller timeout.
func HasRAIDArrayFailure ¶ added in v0.6.0
HasRAIDArrayFailure returns true if the line indicates a RAID array failure.
func HasSuperblockWriteError ¶ added in v0.6.0
HasSuperblockWriteError returns true if the line indicates a superblock write error.
func Match ¶ added in v0.5.0
Match returns the first disk-related kernel message match for the given log line.
func New ¶
func New(gpudInstance *components.GPUdInstance) (components.Component, error)
New creates a disk component.
Types ¶
This section is empty.