Christoph Kluge
2401a2b940
Merge branch 'import-data-sanitation' of https://github.com/ClusterCockpit/cc-backend into import-data-sanitation
2023-03-31 17:18:49 +02:00
Christoph Kluge
adc1d94e3f
subcluster in metricSelect, add infobox to systems
...
- Default: Show Clusters next to Metrics
- New: If Cluster filter activem show subclusters instead (reactive)
- add note to analysis view
- systems view now with info boxes if metric is removed for subcluster
2023-03-31 17:18:16 +02:00
Christoph Kluge
68a839bf1c
Remove comments
2023-03-30 15:23:31 +02:00
Christoph Kluge
0c1b66aad9
Adapt svelte to new schema, add removed metric box
...
- Moved 'scope' field to parent jobMetric
- Implemented unit { prefix, base } where necessary
- SubCluster Metric Config 'remove' option implemented in Joblists
2023-03-30 15:21:35 +02:00
Christoph Kluge
1bb2827aeb
Merge branch 'import-data-sanitation' of https://github.com/ClusterCockpit/cc-backend into import-data-sanitation
2023-03-29 10:39:42 +02:00
Christoph Kluge
fc133f328a
Add check to ccms getSubCluster routine
...
- Fixes nil pointer panic if topology requested from undef'd subcluster
- rest.go: vscode LINT
2023-03-29 10:39:31 +02:00
Christoph Kluge
52d424b332
Add conditional startDemo.sh, only initializes if var not found
2023-01-24 15:03:09 +01:00
Christoph Kluge
390bc4c223
Resize gauge card, hide scale on roofline, set colorDots to true
...
- Scale display switchable by new option 'showTime'
2022-10-07 15:01:14 +02:00
Christoph Kluge
64ea4d63c8
Forgit to add file to last commit
2022-10-07 13:39:31 +02:00
Christoph Kluge
87c80af5af
Format status gauge values via existing svelte function
...
- Temporary solution to catch Kilo, Mega, Giga prefixes
- Backend conversion requires more extensive graphql changes than expected
2022-10-07 13:35:44 +02:00
Christoph Kluge
3867ea137b
Update and regenerate graphQL for new unit type
2022-10-06 18:04:47 +02:00
Christoph Kluge
ec772f5aff
Fix the fix
...
Note: Changes should be removed before merge - Fix to allow compilation only
2022-10-05 14:09:11 +02:00
Christoph Kluge
bb0f8a2905
Fix compilation
...
- Unit.Prefix prop used in assignement instead if Unit type
2022-10-05 11:16:43 +02:00
Christoph Kluge
74c50bd424
Merge branch 'import-data-sanitation' into 48_improve_status_view: Unit pkg update required for dev
2022-10-05 11:01:43 +02:00
Christoph Kluge
526f8be01f
Change histogram bar color to light bluish grey
...
- Hex #85abce
2022-09-30 17:19:01 +02:00
Christoph Kluge
d1c47f4359
Improve Histogram.svelte
...
- Add bold axis labels
- Labels defined as element props xlabel and ylabel
- Label offset dynamic to plot height (10 percent)
- Add adjustable gaps between bars
2022-09-30 17:00:15 +02:00
Christoph Kluge
46baa6e534
First optical layout Iteration
2022-09-28 16:13:46 +02:00
Christoph Kluge
21b03d02b2
Swagger definition URL now based on config.json Addr field
2022-09-27 10:33:36 +02:00
Christoph Kluge
d405f0da41
Fix leftover local dev address
2022-09-27 10:02:01 +02:00
Christoph Kluge
24f9d4f934
Add buildInfo to frontend footer
2022-09-27 09:56:17 +02:00
Christoph Kluge
c9184a7575
Move identical parts of stopJob routines to new function
...
- No solution for two swagger doc annotations for one function (ie function handles two inputs) found
- Also: Delete handwritten openapi.yaml
2022-09-23 11:59:18 +02:00
Christoph Kluge
b96c515c2c
Small additions to 'getJobs' API docs
2022-09-22 13:32:40 +02:00
Christoph Kluge
93713edcac
Add '401 unauthorized' to api docs
2022-09-21 17:13:55 +02:00
Christoph Kluge
872bc77708
Add missing error codes to documentation, fix wrong success type
2022-09-21 17:03:01 +02:00
Christoph Kluge
6712b15034
Better represent 'exclusiveMinimum' from JSON schemata
2022-09-21 14:21:13 +02:00
Christoph Kluge
94c77d8a67
Small additions to swagger docs
2022-09-21 14:12:24 +02:00
Christoph Kluge
05a84cb95c
Extend parsed swagger documentation by adding comments
2022-09-21 11:54:19 +02:00
Christoph Kluge
9f9462496a
Move swagger comment from TagJobApiRequest to Tag
2022-09-16 13:18:50 +02:00
Christoph Kluge
705f76fa3a
Remove GitHub merge comment lines
2022-09-16 10:12:37 +02:00
Christoph Kluge
922e94e835
Fix API data types, use unsecured router for /docs
...
- Note: Use /docs swagger playground without login
- Otherwise: Session User will be used which leads to role mismatch
2022-09-15 17:38:11 +02:00
Christoph Kluge
8e90c954ff
First commit for swagger api documentation, not yet fully functional
...
- Problems with JWT auth (eg startJob fails with missing role)
- Manually fixed auto-parsing errors (missing api.TagJobApiRequest, wrong API @Description)
2022-09-15 12:37:44 +02:00
Christoph Kluge
0170e19363
Added options for "support" role on user create, role add, role edit
2022-09-12 18:05:43 +02:00
Christoph Kluge
802c10588f
Completely replace outdated template config rendering
...
- Deleted respective old files
- Renamed new components
2022-09-09 15:27:00 +02:00
Christoph Kluge
d351a043c2
Omit submit on colorscheme selection: now updates directly on select
2022-08-26 15:28:04 +02:00
Christoph Kluge
87ce3c3e8e
Update card title
2022-08-26 15:21:37 +02:00
Christoph Kluge
c9954787c1
Add admin function to remove roles, rename addroles to editroles
2022-08-26 15:15:36 +02:00
Christoph Kluge
0186e886e4
Display go-set error messages, move html error text to log (commented)
2022-08-26 13:52:45 +02:00
Christoph Kluge
7bfdc83779
Initial commit on branch: Rewrite config.tmpl as svelte component(s)
2022-08-26 11:45:14 +02:00
Christoph Kluge
c28604b524
Fix LoadNodeData definition for influxv2client
2022-03-29 15:53:44 +02:00
Christoph Kluge
18ed5c8839
Remove legacy from metricrepo kind switchcase
2022-03-29 15:32:53 +02:00
Christoph Kluge
107fe24f78
Remove legacy query syntax influx client
2022-03-24 10:52:05 +01:00
Christoph Kluge
255eceba48
Reduce logging on wrong float assertion
2022-03-22 15:48:34 +01:00
Christoph Kluge
9f3a304a02
Fix merge artifacts
2022-03-22 11:13:11 +01:00
Christoph Kluge
2811136fd4
Merge branch 'master' into add-influxdb2-client
2022-03-22 11:10:32 +01:00
Christoph Kluge
830019e67f
Moved influx value verification to rows loop
2022-03-22 10:59:24 +01:00
Christoph Kluge
e4730a16eb
Correct return of node data, revised code
...
-Scopes socket and core added as switch cases, only barebone
2022-03-21 16:08:16 +01:00
Christoph Kluge
686e5eaa0e
Fix loop definition
2022-03-21 14:14:48 +01:00
Christoph Kluge
b87cc767c7
Better basic scope handling, handle float64 assertion errors
2022-03-21 13:36:19 +01:00
Christoph Kluge
622239b90c
Return node scope instead of throwing error
2022-03-21 11:18:31 +01:00
Christoph Kluge
c1acabae07
Correct return of node data from higher granularity in influxdb source
2022-03-21 10:10:47 +01:00
Christoph Kluge
7632f10f2b
Add separate influxrepo for legacy clusters
...
-Reasons include legacy flux queries and bucket definitions
2022-03-18 12:57:57 +01:00
Christoph Kluge
ed18df2ecf
Adapt new rawConfig unmarshal for influxdbclient
2022-03-18 11:40:42 +01:00
Christoph Kluge
cad68362fe
Update Subproject
2022-03-17 16:18:33 +01:00
Christoph Kluge
3f65065874
Start implementing improved MetricDataRepository configuration
2022-03-17 16:15:35 +01:00
Christoph Kluge
3e0de24307
Test Commit on Github Error
2022-03-17 15:56:45 +01:00
Christoph Kluge
25abd70f7c
Update test.yml
2022-03-17 10:51:27 +01:00
Christoph Kluge
df191a32d2
Add error return for new line protocol
2022-03-16 17:28:05 +01:00
Christoph Kluge
9d9e4022d8
Improved time formatting
2022-03-16 11:58:57 +01:00
Christoph Kluge
4ea688817e
Fix stats assignments
...
-Frontend now renders plots correctly
2022-03-16 11:42:28 +01:00
Christoph Kluge
a26f78929b
Init StatsSeries as nil
...
-Frontend now shows metric plots
2022-03-16 09:56:38 +01:00
Christoph Kluge
1044406225
Add updated requirement files
2022-03-16 09:45:48 +01:00
Christoph Kluge
a6cf3dd49b
Initial rework of existing influxdb2 client
...
-Fixes generally outdated method definitions
-Fixes stoptime calculation
2022-03-15 18:35:27 +01:00