Skip to content

feat: collect CPU temperature from DGX Sparks - #60

Open
0xdfi wants to merge 1 commit into
MiaAI-Lab:mainfrom
0xdfi:feat/dgx-spark-cpu-temperature
Open

feat: collect CPU temperature from DGX Sparks#60
0xdfi wants to merge 1 commit into
MiaAI-Lab:mainfrom
0xdfi:feat/dgx-spark-cpu-temperature

Conversation

@0xdfi

@0xdfi 0xdfi commented Aug 24, 2026

Copy link
Copy Markdown

Summary

DGX Spark nodes now report CPU temperature through the existing remote CPU metric instead of always returning 0. The collector reuses the host sensor allowlist and priority order, while filtering unrelated NVMe and network-card sensors.

Related: #34

Validation

  • node --test server/collectors/__tests__/SystemCollector.cpuTemp.test.js - 8 passed, including the full remote DGX Spark parse path
  • npm run typecheck - passed
  • npm run build - passed
  • Code review completed with no remaining actionable findings.

Post-Deploy Monitoring & Validation

  • Search logs for Remote CPU error during the first 15 minutes.
  • Compare the API CPU temperature with the first allowed hwmon or acpitz sensor on one DGX Spark.
  • Healthy signal: a plausible non-zero Celsius value updates with each normal CPU poll.
  • Failure signal: CPU polling fails, temperature exceeds the accepted sensor range, or the value comes from an NVMe/CX7 sensor. Roll back this PR if observed.
  • Validation window and owner: first 15 minutes after deployment; sparkDash maintainer/operator.

Compound Engineering

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant