internal/

directory
v0.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2026 License: Apache-2.0

Directories

Path Synopsis
collectors
chassis
Package chassis provides a collector for server-level environmental metrics (system power, inlet/outlet temperature, chassis fan speed) sourced from ipmitool SDR.
Package chassis provides a collector for server-level environmental metrics (system power, inlet/outlet temperature, chassis fan speed) sourced from ipmitool SDR.
cpu
gpu
npu
Package metrics provides the metric collection catalog: the set of metrics each collector can emit (with metadata), a default catalog file on disk, and optional per-module override files.
Package metrics provides the metric collection catalog: the set of metrics each collector can emit (with metadata), a default catalog file on disk, and optional per-module override files.
dcmi
Package dcmi provides a data source that calls Huawei Ascend NPU's DCMI (Device Control Management Interface) C library libdcmi.so via CGo.
Package dcmi provides a data source that calls Huawei Ascend NPU's DCMI (Device Control Management Interface) C library libdcmi.so via CGo.
dmesg
Package dmesg provides a data source that returns the kernel ring buffer text via the external `dmesg` command.
Package dmesg provides a data source that returns the kernel ring buffer text via the external `dmesg` command.
dmidecode
Package dmidecode provides a data source that runs the external `dmidecode --type 17` command and parses its SMBIOS Memory Device entries into typed structs describing installed DIMMs.
Package dmidecode provides a data source that runs the external `dmidecode --type 17` command and parses its SMBIOS Memory Device entries into typed structs describing installed DIMMs.
hccn_tool
Package hccn_tool provides a data source that wraps the `hccn_tool` command for NPU network diagnostics (bandwidth, RoCE speed/link).
Package hccn_tool provides a data source that wraps the `hccn_tool` command for NPU network diagnostics (bandwidth, RoCE speed/link).
ipmi
Package ipmi provides a data source that queries an external `ipmitool` command for sensor readings (SDR) and instantaneous power (DCMI).
Package ipmi provides a data source that queries an external `ipmitool` command for sensor readings (SDR) and instantaneous power (DCMI).
lscpu
Package lscpu provides a data source that runs the external `lscpu` command and parses its output into a CPU topology struct.
Package lscpu provides a data source that runs the external `lscpu` command and parses its output into a CPU topology struct.
lspci
Package lspci provides a data source that runs the external `lspci` command and caches PCI device descriptions.
Package lspci provides a data source that runs the external `lspci` command and caches PCI device descriptions.
mce
Package mce provides a data source that counts Machine Check Exception (MCE) events from the kernel log, distinguishing Corrected (CE) and Uncorrected (UCE/UE) errors per CPU socket.
Package mce provides a data source that counts Machine Check Exception (MCE) events from the kernel log, distinguishing Corrected (CE) and Uncorrected (UCE/UE) errors per CPU socket.
npu_smi
Package npu_smi provides a data source that wraps the `npu-smi info -t` subcommands (topology, HCCS bandwidth).
Package npu_smi provides a data source that wraps the `npu-smi info -t` subcommands (topology, HCCS bandwidth).
nvidia_smi
Package nvidia_smi provides a data source that wraps the `nvidia-smi` command for NVIDIA GPU metrics.
Package nvidia_smi provides a data source that wraps the `nvidia-smi` command for NVIDIA GPU metrics.
proc
Package proc provides a data source that reads and parses the Linux /proc virtual filesystem.
Package proc provides a data source that reads and parses the Linux /proc virtual filesystem.
smartctl
Package smartctl provides a data source that wraps the external `smartctl` command (from smartmontools) to query disk SMART health.
Package smartctl provides a data source that wraps the external `smartctl` command (from smartmontools) to query disk SMART health.
statfs
Package statfs provides a data source that wraps the statfs(2) system call to report filesystem block usage for a given mount path.
Package statfs provides a data source that wraps the statfs(2) system call to report filesystem block usage for a given mount path.
sys
Package sys provides a data source that reads and parses the Linux /sys virtual filesystem.
Package sys provides a data source that reads and parses the Linux /sys virtual filesystem.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL