mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2943] [CLOSED] Monitor: opt-in rootless Apple Silicon GPU charts #4349
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4349
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2943
Author: @mjhagen
Created: 10/17/2026
Status: ❌ Closed
Base:
main← Head:codex/macos-monitor-upstream📝 Commits (1)
ad23cb4Add opt-in Apple Silicon Monitor sensors and charts📊 Changes
8 files changed (+547 additions, -41 deletions)
View changed files
📝
README.md(+3 -0)➕
docs/MACOS_MONITOR.md(+56 -0)➕
serve/apple_telemetry.py(+153 -0)📝
serve/telemetry.py(+27 -4)➕
serve/test_apple_telemetry.py(+169 -0)➕
serve/test_charts.cjs(+60 -0)📝
serve/web/app.js(+78 -36)📝
serve/web/index.html(+1 -1)📄 Description
Closes #2942. Follow-up to the basic macOS IORegistry support in #2360.
Summary
The Mac Monitor can read GPU load and memory, but temperature, power and PCIe remain empty. Add opt-in Apple Silicon charts with rootless temperature/power readings and GPU frequency in place of the discrete-GPU PCIe card.
Enable with
STRATA_MACOS_TELEMETRY=1; install optionalmacmonwithbrew install macmonfor temperature, power and clock readings.What changed
macmon pipeprocess, discard readings after five seconds, recover from stopped/stalled helpers, and close the helper with telemetry.Extra Notes
The feature is off by default. Existing macOS
_Metal, NVIDIA/AMD readers, Windows AMD notes and the default spark renderer are preserved; the original spark function is unchanged. Tests cover default reader selection, AMD precedence on macOS, unchanged default chart behavior, missing helpers and stale/invalid data.Validation on upstream main
477ac13c:python -m unittest serve.test_server serve.test_monitor serve.test_apple_telemetry— 356 tests passed.node serve/test_charts.cjs,node --check serve/web/app.js, andgit diff --check— passed.No native engine sources or build files changed. Native Metal/CUDA/HIP/SYCL builds and physical NVIDIA/AMD/Intel Mac hardware were not tested. The extra sensors use OS-dependent IORegistry/IOReport/SMC interfaces and remain optional.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.