Add Raven Dashboard: CPU, memory and Winners history - #2514
Merged
Merged
Conversation
check_servers.py now parses raven's memory line, Winners list and top memory processes, and accumulates a daily raven_history.json on the server-status branch (raven keeps no dated copies of ghr.log). A new Raven Dashboard page charts CPU and memory over time and shows a per-user grid of appearances in the Winners list. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
New Raven Dashboard page (next to Gannet Dashboard in the nav), built from raven's daily
ghr.logsnapshot.Data
fetch_raven_statsnow also parsesmemory_percent, the Winners list (top 5 accounts by summed %CPU, with %MEM), and the top memory processes.ghr.logdaily with no dated copies, socheck_servers.py --outnow maintainsstatus/raven_history.jsonon theserver-statusbranch: one entry per snapshot date (CPU, memory, per-mount %, Winners), capped at 365 days.publish_status.shalready checks out the branch first, so the file carries forward. History starts from the first run after merge.Page (
docs/Raven-Dashboard.md,docs/javascripts/raven-dashboard.js)gannet-health.js).Tested the parser against the live
ghr.logand rendered the page locally with 21 days of synthetic history.🤖 Generated with Claude Code