Expand description
2026-09-26: The telemetry Level and the validated TelemetryConfig.
Serving takes the level from --telemetry and the NVML device from
--gpu-ordinal; the cadences are the constants below, through
TelemetryConfig::serving.
Owner: telemetry.
Invariants: a TelemetryConfig’s device period lies in
MIN_DEVICE_PERIOD..=MAX_DEVICE_PERIOD and its kernel span stride is
at least 1.
Structs§
- Telemetry
Config - 2026-09-26: A validated telemetry configuration. Its fields are private,
and
TelemetryConfig::new(whichservingcalls) is the only constructor.
Enums§
- Config
Error - 2026-09-26: Why a level or configuration was refused.
- Level
- 2026-09-26: The measurement level. Each level measures everything the levels below it measure.
Constants§
- DEVICE_
SAMPLE_ PERIOD - 2026-09-26: Device sampling cadence when serving: 10 Hz.
- KERNEL_
SPAN_ EVERY - 2026-09-26: When serving at level
Kernel, per-kernel spans are recorded on one step in this many. - MAX_
DEVICE_ PERIOD - 2026-09-26: The longest device period
TelemetryConfig::newaccepts. - MIN_
DEVICE_ PERIOD - 2026-09-26: The shortest device period
TelemetryConfig::newaccepts.