-
Notifications
You must be signed in to change notification settings - Fork 293
Rewrite system monitoring to use OSHI #2255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Gold856
merged 42 commits into
PhotonVision:main
from
crschardt:feat/oshi-metrics-manager
Jan 2, 2026
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
598827b
initial oshi integration
crschardt 1a2d198
use Files for getting available disk space
crschardt 5530413
log mebibytes
crschardt 14a38bb
try diozero for cpu temperature
crschardt 259662a
monitor cpu
crschardt a71c224
basic network traffic tracking
crschardt b1e27a1
monitor almost everything with oshi
crschardt 55cf8e0
add subclass for RaspberryPi-specific items
crschardt 26e94f1
add subclass for RK3588 NPU load
crschardt 24f8256
replace MetricsManager with SystemMonitor
crschardt 88e0ca0
fix number (lack of) formatting
crschardt 0c2778a
improved profiling
crschardt 400fd0f
enable logging of DeviceMetrics for debugging
crschardt d937abd
show network traffic in UI
crschardt 7e64729
publish metrics should only be called from the monitor
crschardt f7544ae
test adding jLibreHardwareMonitor for Windows computers
crschardt ef14940
it didn't help
crschardt 1e7a480
acknowledge OSHI
crschardt 5ce9f83
add disk space metrics, refactor network traffic, add comments, and c…
crschardt f0b240e
Refactor and document thermal zones for temperature monitoring
crschardt bfc4901
Add subclass for RubikPi3
crschardt cd75121
wpiformat doesn't like the blank line
crschardt 6b4ca07
missed renaming sent and recv in NetworkTables
crschardt 93bb733
remove metric update button and replace with last updated text
crschardt c474cea
Remove MetricsManager and clean up
crschardt 14c96ea
allow changing the system monitor update interval
crschardt e79bcc7
remove metrics manager cmds from the database
crschardt ae3f79e
typo
crschardt 87f80d0
Merge branch 'main' into feat/oshi-metrics-manager
crschardt d236201
minor fixes
crschardt a1f8a8c
update tests
crschardt 855bf79
Remove test for MetricsManager
crschardt 1af6f1c
monospace metrics
samfreund 6ca13bd
addressed comments
crschardt b1baaf3
Merge branch 'feat/oshi-metrics-manager' of https://github.com/crscha…
crschardt 33ef9a3
monospace update time also
crschardt b3106f4
addressing comments
crschardt fdf9a7d
spotless
crschardt 85b3507
frontend cleanup
crschardt 7ca8976
Merge remote-tracking branch 'upstream/main' into feat/oshi-metrics-m…
crschardt bfee10b
a few comment fixes
crschardt 4374d8b
Merge remote-tracking branch 'upstream/main' into feat/oshi-metrics-m…
crschardt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.