Skip to main content

Module telemetry

Module telemetry 

Source
Expand description

Best-effort system telemetry snapshots for entropy benchmark context.

telemetry_v1 is intentionally operational:

  • works without elevated privileges where possible,
  • captures only values observable from user space,
  • leaves unavailable metrics as absent rather than guessing.

Structs§

TelemetryMetric
A single observed telemetry metric.
TelemetryMetricDelta
Delta for a metric observed in both start and end snapshots.
TelemetrySnapshot
Point-in-time system telemetry snapshot.
TelemetryWindowReport
Start/end telemetry window with aligned metric deltas.

Constants§

MODEL_ID
Telemetry model identifier.
MODEL_VERSION
Telemetry model version.

Functions§

build_telemetry_window
Build a start/end telemetry report and aligned metric deltas.
collect_telemetry_snapshot
Capture a best-effort telemetry snapshot.
collect_telemetry_window
Capture the current end snapshot and compute a telemetry window.