Skip to content

Klone Allocation: usage history charts - #2513

Merged
sr320 merged 1 commit into
masterfrom
hyakalloc-history
Oct 3, 2026
Merged

sr320 merged 1 commit into
masterfrom
hyakalloc-history

Conversation

@sr320

@sr320 sr320 commented Oct 3, 2026

Copy link
Copy Markdown
Member

Adds day-by-day history to the Klone Allocation section on Computing Hardware, from the dated hyakalloc_YYYY-MM-DD.txt copies klone writes to gannet.

  • scripts/check_servers.py: fetch_hyak_stats now reads the last 30 dated copies into hyak_stats.history (used/total CPUs and memory per partition, checkpoint idle CPUs).
  • docs/javascripts/hyak-alloc.js: collapsible Usage history under the table, with one chart for CPUs and one for memory (% of partition in use), one line per partition.
  • docs/javascripts/gannet-health.js: exposes lineChart as window.RobertsLabCharts for reuse, takes an optional wider right margin, and now spaces out end-of-line labels so they don't overlap. This also applies to the Gannet Dashboard charts.
  • Third series color (gh-s3) in server-status.css; README and page text updated.

Tested the history fetch against the live directory (one dated copy so far) and rendered the charts locally with 12 days of synthetic history.

🤖 Generated with Claude Code

check_servers.py now reads the dated hyakalloc_YYYY-MM-DD.txt copies
(last 30 days) into hyak_stats.history. The page shows a collapsible
"Usage history" section with CPU and memory % in use per partition,
reusing the gannet dashboard's line chart. The shared chart now spaces
out end-of-line labels so lines ending at similar values stay readable.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sr320
sr320 merged commit 9732d59 into master Oct 3, 2026
2 checks passed
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