Commit Graph

61 Commits

Author SHA1 Message Date
moebiusband e45b5f70e3 fix: Changes in frontend ui 2026-04-03 05:13:07 +02:00
Christoph Kluge c42898bd99 fix: add top list query fixes to analysis and dashboard 2026-03-19 11:31:40 +01:00
Christoph Kluge 30b8ca4a1a further clarify plot titles 2026-03-19 10:45:55 +01:00
Christoph Kluge bb6915771d fix: clarify title 2026-03-18 13:23:33 +01:00
moebiusband df2a13def2 Merge branch 'hotfix' of github.com:ClusterCockpit/cc-backend into hotfix 2026-03-13 14:34:11 +01:00
moebiusband d586fe4b43 Optimize usage dashboard: partial indexes, request cache, parallel histograms
- Add migration 14: partial covering indexes WHERE job_state='running'
  for user/project/subcluster groupings (tiny B-tree vs full table)
- Inline literal state value in BuildWhereClause so SQLite matches
  partial indexes instead of parameterized placeholders
- Add per-request statsGroupCache (sync.Once per filter+groupBy key)
  so identical grouped stats queries execute only once per GQL operation
- Parallelize 4 histogram queries in AddHistograms using errgroup
- Consolidate frontend from 6 GQL aliases to 2, sort+slice top-10
  client-side via $derived

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Entire-Checkpoint: 5b26a6e5ff10
2026-03-13 14:31:37 +01:00
Christoph Kluge bc214f6cea add nullsafes to frontend 2026-03-13 14:20:45 +01:00
moebiusband cbe46c3524 Merge branch 'hotfix' of github.com:ClusterCockpit/cc-backend into hotfix 2026-03-13 13:17:34 +01:00
moebiusband 0037d969b2 Consolidate UsageDash into single GraphQL query
Merge three separate queries (topJobsQuery, topNodesQuery, topAccsQuery)
into one topStatsQuery with 6 aliased jobsStatistics fields, reducing
3 HTTP round trips to 1 on the status dashboard.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Entire-Checkpoint: 40d806a3240c
2026-03-13 13:14:29 +01:00
Christoph Kluge c23d7bd5e5 remove non-required sorting params
- caused expensive DB scans without use or need
2026-03-13 11:27:45 +01:00
Christoph Kluge 41114f7eda reorder frontend coded filters to match db indices 2026-03-13 10:48:38 +01:00
Christoph Kluge 0a0db36433 load statusDetails GQL on tab change 2026-02-25 19:12:30 +01:00
Christoph Kluge df3bc111a4 sort healthTable onMount 2026-02-25 13:23:44 +01:00
Christoph Kluge ff180affd7 reintroduce state information for pie charts
- removed by oversight
2026-02-24 10:07:09 +01:00
Christoph Kluge 31f3c28294 Remove schedState and metaData from metricHealth table 2026-02-23 13:26:06 +01:00
Christoph Kluge 7789489d08 fix automatic refresh in metric status tab 2026-02-19 14:25:03 +01:00
Christoph Kluge 62cd21eb83 switch to select filters 2026-02-19 13:01:02 +01:00
Christoph Kluge facfc9d4c9 increase column size 2026-02-18 16:22:02 +01:00
Christoph Kluge 89e06c3530 fix layout of metrichealth table 2026-02-18 16:15:04 +01:00
Christoph Kluge fe3ebe0abc add healthStatus tab to status details, add graphql endpoints and handlers 2026-02-17 14:38:06 +01:00
Christoph Kluge a5a1fd1a6a fix missing component argument 2026-02-10 15:47:38 +01:00
Christoph Kluge 5655639320 add subCluster jobFilter for statusDetail queries 2026-02-06 11:10:08 +01:00
Christoph Kluge af73ce9c6d Add usage status tabs for each subCluster 2026-02-04 18:02:21 +01:00
Christoph Kluge e8c81ba7d4 various small dashboard fixes
- piechart color, idle count cap, metricHistoMaximum increased
2026-01-29 17:46:01 +01:00
Christoph Kluge 318dbd65e0 dynamically scale dashboard sums 2026-01-29 17:01:07 +01:00
Christoph Kluge 98dc8cf5b5 add loading indicators to status detail 2026-01-23 16:54:30 +01:00
Christoph Kluge 25c5457ef3 review internal dash info card layout 2026-01-23 15:14:54 +01:00
Christoph Kluge ea6b9d910b switch to cluster grouping in dashboard queries 2026-01-23 13:39:34 +01:00
Christoph Kluge f18ae35030 review plot rendering and doublemetric opts 2026-01-21 12:21:52 +01:00
Christoph Kluge ceba4eb0c6 Review dashboards, add twosided progress to indernal dash 2026-01-15 18:18:51 +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 89875db4a9 dashboard layout fixes 2025-12-22 10:39:40 +01:00
Christoph Kluge 11e94124cc improve handling and layout if missing data in dashboard 2025-12-16 15:43:57 +01:00
Christoph Kluge c5aff1a2ca add autorefresh, remove leftover query 2025-12-15 13:55:02 +01:00
Christoph Kluge 79e1c236fe cleanup, adapt internalDash, remove debug query value 2025-12-12 17:51:54 +01:00
Christoph Kluge 4083de2a51 Add public dashboard and route, add DoubleMetricPlot and GQL queries
- add roofline legend display switch
- small fixes
2025-12-09 10:26:55 +01:00
Christoph Kluge e8d2a45afb add allocated cores gauge to status view, fix stacked labels 2025-11-14 10:40:42 +01:00
Christoph Kluge 3b533938a6 review status view components, make node states refreshable 2025-11-13 17:27:41 +01:00
Christoph Kluge 404be5f317 add optional legend flip to plots 2025-11-12 17:20:50 +01:00
Christoph Kluge 7f740455fe fix old gql field name 2025-11-12 13:09:31 +01:00
Christoph Kluge 946b992746 fix leftover dev variable 2025-11-12 12:46:00 +01:00
Christoph Kluge a6c43e6f2f finalize timed node state frontend code for status view 2025-11-11 17:03:59 +01:00
Christoph Kluge 714d6af7cd initial branch commit, improve countstate backend logic
- stacked component rough sketch
- gql data request pipeline layed out
2025-10-17 18:24:05 +02:00
Christoph Kluge 845905d9c8 remove inspect commands for dev 2025-10-15 10:35:35 +02:00
Christoph Kluge 6a43dfb0d7 Fix missing model.Aggregate entry, fix status queries and refresh 2025-10-14 18:43:00 +02:00
Christoph Kluge 32429f1481 adapt frontend for new uiConfig keys, add nodeOverview mutation 2025-10-02 18:10:33 +02:00
Christoph Kluge 19a75554b0 remove outdated components 2025-08-13 14:23:19 +02:00
Christoph Kluge 58ae476a3e move and add interface options for status tabs 2025-08-13 14:22:24 +02:00
Christoph Kluge 44d8254a0b fix layouting 2025-08-12 17:57:04 +02:00
Christoph Kluge bd2cdfcef2 reorganize plots, reduce tabs, 2025-08-12 17:04:31 +02:00