Commit Graph

344 Commits

Author SHA1 Message Date
Christoph Kluge
84d6b48353 Fix: default values and new option for time filter 2023-11-15 15:03:58 +01:00
Christoph Kluge
bf64fc5213 Add completed state indicator 2023-11-13 13:43:44 +01:00
Christoph Kluge
d9f9c8aaf5 fix: retrigger gql api at manual refresh
- solves #221
2023-11-03 17:09:16 +01:00
Christoph Kluge
e61ff01518 fix: adapt roofline render to browser zoomlevel
- make roofline linewidth configurable
2023-09-15 11:09:01 +02:00
20902f842d Merge branch 'uplot_roofline_scatter' of github.com:ClusterCockpit/cc-backend into uplot_roofline_scatter 2023-09-05 15:18:38 +02:00
df7217f79c Change margins 2023-09-05 15:17:39 +02:00
Christoph Kluge
bd6f38b4f3 job view layout fixes, fix polar plot axis scales 2023-09-05 15:15:09 +02:00
Christoph Kluge
827a85412e Fix polar and roofline sizes in jobView
- add option for adaptable roofline sizing
2023-09-05 14:55:36 +02:00
Christoph Kluge
c4a9fcc1ca feat: Implemented rooflineplot with uPlot 2023-09-05 12:00:58 +02:00
Christoph Kluge
0993549cac Remove in-dev uplot scatter from this branch 2023-09-05 11:51:50 +02:00
Christoph Kluge
1b8c4e293c Change to prod data, allow and handle null data
- fix errors regarding render timing
- always collect time info in transFormData function
- remove size from polar plot
2023-09-05 11:46:34 +02:00
Christoph Kluge
b449b77b95 Rename dev component, separate rooflineHeatmap
- moved roofline helper functions to utils
2023-09-05 10:01:34 +02:00
Christoph Kluge
f235b1a99c Allow render of time information as color gradient 2023-09-05 09:19:43 +02:00
Christoph Kluge
b2b4beaeaa Finish direct data render roofplot demo 2023-09-04 16:31:47 +02:00
Christoph Kluge
8d7f942de4 Render loglog scatter, fix data format, start draw 2023-09-04 12:53:38 +02:00
Christoph Kluge
c1b5134627 Reduce uplot example code to common
denominator
2023-09-04 10:37:20 +02:00
Christoph Kluge
f5c43d60d3 initial commit for rooflineuplot 2023-09-01 13:12:55 +02:00
Christoph Kluge
4d7819802d fix typo 2023-09-01 10:13:26 +02:00
Christoph Kluge
a2a4b2e6c2 fix variable 2023-08-31 15:19:54 +02:00
Christoph Kluge
98f1255d4f Merge branch 'hotfix' of https://github.com/ClusterCockpit/cc-backend into hotfix 2023-08-31 14:48:22 +02:00
Christoph Kluge
b52330ebf0 simplify bins return 2023-08-31 14:48:19 +02:00
369757b35b Fix Navbar layout 2023-08-31 14:18:33 +02:00
1da0e3a747 Reformat 2023-08-31 13:10:01 +02:00
Jan Eitzinger
a0b8f36dbb
Merge branch 'master' into 137-improve-layout-for-smaller-screen-sizes 2023-08-31 13:05:27 +02:00
Christoph Kluge
c401e195f6
Merge pull request #208 from ClusterCockpit/hotfix
fix plot timestamp format in systems/node view
2023-08-31 12:08:16 +02:00
Jan Eitzinger
b836eee1e7
Merge pull request #205 from ClusterCockpit/166_add_scopes_analysis
166 add scopes analysis
2023-08-31 12:03:37 +02:00
Christoph Kluge
b623092721 feat: persist analysis and status pie selections 2023-08-30 15:15:53 +02:00
Christoph Kluge
59c749a164 feat: add select to analysis view pie chart
- 'Walltime' as generic default value for top list
-  Change from nodes distribution to cores distribution
2023-08-29 17:38:17 +02:00
Christoph Kluge
1771883754 fix missing key tag on piecharts 2023-08-29 15:58:25 +02:00
Christoph Kluge
3014f59cc2 feat: add new distribution plots to status view
- numCores and numAccs
2023-08-29 14:02:23 +02:00
Christoph Kluge
f933cad87f feat: add select to status view pie charts
- 'Jobs' as generic default value for top lists
- Prepare histograms for cores and accs in schema
2023-08-29 14:01:01 +02:00
Christoph Kluge
5772f38deb fix plot timestamp format in systems/node view 2023-08-28 12:53:09 +02:00
4f9b7b4e52 Merge branch 'master' into 137-improve-layout-for-smaller-screen-sizes 2023-08-28 11:00:55 +02:00
Christoph Kluge
69519ec040 Add requireField cases to resolver 2023-08-28 10:19:26 +02:00
Christoph Kluge
c84b819212 Fix frontend errors
- todo: debug backend handling
2023-08-28 10:00:20 +02:00
Christoph Kluge
ce758610b6 change: implement topX query in jobsStatistics 2023-08-25 17:38:25 +02:00
Christoph Kluge
08bfd3edff change: move searchbar and buttons into burger 2023-08-25 14:32:46 +02:00
Christoph Kluge
4a622aae41 fix link typo 2023-08-25 09:51:33 +02:00
Christoph Kluge
c84a0fb8c3 fix: push bootstrap to v5.3.1 and icons to v1.10.5 2023-08-24 16:36:59 +02:00
Christoph Kluge
77677a9f1b specify label 2023-08-24 13:11:46 +02:00
Christoph Kluge
4eceab4dc7 fix: change analysis top users to core hours 2023-08-24 12:51:55 +02:00
Christoph Kluge
6a1e35107f fix: analysis metric histogram normalized by scope
- native acc metrics normalized by accHours
- native core metrics normalized by coreHours
2023-08-24 11:52:36 +02:00
4aa9c4831f Make columns responsive 2023-08-24 09:49:19 +02:00
69b3f767f6 Make menu flat if collapsed 2023-08-24 09:38:12 +02:00
204901189d Add NavbarLinks component 2023-08-24 09:22:12 +02:00
80be78604f fix: Responsive Navbar
Missing Burger menu icon
2023-08-23 21:15:49 +02:00
Christoph Kluge
61c83c375d enable forNode special handling 2023-08-23 16:29:46 +02:00
Christoph Kluge
2f35482aff Merge branch 'master' into 166_add_scopes_analysis 2023-08-22 15:26:20 +02:00
dc67a1f103 Update frontend and backend dependencies 2023-08-21 08:49:42 +02:00
8a0977561f Merge branch 'master' into hotfix 2023-08-18 15:00:17 +02:00
Jan Eitzinger
3b9b37a0f3
Merge pull request #198 from ClusterCockpit/189-refactor-authentication-module
refactor auth module
2023-08-18 14:35:02 +02:00
Christoph Kluge
129e6a69b8 fix: metric y-range render limit for data outliers 2023-08-18 10:15:07 +02:00
87ce4f63d4 Refactor auth module
Separate parts
Add user repository
Add user schema
2023-08-17 10:29:00 +02:00
Christoph Kluge
05b43c0f21 Cleanup and fixes on new plots 2023-08-11 13:34:30 +02:00
Jan Eitzinger
cf04f420e0
Merge pull request #199 from ClusterCockpit/197_apply_chartjs_update
197 apply chartjs update
2023-08-11 11:44:22 +02:00
Christoph Kluge
f758e52ccd Disable chart.js animations 2023-08-11 11:42:30 +02:00
Jan Eitzinger
ea0c0de687
Merge pull request #193 from ClusterCockpit/71_improve_systemsview
71 improve systemsview
2023-08-11 10:54:04 +02:00
Christoph Kluge
a2cc1bd226
Merge branch 'master' into 71_improve_systemsview 2023-08-11 10:34:05 +02:00
Jan Eitzinger
8910a612ac
Merge pull request #191 from ClusterCockpit/138_show_core_accelerator_scope_statstable
138 show core accelerator scope statstable
2023-08-11 10:27:52 +02:00
Christoph Kluge
c04344bfde Remove unused css styles 2023-08-11 10:25:35 +02:00
Jan Eitzinger
6834f07df3
Merge pull request #192 from ClusterCockpit/31_141_apply_uplot_update
31 141 apply uplot update
2023-08-11 10:24:32 +02:00
Christoph Kluge
32420fb531 Add pie color legend to Top-Tables 2023-08-11 09:41:39 +02:00
Christoph Kluge
e91cdf6b79 Add dependencies 2023-08-11 09:15:43 +02:00
Christoph Kluge
e80ce7a474 feat: Rework analysis view top to contain piechart 2023-08-10 18:06:19 +02:00
Christoph Kluge
da8cefe153 feat: Change histogram to piechart in status view 2023-08-10 18:05:16 +02:00
Christoph Kluge
bbd8637ca6 Fix Polar sizing
- Note: Not adaptive to viewport size, but will snap to grid
2023-08-10 15:10:06 +02:00
Christoph Kluge
b42a11d30e feat: Use chart.js for polarplot n jobview 2023-08-10 12:05:02 +02:00
Christoph Kluge
ed056b065e feat: add sorting in sub-node scopes in statsTable 2023-08-09 17:24:01 +02:00
Christoph Kluge
163462b29c pre-sort numerical ids in statstable
- sorting still fixed if not nodescope
2023-08-09 16:34:00 +02:00
Christoph Kluge
f286872a33 fix: hover legend display now depends on datasize 2023-08-09 12:43:58 +02:00
Christoph Kluge
e32042204b Change histograms to uplot where x-axis is number 2023-08-09 12:42:25 +02:00
Christoph Kluge
423e800d9e feat: add hover-legend to histograms & metricplots 2023-08-08 13:27:01 +02:00
Christoph Kluge
298051c334 add fallback for acc metrics only on node level 2023-08-04 10:54:18 +02:00
Christoph Kluge
8a473de793 fix: core/accelerator scope in statstable on load 2023-08-03 19:09:15 +02:00
Christoph Kluge
4244a37440 fix: correct timestamp logic in node-view 2023-08-03 12:38:00 +02:00
Christoph Kluge
6e0c13df89 Correct negative relative timestamps for node view 2023-08-03 12:27:03 +02:00
Christoph Kluge
1921be661b Fix x-axis order for relative timestamps
- WIP: Will change to full times, as tick location is incorrect
2023-08-02 14:20:39 +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
742c2e399e feat: Add uplot histogram, implemented in userview
- For testing
- add conversion function to utils
2023-07-26 13:44:06 +02:00
Christoph Kluge
2655bda644 feat: enable uplot XY-Zoom for metrics
- Disable jobView manual zoom
2023-07-24 11:12:22 +02:00
Christoph Kluge
f7571211fd initial branch commit 2023-07-21 16:33:53 +02:00
Jan Eitzinger
25f5a889d0
Merge pull request #183 from ClusterCockpit/180_fix_render_acc_nodescope
fix: check if acc metrics are acc scope by default
2023-07-20 07:41:09 +02:00
Joachim Meyer
650bcae6be Add arrayJobId searchbar option. 2023-07-19 09:46:48 +02:00
Jan Eitzinger
1062989686
Merge pull request #184 from ClusterCockpit/177_add_scrambling
fix: add scrambling to user names and projectIds
2023-07-19 09:30:09 +02:00
aab50775d8 Improve message layout and styling 2023-07-19 08:47:42 +02:00
c6a0d442cc feat: Add optional notification banner on homepage
Fixes #185
2023-07-19 08:25:14 +02:00
2674f2a769 Add message banner to template 2023-07-19 07:51:04 +02:00
Christoph Kluge
eed8bb2d44 fix: add scrambling to user names and projectIds 2023-07-17 15:45:40 +02:00
Christoph Kluge
58c7b0d1b4 fix: check if acc metrics are acc scope by default
- Fixes #180
2023-07-17 14:26:24 +02:00
Christoph Kluge
5a67569fd3 Fix keyword in node view jobs query 2023-07-03 09:45:09 +02:00
8fee8fcab2 Revert check for null in concurrent job list 2023-07-03 09:37:25 +02:00
120567269d Make state filter array 2023-07-03 09:01:28 +02:00
Christoph Kluge
2f471dc192 Change listQuery to jobId array, adapt filter pipe 2023-06-30 16:55:34 +02:00
Christoph Kluge
4729905322 Forgot to adapt link 2023-06-30 15:06:26 +02:00
Christoph Kluge
aacb7489e6 StartTime not required for jobs running on node 2023-06-30 15:04:01 +02:00
Christoph Kluge
c04aea89c9 Implement node filter in frontend, fix backend
- Add running job count and link to list to single node view
2023-06-30 12:01:27 +02:00
Christoph Kluge
08063feef2 Add listQuery link to job view concurrentJobs 2023-06-29 14:59:51 +02:00
Christoph Kluge
45a3346783 Merge branch 'master' into hotfix: Bring branch up to date 2023-06-23 10:41:59 +02:00
34f15cc407 Convert styling and layout to bootstrap 2023-06-23 10:20:48 +02:00
Christoph Kluge
3c26deda30 Format message.tmpl 2023-06-23 09:42:31 +02:00
Christoph Kluge
1761754865 Forgot tmpl 2023-06-23 09:03:36 +02:00
8eda4b306d Unify and cleanup message template 2023-06-22 18:09:40 +02:00
82b8e8c284 Fix bug in SearchBar Handler
Introduce Message boxes
Incomplete and needs cleanup
2023-06-22 16:26:09 +02:00
eb867528e3 feat - Allow to overwrite login template 2023-06-22 07:01:29 +02:00
Christoph Kluge
b450cdd20f Add logic step to findThresholds
- fixes reference lines for subclusters w/o extra config
2023-06-20 13:16:00 +02:00
Christoph Kluge
5ba84efab6 User and Project List with 30d filter plus label
- Readable labels for other quick select ranges also
- Note: URL not reformatted for copy-bility
2023-06-19 17:59:44 +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
10ca86e583 Handle removed metrics in isMissing check 2023-06-19 10:25:34 +02:00
Christoph Kluge
c5834e69d3 Fix Plottable removed metrics filter
- excluded all plots where bool was not explicitly set
2023-06-19 09:51:50 +02:00
Christoph Kluge
4c708dba3f Improve alignment of notice cards 2023-06-16 16:49:19 +02:00
Christoph Kluge
f466312015 Skip render of disabled metrics in job view
-Add function to check if metric is disabled
-Relates to  #119
2023-06-16 16:27:30 +02:00
Christoph Kluge
19ad462abf Match fixed scopeGranularity in frontend 2023-06-16 15:21:10 +02:00
Christoph Kluge
4cfe52e7c9 Add warning card if no data to plot
- series.data array empty, but toplevel data return itself OK
2023-06-16 15:09:23 +02:00
Christoph Kluge
e577e086a6 Fix Format for nodes status 2023-06-16 13:01:41 +02:00
Christoph Kluge
ece57bf65e Introduce units.js, centralizes value normalizing 2023-06-16 12:44:34 +02:00
Christoph Kluge
dbd2b491ed Correct default values when switching clusters 2023-06-15 16:11:51 +02:00
Christoph Kluge
2146fccaae Improve resources filter 2023-06-15 15:40:24 +02:00
Christoph Kluge
2b9afe8f1d Improve scopes queried by default: adds accels 2023-06-14 17:28:40 +02:00
Christoph Kluge
222e697b2f Fix threshold lines not rendering 2023-06-14 16:46:17 +02:00
Christoph Kluge
16d5fa182c Fix unit load blocking systems and node views 2023-06-14 15:32:35 +02:00
Christoph Kluge
5e8b687992 Increase clickable area in systems node links 2023-06-14 12:56:19 +02:00
Christoph Kluge
a43ca80ce5 Hide switch to enable rsizing
- Confusing option for user
- Keeps performance fix of fixed canvas dimensions
2023-06-14 11:42:01 +02:00
Christoph Kluge
3c2ad234df Remove non required dev leftover 2023-06-13 16:49:34 +02:00
Christoph Kluge
b7fa4f17d2 Merge branch 'hotfix' of https://github.com/ClusterCockpit/cc-backend into hotfix 2023-06-13 16:43:34 +02:00
Christoph Kluge
cdd25eaa15 Fix job view scope dropdown data load 2023-06-13 16:42:32 +02:00
Christoph Kluge
8aa7f4eb07 Fix roofline data reference
- caused roofline data being regarded as missing
2023-06-13 16:42:04 +02:00
addeeea395 Update documentation and streamline language 2023-06-13 15:14:19 +02:00
Christoph Kluge
76d6943691 Merge branch 'hotfix' of https://github.com/ClusterCockpit/cc-backend into hotfix 2023-06-12 17:01:10 +02:00
Christoph Kluge
dd74f27708 Add adaptive histogram sizing toggle
- Patches lagging filters in single-user view
-See comment in User.root.svelte for detail
2023-06-12 17:01:07 +02:00
29b6022f97 Allow to overwrite legal texts 2023-06-12 16:45:23 +02:00
c7c83fc08c Replace Analysis with Status view in Homepage 2023-06-12 14:58:33 +02:00
Christoph Kluge
02c31a24bd Add filter presets to status list links 2023-06-12 12:12:15 +02:00
Christoph Kluge
0d2e20e9e4 Handle users with no roles as "user role"
-for backwards compatibility
2023-06-12 11:35:16 +02:00
Christoph Kluge
71db1f8cdd Remove hardcoded time label 2023-06-09 13:55:09 +02:00
Christoph Kluge
6e5afd1192 Add switch for small histograms
- adapts distance of labels to x axis
2023-06-09 13:30:55 +02:00
Christoph Kluge
3d75f0ef3c Fix missed variable name change 2023-06-09 12:42:01 +02:00
Christoph Kluge
9f42f5b28f Add TotalAccHours to project and user lists 2023-06-09 12:28:24 +02:00
5ba6f0ed3a Refactor and adapt to new API 2023-06-09 09:09:41 +02:00
Christoph Kluge
4e568e60cd Del JobName from Job type, jobStats name required
- Regenerated GQL
- Relates to #121
- return jobStats name as string
2023-06-07 14:13:59 +02:00
Christoph Kluge
dbebecfcdb Update variable naming for filter implementation 2023-06-06 17:03:08 +02:00
Christoph Kluge
b63969e5cc Update variable naming for filter implementation 2023-06-06 16:58:08 +02:00
Christoph Kluge
246ac0563f Fix filter implementation in user view 2023-06-06 16:52:40 +02:00
Christoph Kluge
37d9b5172b Fix UserOrProject functionality
- fixed by restoring correct implementation of filters in frontend
2023-06-06 16:28:54 +02:00
Christoph Kluge
37d5db443f Merge branch 'master' into 97_107_mark_and_show_shared 2023-06-01 15:24:26 +02:00
Christoph Kluge
541d54aa7c Users/Managers only display number of shared jobs 2023-06-01 15:13:12 +02:00
Christoph Kluge
270750a78d Move concurrentJobs as field to main job query 2023-05-16 12:42:06 +02:00
Christoph Kluge
96e4448505 Format cleanup 2023-05-12 11:19:37 +02:00
Christoph Kluge
23e485afce Mutations second pass, add subscriptions + errors 2023-05-12 11:05:39 +02:00
Christoph Kluge
4bd1d30aa5 Adapt TagManagement to new urql version 2023-05-11 18:33:48 +02:00