Skip to content

Dev#76

Open
moebiusband73 wants to merge 7 commits into
mainfrom
dev
Open

Dev#76
moebiusband73 wants to merge 7 commits into
mainfrom
dev

Conversation

@moebiusband73

Copy link
Copy Markdown
Member

No description provided.

moebiusband73 and others added 7 commits July 1, 2026 19:13
Convert JobData, ScopedJobStats and Job.Statistics from flat maps to
structs that separate flat scoped metrics from array-valued instance
groups (filesystems now, interconnects later). Each group instance
carries its own name/type and its own scoped metrics, which a flat map
cannot represent. Custom (Un)MarshalJSON reproduce the existing
job-archive JSON layout exactly, so archives round-trip losslessly and
the filesystems array is no longer silently dropped on the Go side.

A package-level registry (RegisterMetricGroup) makes adding a new group
such as "interconnects" a one-line change. Adds FlatMap() and
AddGroupInstance() helpers plus round-trip and schema-validation tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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