PANTAW COLLECTOR · SYSTEM

cpu collector

Observe processor identity, cumulative CPU counters and current load facts.

Source and collected facts

Direct read-only reads of /proc/stat, /proc/loadavg and /proc/cpuinfo.

  • CPU tick counters
  • busy percentage since boot
  • 1, 5 and 15 minute load
  • running and total process counts
  • logical CPU count and model

Observation contract

Consistent core facts produce SUCCESS; missing optional load or identity fields produce PARTIAL; unusable sources produce UNAVAILABLE.

Relevant ReasonCode values: CPU_OBSERVED, CPU_PARTIAL, INTERNAL_ERROR

All collectors use structured ObservationStatus values and retain unavailable optional fields explicitly.

Graceful unavailability and limits

Busy percentage is derived from cumulative counters since boot, not a sampling interval.

Permissions and privacy

Permissions. Normally available to unprivileged users through procfs.

Privacy. CPU model and capacity can identify hardware class.

Sanitized example

{
  "source": "cpu",
  "status": "SUCCESS",
  "severity": "INFO",
  "reason_code": "CPU_OBSERVED",
  "target": "cpu",
  "metadata": {"logical_cpu_count":8,"load_1m":0.42,"busy_percent_since_boot":7.5}
}

Synthetic example. It is not production node data.