Commit Graph

32 Commits

Author SHA1 Message Date
b721cf23e3 Switch to jwt-auth v5 2024-03-20 17:59:19 +01:00
Lou Knauer
5f8fc36b5f Make type-ids strings 2022-05-04 09:18:56 +02:00
Lou Knauer
ba67312c93 More debug options 2022-04-01 14:01:43 +02:00
Lou Knauer
f3d7e5c28a Cleanup; /api/debug returns JSON 2022-03-31 14:17:27 +02:00
Lou Knauer
5431dd113e Cache decoded tokens (signature check is expensive) 2022-03-14 08:50:28 +01:00
Lou Knauer
3619d7a157 Refactor and simplify 2022-03-08 09:27:44 +01:00
Lou Knauer
d8e25063f9 allow setting the cluster tag via query parameter 2022-02-22 13:58:10 +01:00
Lou Knauer
83d1cb2a98 Add documentation, change config format 2022-02-04 08:46:14 +01:00
Lou Knauer
8fb2557f97 Support HTTPS; Add /api/debug 2022-02-04 08:31:03 +01:00
Lou Knauer
f38353a879 fix error behaviour, enable padding by default 2022-02-02 11:45:52 +01:00
Lou Knauer
15d28af12d Change /api/query return type 2022-02-02 11:26:05 +01:00
Lou Knauer
371afe5ab5 optionally pad the returned data with null 2022-01-31 16:32:50 +01:00
Lou Knauer
af38004a76 better JSON encoding (less allocs) 2022-01-24 09:55:33 +01:00
Lou Knauer
b6b219a9ad Unified API for all query types; remove dead code 2022-01-20 10:42:44 +01:00
Lou Knauer
3fb95f88ee bugfix in query endpoint 2022-01-10 16:11:13 +01:00
Lou Knauer
97dcc95a2f add query api endpoint 2022-01-07 08:52:55 +01:00
Lou Knauer
878e9d7154 Start working on pre-computed stats 2021-12-15 09:59:33 +01:00
Lou Knauer
38d605b6c4 Optionally provide statistics on the timeseries enpoint
This is not useful for ClusterCockpit currently, but when archiving
a job or for the job-view, this can speed things up in the future.
2021-11-26 09:51:18 +01:00
Lou Knauer
458383d152 Do re-write buffers loaded from checkpoint; Add SIGUSR1 for debugging 2021-11-22 17:04:09 +01:00
Lou Knauer
d006e26fd4 Add all-nodes api endpoint for system view 2021-11-16 11:27:28 +01:00
Lou Knauer
1c12c655f1 api: return errors via JSON, not status codes 2021-10-19 12:17:16 +02:00
Lou Knauer
807c613cae Add (untested) HTTP write API 2021-10-11 16:28:05 +02:00
Lou Knauer
27a5c0b561 Use JWT authentication for the API
This commit takes care of the API part of issue #6.
2021-09-20 09:27:31 +02:00
Lou Knauer
53d5734fd5 New peek query (newest values) 2021-09-13 12:25:56 +02:00
Lou Knauer
b55a67f869 New selector type for better selection of sockets/cpus 2021-09-08 12:17:10 +02:00
Lou Knauer
e4c3bc4db1 Use Golangs contextes 2021-09-08 09:08:51 +02:00
Lou Knauer
930974a8df Make stats behave like read 2021-09-07 09:24:50 +02:00
Lou Knauer
cbe5a0714c Basic stats support 2021-09-01 08:48:35 +02:00
Lou Knauer
4c51f5c613 Fix metric-store.go and apo.go, new config file format 2021-08-31 15:17:36 +02:00
Lou Knauer
a125bd5bfd Add API endpoints, update README.md 2021-08-24 10:41:30 +02:00
Lou Knauer
8d827e44b4 Use type with custom MarshalJSON for metrics 2021-08-24 10:39:16 +02:00
Lou Knauer
f7310bc70a Very basic initial API endpoint 2021-08-20 12:54:11 +02:00