Commit Graph

50 Commits

Author SHA1 Message Date
Lou Knauer
96f91f1a1c Add metaData to GraphQL-API; Remove jobs limit in REST-API 2022-02-22 09:19:59 +01:00
Lou Knauer
dcb3fd6a6a Add GraphQL endpoint for counting jobs 2022-02-19 10:28:29 +01:00
Lou Knauer
84f975407e No more database access in schema.resolvers.go 2022-02-17 09:20:57 +01:00
Lou Knauer
f7cabddda5 Move jobs query logic to repository 2022-02-17 09:04:57 +01:00
Lou Knauer
dd5d5214d7 Merge branch 'master' of github.com:ClusterCockpit/cc-backend 2022-02-16 09:33:35 +01:00
Lou Knauer
b85832646f Show correct count of jobs/tags 2022-02-16 09:32:38 +01:00
Jan Eitzinger
81ef072cf3 Reformatting 2022-02-16 09:06:23 +01:00
Lou Knauer
f738a332c1 Support for memoryDomain scoped metrics 2022-02-15 13:19:26 +01:00
Lou Knauer
e3596b4776 fix SQL error (cast between float/int) 2022-02-03 15:59:45 +01:00
Lou Knauer
4f431d0236 Update frontend; Remove debug logging 2022-02-02 13:59:08 +01:00
Lou Knauer
3e7b89aebb make partition optional in nodeMetrics query 2022-02-02 13:05:21 +01:00
Lou Knauer
29a25dbaff start working on non-node-scoped metrics in node/system view 2022-01-31 15:16:05 +01:00
Lou Knauer
84431585f9 better logging 2022-01-31 15:15:29 +01:00
Lou Knauer
eca7ad0de0 Add numHWThreads/numAccelerators filter 2022-01-27 12:32:28 +01:00
Lou Knauer
9e92d6076f Add partition and array-job-id filters 2022-01-27 10:49:19 +01:00
Lou Knauer
436eaf0a9d Change import path 2022-01-27 09:40:59 +01:00
Lou Knauer
1c1b043246 Add REST endpoint for metrics 2022-01-27 09:29:53 +01:00
Lou Knauer
32c32ba949 authentication: roles as regular array; simplified LDAP 2022-01-27 09:29:11 +01:00
Lou Knauer
ae3e03f9b9 Add metric renaming map and mock-repo 2022-01-24 10:06:25 +01:00
Lou Knauer
9034cb90aa make database schema mysql compatible; use prepared statements 2022-01-20 10:00:55 +01:00
Lou Knauer
ef91f862c9 working support for non-node scoped metrics; caching 2022-01-17 13:51:20 +01:00
Lou Knauer
98c4de65a7 work on socket scoped metrics 2022-01-17 13:51:20 +01:00
Lou Knauer
102dd85524 renamed submodule 2022-01-10 16:17:40 +01:00
Lou Knauer
3f88e512f0 fixes in the GraphQL schema 2022-01-07 09:44:34 +01:00
Lou Knauer
a6e8d5b484 Slight GraphQL-API changes 2021-12-20 10:48:58 +01:00
Lou Knauer
5403177edc all schemas new 2021-12-17 15:49:22 +01:00
Lou Knauer
89333666b3 BC: new schemas for basically everything 2021-12-16 13:17:48 +01:00
Lou Knauer
8178b6e854 Implement nodeMetrics query 2021-12-09 16:25:48 +01:00
Lou Knauer
4ca0cba7cd individual configurations per user 2021-12-08 10:12:19 +01:00
Lou Knauer
2c81a96133 Fixes; Get Clusters from config.go 2021-11-26 10:35:07 +01:00
Lou Knauer
61cdcf4ead Implementation of resolvers for new GraphQL schema 2021-10-26 10:24:43 +02:00
Lou Knauer
b8d23f8ea1 New GraphQL schema 2021-10-26 10:22:02 +02:00
Lou Knauer
e4c0b3e955 Update GraphQL schema 2021-09-23 11:45:20 +02:00
Lou Knauer
ad80e1373c Add tag mutations 2021-05-21 09:30:15 +02:00
Lou Knauer
2605623324 Change cluster.json to camelCase, go fmt 2021-05-12 18:34:55 +02:00
Lou Knauer
030f1a3fba Add filters for jobs by statistics like load 2021-05-06 13:50:38 +02:00
Lou Knauer
b6df8e88b9 new filterRanges query and Cluster.filterRanges field 2021-05-06 08:36:24 +02:00
Jan Eitzinger
5c0ada7ec9 Load cluster jsons from jobArchive. 2021-05-03 10:23:47 +02:00
Jan Eitzinger
3e6fccd273 Cleanup obsolete data type in Schema. 2021-05-03 10:23:30 +02:00
Lou Knauer
836c1aea3a change tags filter api, add load_avg, use camelCase in API 2021-04-30 10:26:13 +02:00
Lou Knauer
365b1a2066 Introduce clusters query and type 2021-04-22 15:00:54 +02:00
Lou Knauer
3004e2909a Add tags field to Job 2021-04-21 10:12:19 +02:00
Lou Knauer
499d2cdc22 started implementing support for tags 2021-04-14 18:53:18 +02:00
Lou Knauer
bbb3281b6a add memUsed_max, flopsAny_avg, ... to Job type 2021-04-14 17:57:19 +02:00
Lou Knauer
7e32855030 remove JobData, add hasProfile, rename Job-Metrics-Query 2021-04-12 14:01:59 +02:00
Lou Knauer
1d8b9a96c7 New selection possibility when querying available metrics 2021-04-08 11:11:59 +02:00
Lou Knauer
b7186cb1cd Make jobAvailableMetricsById more flexible
There are more different metrics than I thought. With this
change, the query mentioned above does not care about the
name of the Metric or whether it is part of the JobData type.
2021-04-07 14:46:02 +02:00
Lou Knauer
a52445086b Serve job metric data via GraphQL 2021-04-07 09:19:21 +02:00
Jan Eitzinger
9940c44f2b Fix path errors. Fix data schema. 2021-03-31 08:50:53 +02:00
Jan Eitzinger
b7970585ea Introduce new golang job-archive backend 2021-03-31 07:23:48 +02:00