Commit Graph
58 Commits
Author SHA1 Message Date
moebiusbandandClaude Opus 5 4cfbecd818 Merge branch 'feat/565-add-metric-tooltip' into metric-store-tickets
Resolve conflicts in the generated GraphQL code by regenerating it against
the merged schema. cc-lib v2.13.0 adds Tooltip to schema.MetricConfig and
schema.GlobalMetricListItem, so gqlgen now binds the tooltip field directly
and the hand-written globalMetricListItem/metricConfig resolvers introduced
on the tooltip branch are no longer needed.

Also migrate to the cc-lib v2.13.0 metric container types, which changed
from bare maps to structs carrying array-valued metric groups:

  schema.JobData          map -> {Metrics, Groups}
  schema.ScopedJobStats   map -> {Metrics, Groups}
  job.Statistics          map -> schema.JobStatisticsSet{Metrics, Groups}

Callers index .Metrics, return the zero struct instead of nil, and
deepCopy/DecodeJobStats now also carry the Groups payload through.
archive.GetStatistics returns the full JobStatisticsSet so group
statistics survive the round trip.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-27 10:22:22 +02:00
Christoph Kluge 053c44d7b5 add tooltips to metricConfig, rendered in metricSelect, rework availability display 2026-07-28 17:36:29 +02:00
moebiusbandandClaude Opus 4.8 6f1c36099b fix(web): adapt metric plots to policy-based resample config
The backend resample config changed from {trigger, resolutions[]} to a
policy/targetPoints model, but several components still spread
resampleConfig.resolutions, throwing "resolutions is not iterable" and
breaking the job list render. Default the initial resolution to null (the
backend resolves it from the configured policy; zoom overrides it) and
drop the now-obsolete resolution selector and admin display fields.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Entire-Checkpoint: 27516ce259fd
2026-06-18 10:29:12 +02:00
Christoph Kluge 10b4fa5a06 change: remove heuristic metricHealth, replace with DB metricHealth
- add metricHealth to single Node view
2026-03-19 15:55:58 +01:00
Christoph Kluge 5e4994a64c revert external config supply for nodeList component 2026-02-10 16:46:18 +01:00
Christoph Kluge c43d4a0f16 complete review of context initialization and access, streamlining 2026-02-06 17:51:57 +01:00
Christoph Kluge df93786474 fix system timeselect display
- float mismatch triggered unknownValue
2026-01-29 15:22:40 +01:00
Christoph Kluge faacf3f343 svelte state_referenced_locally warning fixes
- change to derived where possible
- suppress warning elsewhere
- discussion here: sveltejs/svelte/issues/17289
2026-01-15 18:17:45 +01:00
Christoph Kluge 7a0975b94d final fix render race condition if metrics change in nodeList 2025-12-19 15:10:15 +01:00
Christoph Kluge 399af8592c switch nodeList logic to SQLite as source of truth, fix nodeList continuous scroll
- keep notindb logic for now
2025-11-20 12:18:13 +01:00
Christoph Kluge 90c3381954 add nodeState info display and filtering to systems views 2025-11-18 15:56:55 +01:00
Christoph Kluge 0a3a664653 small fixes, set analysisView config defaults 2025-10-09 16:33:14 +02:00
Christoph Kluge 70fe8aa367 fix systemsView config laod and mutation, fix metricSelection checked 2025-10-07 15:46:16 +02:00
Christoph Kluge 32429f1481 adapt frontend for new uiConfig keys, add nodeOverview mutation 2025-10-02 18:10:33 +02:00
Christoph Kluge 60ec7e54f5 Update component header, format, streamline SV5 components 2025-07-02 18:43:25 +02:00
Christoph Kluge 1e039cb1bf Migrate select components and adapt parents 2025-06-18 18:14:56 +02:00
Christoph Kluge f471214ef7 migrate system view, node list and node overview 2025-06-12 16:23:31 +02:00
Christoph Kluge 927e25c72c Migrate metricSelection 2025-06-03 13:32:14 +02:00
Christoph Kluge 42c4926c47 fix refresher sv5 logic 2025-06-02 14:20:32 +02:00
Christoph Kluge d0af933b35 feat: add subCluster level frontend keys for metric selections
- applies to jobView and nodeList
2025-03-06 15:39:15 +01:00
Christoph Kluge 140b3c371d fix undefined if system_view_selectedMetric missing
- defaults to first metric on init
- reorder gitignore
2025-02-10 15:36:14 +01:00
Christoph Kluge c21da6512a fix rerender by keys, disable resolution select if no resampling active 2025-01-24 16:17:51 +01:00
Christoph Kluge 735988decb add extended legend for nodelist acc metrics, move nodelist paging select 2025-01-21 18:35:03 +01:00
Christoph Kluge 5ea11a5ad2 fix legends, add resolution, add statsseries, add simple healthcheck 2025-01-10 16:06:29 +01:00
Christoph Kluge 2a3383e9e6 add scopes, paging and backend filtering to nodeList 2025-01-09 18:56:50 +01:00
Christoph Kluge e871703724 add dedicated nodeListData handling to metricData interface 2025-01-09 11:18:04 +01:00
Christoph Kluge 35012b18c5 one more note 2024-10-25 14:47:09 +02:00
Christoph Kluge 9688bad622 note decision of implementaion Q4 2024-10-24 18:14:31 +02:00
Christoph Kluge 60d7984d66 add notes 2024-10-16 14:16:31 +02:00
Christoph Kluge 3dfeabcec6 simplify plotGrid, add cancel to metricSelect, improve metricPlot render logic 2024-10-16 12:41:15 +02:00
Christoph Kluge 673fdc443c Finish prototype implementation of nodelist view 2024-10-14 18:37:48 +02:00
Christoph Kluge 2f6e5a7648 Move common logic into systems view again
- adds backend log if subcluster for node not configured
2024-10-14 11:55:59 +02:00
Christoph Kluge 2cbe8e9517 Split systems view into node-overview and node-list 2024-10-11 12:30:55 +02:00
Christoph Kluge fc6970d08a fix plotgrid display error, use plotheight default 2024-10-08 17:31:15 +02:00
Christoph Kluge f616c7e1c6 remove width tags from slot defs 2024-10-08 15:26:09 +02:00
Christoph Kluge 7243dbe763 replace plotTable with new bootstrap plotGrid component
- helps with narrow window sizes
- plotTable kept for now
2024-10-02 17:48:46 +02:00
Christoph Kluge f047f89ad5 fix column count and add margins 2024-10-02 14:48:21 +02:00
Christoph Kluge 0eb0aa1d3b change default range to 12h, rework layout in system node views 2024-10-02 14:37:32 +02:00
Christoph Kluge d34e0d9348 fix: omit resources prop from metricPlot, use series for legend instead 2024-08-23 16:59:45 +02:00
Christoph Kluge 3ca1127685 Restructure frontend svelte file src folder
- Goal: Dependency structure mirrored in file structure
2024-07-26 12:34:18 +02:00
Christoph Kluge e65100cdc8 Add vscode @component comment to every svelte file, remove unused js exports 2024-07-25 17:10:00 +02:00
Christoph Kluge 6a1cb51c2f Refactor svelte frontend
- Adapt to new metricConfig logic
- Footprint-Metrics generalized for bar card
- Footprint-Metrics in stats filter and sorting
- Frontend always uses GQL, except adminOptions
- Job View will load scopes for all metrics on request
2024-07-22 15:41:33 +02:00
moebiusband 32a57661fd Upgrade frontend dependencies
Change to most recent @sveltestrap/sveltestrap
Reformat with Svelte LSP
2024-03-09 10:30:40 +01:00
Christoph Kluge 61c83c375d enable forNode special handling 2023-08-23 16:29:46 +02:00
Christoph KlugeandGitHub a2cc1bd226 Merge branch 'master' into 71_improve_systemsview 2023-08-11 10:34:05 +02:00
Christoph Kluge 423e800d9e feat: add hover-legend to histograms & metricplots 2023-08-08 13:27:01 +02:00
Christoph Kluge 284a7079d6 Invert time x-axis for node view metric plots 2023-08-01 18:37:50 +02:00
Christoph Kluge 36abed2093 feat: add auto-reloading to system and node views 2023-08-01 15:30:21 +02:00
Christoph Kluge c8068f45eb Rework disabled metrics, fix systems
- Unify warning card texts
- Broader use of checkMetricDisabled function
2023-06-19 16:11:16 +02:00
Christoph Kluge 4c708dba3f Improve alignment of notice cards 2023-06-16 16:49:19 +02:00