Commit Graph

20 Commits

Author SHA1 Message Date
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