Commit Graph
27 Commits
Author SHA1 Message Date
moebiusbandandClaude Opus 4.8 0724b2dc60 Adopt cc-lib hierarchical JobData/Statistics structs
cc-lib changed JobData, ScopedJobStats and Job.Statistics from flat maps
to structs (a .Metrics map plus array-valued Groups) to represent
filesystem (and future interconnect) metric groups. Migrate all
construction, indexing and iteration to the new API across the archive
backends, metricstore query path, metric dispatcher, archiver, importer,
tagger, taskmanager, repository and API layers.

Semantics: DecodeJobStats now projects JobData.Groups into
ScopedJobStats.Groups, and the archiver derives per-filesystem node-scope
statistics into Job.Statistics.Groups. deepCopy, resampling and the
metric/scope filter are group-aware. The metricstore internal storage
(buffers, selector tree, checkpoint/parquet) is unchanged; all conversion
stays at the LoadData/archive-codec seam.

Note: requires the corresponding cc-lib release; bump the cc-lib
dependency version once tagged (a local go.mod replace was used during
development and is intentionally not committed).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-01 19:14:12 +02:00
moebiusband fa7727c6ca Print job db id instead of its address 2026-02-06 14:06:56 +01:00
moebiusband 8576ae458d Switch to cc-lib v2 2025-12-24 09:24:18 +01:00
moebiusband b8fdfc30c0 Fix performance bugs in sqlite archive backend 2025-12-17 10:12:49 +01:00
moebiusband f13be109c2 Fix: Replace all Printf log messages with appropriate loglevels 2025-12-11 11:20:11 +01:00
moebiusband 6325793902 Add check in initDB importer if jobMeta is nil 2025-12-04 15:38:21 +01:00
moebiusband 7cff8bbfd2 Add documentation for importer 2025-12-04 15:07:09 +01:00
moebiusband 0b38a980d2 Port importer to new transaction api 2025-11-20 07:39:16 +01:00
Christoph Kluge 743a89c3a2 Finalize node query backend functions, fix migration issue 2025-07-04 15:14:15 +02:00
moebiusband 639e1b9c6d Port to cc-lib. Extend legal header. 2025-06-30 12:06:35 +02:00
moebiusband 3efee22536 Remove jobMeta and use job struct everywhere 2025-05-28 15:59:21 +02:00
Christoph Kluge 2b56b40e6d Review energyFootprint calculation, fix missing numNodes factor, add log 2025-03-06 12:46:25 +01:00
moebiusband cdd45ce88b Fix importers and add Energy footprint to import 2024-11-16 06:36:55 +01:00
moebiusband 210a7d3136 Debugging initDB archive import
Footprint working
EnergyFootprint still missing
2024-11-14 19:13:07 +01:00
moebiusband e267481f71 Cleanup transaction api 2024-09-03 15:40:02 +02:00
moebiusband 6568b6d723 Prepare transaction API for general usage 2024-09-03 13:40:11 +02:00
moebiusband c459724114 Resolve build errors 2024-08-30 13:50:49 +02:00
Christoph Kluge bf6b87d65c Fix circular import after merge 2024-07-09 09:50:32 +02:00
moebiusband 80c46bea7f Fix bugs and failed testcases 2024-07-04 14:14:27 +02:00
moebiusband 130613b717 Fix build errors
Code not yet functional
2024-06-28 17:08:28 +02:00
moebiusband fb8bbea99d Remove year in copyright notice 2024-04-11 23:04:30 +02:00
moebiusband 9137931b74 Add cpu_load and mem_used to Job stats
Fixes #111
2023-06-15 11:07:48 +02:00
moebiusband 066c4553b4 Refactor 2023-05-04 16:27:30 +02:00
moebiusband c5b67d64d2 Add Table flush on init 2023-05-04 16:03:04 +02:00
moebiusband d9b18d1763 Cleanup
Use external cc-units
Lint code
Fix import tests
2023-05-04 15:34:36 +02:00
moebiusband 27894ea0a9 Restructure tests 2023-05-04 07:00:30 +02:00
moebiusband ebba4371eb Extract importer package and restructure tests 2023-04-28 08:49:58 +02:00