df2a13def2
Merge branch 'hotfix' of github.com:ClusterCockpit/cc-backend into hotfix
2026-03-13 14:34:11 +01:00
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
cbe46c3524
Merge branch 'hotfix' of github.com:ClusterCockpit/cc-backend into hotfix
2026-03-13 13:17:34 +01:00
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
8e86e8720d
Make stats query selective. Add stats index. Add paging to user list.
...
Entire-Checkpoint: d42431eee30d
2026-03-12 20:16:55 +01:00
Christoph Kluge
2d07bdf6b5
fix: add missing nullsafe in publicDash
2026-03-12 14:13:45 +01:00
Christoph Kluge
5c72664162
bump frontend patch versions
2026-03-10 18:15:24 +01:00
Christoph Kluge
f3e796f3f5
add nullsafes to node view
2026-03-10 17:05:50 +01:00
Christoph Kluge
d2bc046fc6
fix ranged filter GT and LT conditions, reduce energy filter preset
2026-03-09 11:28:30 +01:00
Christoph Kluge
88bd83b07e
add nullsafe fallbacks
2026-03-06 10:19:46 +01:00
Christoph Kluge
d74465215d
simplify and fix adaptive threshold logic
2026-03-06 10:09:44 +01:00
Christoph Kluge
2c519ab2dc
bump frontend dependencies
...
- fixes CVE-2020-7660 in @rollup/plugin-terser
2026-03-05 12:23:00 +01:00
Christoph Kluge
db625239ea
apply updated rangefilter logic to energy and stats
2026-03-04 14:18:30 +01:00
Christoph Kluge
84fda9c8e2
optimize resource filter by only using range query if required, review filter component
2026-03-03 19:08:16 +01:00
Christoph Kluge
f11ff3302d
revert urql/svelte bump, bump svelte patch version, regenerate backend
2026-03-03 17:47:17 +01:00
Christoph Kluge
4e1b00a032
frontend dependency bump, includes @urql/svelte 5.0.0
2026-03-03 16:33:19 +01:00
Christoph Kluge
348b6010e8
fix typo preventing template condition to work
2026-02-26 15:09:01 +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
45a1bc78b7
Add csv export for user/prject list
...
Fixes #389
2026-02-24 20:26:12 +01:00
Christoph Kluge
ff180affd7
reintroduce state information for pie charts
...
- removed by oversight
2026-02-24 10:07:09 +01:00
dadcb983e7
Merge branch 'dev' into add_GetMemoryDomainsBySocket_2026
2026-02-23 18:47:03 +01:00
Christoph Kluge
31f3c28294
Remove schedState and metaData from metricHealth table
2026-02-23 13:26:06 +01:00
86fbecc679
Update frontend deps
2026-02-22 09:45:48 +01:00
8ee6c09e9b
Enable to run taggers from within admin web interface
2026-02-22 09:42:53 +01:00
Christoph Kluge
bae7ec11b4
migrate changes from cc-backend PR#364
2026-02-20 15:10:02 +01:00
Christoph Kluge
705d70ddc0
add row plot cursor syncing
2026-02-19 15:42:20 +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
d2ff4a2e02
Fix log endpoint and reformat
2026-02-16 09:09:50 +01:00
98f9c18f72
Merge branch 'dev' into log-aggregator
2026-02-15 19:53:34 +01:00
Christoph Kluge
3215bc3de0
review loading indicators in nodeList
2026-02-13 11:58:52 +01:00
Christoph Kluge
48729b172d
improve nodeList loading indicator, streamlining
2026-02-12 14:27:41 +01:00
Christoph Kluge
e75da7f8cc
fix reactivity key placement in nodeList
2026-02-11 18:32:29 +01:00
Christoph Kluge
d07a537f0b
move starttime range string
2026-02-10 17:24:30 +01:00
Christoph Kluge
5e4994a64c
revert external config supply for nodeList component
2026-02-10 16:46:18 +01:00
Christoph Kluge
a5a1fd1a6a
fix missing component argument
2026-02-10 15:47:38 +01:00
Christoph Kluge
49a1748641
add not configured info cards, show short job filter options if one active filter
2026-02-10 13:49:23 +01:00
0dff9fa07f
Update docs and agent files
2026-02-10 09:17:34 +01:00
Christoph Kluge
51e9d33f9f
fix empty availability print case
2026-02-09 17:21:49 +01:00
Christoph Kluge
d1e7ea09bc
review handling of disabled metrics in frontend
2026-02-09 15:33:59 +01:00
Christoph Kluge
7dd3ee3084
remove undocumented minRunningFor filter, add short jobs quick selection instead
2026-02-09 12:23:21 +01:00
624746f34b
Fix 404 handler route
2026-02-07 18:29:27 +01:00
363e839c49
Add simple log viewer in web frontend
2026-02-07 07:05:33 +01:00