Commit Graph

  • 826658f762 Refactor. Add Swagger UI docs. Jan Eitzinger 2024-06-25 20:08:25 +02:00
  • 7538570bc5 Cleanup Jan Eitzinger 2024-06-18 07:27:27 +02:00
  • 79e492961e Merge pull request #18 from ClusterCockpit/refactor Jan Eitzinger 2024-06-18 07:17:07 +02:00
  • 80518897cf Merge in refactored branch Jan Eitzinger 2024-06-18 07:13:56 +02:00
  • 52704cabb5 Further cleanup Jan Eitzinger 2024-05-06 17:51:50 +02:00
  • 5ca66aef87 Put token authentication in separate file Jan Eitzinger 2024-05-06 15:40:22 +02:00
  • 8c9761fe2a Cleanup Makefile. Add version flag. Jan Eitzinger 2024-05-06 15:10:45 +02:00
  • fcc8eac2d5 Restructure and Cleanup Jan Eitzinger 2024-05-06 14:20:43 +02:00
  • b2528f958c Continue restructuring. Intermediate state. Jan Eitzinger 2024-05-06 09:27:28 +02:00
  • e1e6694656 Intermediate state Jan Eitzinger 2024-05-03 21:08:01 +02:00
  • 0297e6d20d Update dependencies Jan Eitzinger 2024-03-22 09:02:41 +01:00
  • 626b533cf2 Refactor and improve error handling for JWT authentication Jan Eitzinger 2024-03-22 09:02:10 +01:00
  • 61892666a7 Add test target in Makefile Jan Eitzinger 2024-03-22 09:00:48 +01:00
  • dc1ee0f17c Update test action Jan Eitzinger 2024-03-21 20:08:06 +01:00
  • b721cf23e3 Switch to jwt-auth v5 Jan Eitzinger 2024-03-20 17:59:19 +01:00
  • 61e9191d4d Update README.md Jan Eitzinger 2023-10-19 09:22:09 +02:00
  • 26335a2216 Remove WithUnit query option store_unit_test Jan Eitzinger 2023-08-22 17:05:23 +02:00
  • 3f3a1501ff Return unit in API requests per default store_unit_per_buffer Thomas Roehl 2023-08-22 16:16:19 +02:00
  • 997dd8f2ee Update test case to check the metric directly Thomas Roehl 2023-08-22 16:15:01 +02:00
  • eb5b22e3d5 Update archive_test.go Jan Eitzinger 2023-08-22 15:33:19 +02:00
  • 04cf55534f Import unit test Jan Eitzinger 2023-08-22 15:27:52 +02:00
  • 2d77dae30c Add basic test case for reading in checkpoint files Thomas Roehl 2023-08-22 15:17:27 +02:00
  • 5e5586f319 Add unit to buffers Thomas Roehl 2023-08-21 15:47:16 +02:00
  • e71e1b123b Minor fix to Makefile Thomas Roehl 2023-04-14 18:25:20 +02:00
  • 7c891e1593 Add request flag WithUnit and return the metric unit if requested Thomas Roehl 2023-04-14 18:25:07 +02:00
  • 051cba4666 Add unit for archive reader/writer Thomas Roehl 2023-04-14 18:24:40 +02:00
  • 89acbe8db2 Accept unit tags for incoming metrics and store it in the buffer. Thomas Roehl 2023-04-14 18:24:22 +02:00
  • c8c6560040 Merge pull request #16 from TomTheBear/main v0.0.1 Thomas Gruber 2022-12-20 18:04:07 +01:00
  • 6be411b5a7 Add Release action with RPMs and DEB packages Thomas Roehl 2022-12-13 15:23:49 +01:00
  • 9fd2048e03 Add Release action with RPMs and DEB packages Thomas Roehl 2022-12-13 14:57:43 +01:00
  • 384c1fb6dd Add Release action with RPMs and DEB packages Thomas Roehl 2022-12-13 14:51:42 +01:00
  • eb7d9b12b4 Add Release action with RPMs and DEB packages Thomas Roehl 2022-12-13 14:46:35 +01:00
  • 5b92fb8a42 Add Release action with RPMs and DEB packages Thomas Roehl 2022-12-13 14:41:35 +01:00
  • ff31c10bf8 add dependency for Ubuntu 22.04 job Thomas Roehl 2022-12-13 14:37:49 +01:00
  • 10b1cbb752 Add Release action with RPMs and DEB packages Thomas Roehl 2022-12-13 14:36:38 +01:00
  • ecf7abf828 Add Release action with RPMs and DEB packages Thomas Roehl 2022-12-13 14:22:33 +01:00
  • 81de3491a3 systemd service: have unlimited number of open file descriptors Lou Knauer 2022-07-20 16:12:22 +02:00
  • 5f8fc36b5f Make type-ids strings Lou Knauer 2022-05-04 09:18:56 +02:00
  • db099605ec Add a firstWrite method Lou Knauer 2022-04-07 14:29:03 +02:00
  • 6c4c8bb3ea Offset first write timestamp by halve the interval (#9) Lou Knauer 2022-04-07 11:09:01 +02:00
  • ba67312c93 More debug options Lou Knauer 2022-04-01 14:01:43 +02:00
  • f3d7e5c28a Cleanup; /api/debug returns JSON Lou Knauer 2022-03-31 14:17:27 +02:00
  • aca13c1769 Some more heap/gc tuning Lou Knauer 2022-03-24 10:31:11 +01:00
  • 3eba385e97 Handle unaligned data more robustly Lou Knauer 2022-03-18 08:37:25 +01:00
  • 5431dd113e Cache decoded tokens (signature check is expensive) Lou Knauer 2022-03-14 08:50:28 +01:00
  • fdbf94f2a1 Optionally delete checkpoints instead of archiving Lou Knauer 2022-03-14 08:48:22 +01:00
  • 0b66f7c5d7 Reduce gc target percentage Lou Knauer 2022-03-09 14:21:03 +01:00
  • 720924a7dd Fix float precision Lou Knauer 2022-03-08 09:32:35 +01:00
  • 2528dc8403 Add decodeLine benchmark Lou Knauer 2022-03-08 09:31:16 +01:00
  • 3619d7a157 Refactor and simplify Lou Knauer 2022-03-08 09:27:44 +01:00
  • 66be268b57 Merge pull request #8 from ClusterCockpit/rename_and_makefile Lou 2022-03-08 09:19:24 +01:00
  • bbf49e1b21 Add Makefile Thomas Roehl 2022-03-07 12:22:22 +01:00
  • 3ec4dd7f69 Add spec file for RPM building Thomas Roehl 2022-03-07 12:22:14 +01:00
  • 7a5a611d8e Add additional files for systemd and init system Thomas Roehl 2022-03-07 12:21:59 +01:00
  • d546b0e7d1 Move systemd service file to scripts subfolder Thomas Roehl 2022-03-07 12:21:20 +01:00
  • 36c1e81609 Rename main source to fit binary name Thomas Roehl 2022-03-07 12:21:01 +01:00
  • af8a275088 Fix panic in ListChildren Lou Knauer 2022-03-04 15:33:47 +01:00
  • 902fcf9510 Allow multiple nats subscriptions Lou Knauer 2022-02-22 14:03:45 +01:00
  • d8e25063f9 allow setting the cluster tag via query parameter Lou Knauer 2022-02-22 13:58:10 +01:00
  • 182a1fa67d fix file descriptor leak Lou Knauer 2022-02-21 12:29:46 +01:00
  • 29fe272ea9 Remove 'scope' field from config Lou Knauer 2022-02-21 10:00:29 +01:00
  • eb2f4edfe1 parallelize zipping/archiving Lou Knauer 2022-02-21 09:53:40 +01:00
  • dea577424e parallel checkpointing Lou Knauer 2022-02-17 11:00:30 +01:00
  • 6ab7b6879c Continue even if checkpointing some singel file fails Lou Knauer 2022-02-17 10:11:27 +01:00
  • 7201251600 Enable basic authentication for NATS Lou Knauer 2022-02-04 08:52:53 +01:00
  • 83d1cb2a98 Add documentation, change config format Lou Knauer 2022-02-04 08:46:14 +01:00
  • 8fb2557f97 Support HTTPS; Add /api/debug Lou Knauer 2022-02-04 08:30:50 +01:00
  • f38353a879 fix error behaviour, enable padding by default Lou Knauer 2022-02-02 11:45:52 +01:00
  • 15d28af12d Change /api/query return type Lou Knauer 2022-02-02 11:26:05 +01:00
  • 407e650745 fix NaN too null conversion and restore duration Lou Knauer 2022-01-31 16:34:42 +01:00
  • 371afe5ab5 optionally pad the returned data with null Lou Knauer 2022-01-31 16:32:50 +01:00
  • 5c16393e30 Update README.md Lou Knauer 2022-01-31 10:53:06 +01:00
  • f8ec5994c3 Use time.ParseDuration for intervals in config Lou Knauer 2022-01-31 10:52:30 +01:00
  • af38004a76 better JSON encoding (less allocs) Lou Knauer 2022-01-24 09:55:33 +01:00
  • 4a78a24034 Copy all byte slices from decoder Lou Knauer 2022-01-24 09:50:12 +01:00
  • bf7c33513b reduce allocations and locking Lou Knauer 2022-01-21 10:47:40 +01:00
  • 76c58d7799 Add OpenAPI spec Lou Knauer 2022-01-20 10:43:10 +01:00
  • b6b219a9ad Unified API for all query types; remove dead code Lou Knauer 2022-01-20 10:42:44 +01:00
  • 15733cb1b7 move decodeLine function Lou Knauer 2022-01-20 10:14:28 +01:00
  • 3fb95f88ee bugfix in query endpoint Lou Knauer 2022-01-10 16:11:13 +01:00
  • 97dcc95a2f add query api endpoint Lou Knauer 2022-01-07 08:52:55 +01:00
  • 4509a4a355 support subtypes in line protocol Lou Knauer 2022-01-07 08:49:13 +01:00
  • 50731e43a8 add config flag; fix bug in archive Lou Knauer 2021-12-15 10:58:03 +01:00
  • ac7e981321 improve logging messages Lou Knauer 2021-12-15 10:23:21 +01:00
  • 878e9d7154 Start working on pre-computed stats Lou Knauer 2021-12-15 09:59:33 +01:00
  • 5d89d87a2d Reduce gaps/rewrites in the same cell with offset Lou Knauer 2021-12-02 12:57:35 +01:00
  • becf41f98c Reset buffer size when reused Lou Knauer 2021-12-02 12:53:49 +01:00
  • fee0061172 Fix panic in findBuffers when Any pattern is used Lou Knauer 2021-12-01 13:22:07 +01:00
  • 61f9056781 Improve startup time by reading data in parallel Lou Knauer 2021-12-01 12:30:01 +01:00
  • 0219c48e78 Fix bug when reading past newest buffer Lou Knauer 2021-11-30 13:09:21 +01:00
  • 38d605b6c4 Optionally provide statistics on the timeseries enpoint Lou Knauer 2021-11-26 09:51:18 +01:00
  • 579a05e4df Fix bug in calculation of what is archived Lou Knauer 2021-11-22 17:50:15 +01:00
  • 458383d152 Do re-write buffers loaded from checkpoint; Add SIGUSR1 for debugging Lou Knauer 2021-11-22 17:04:09 +01:00
  • d006e26fd4 Add all-nodes api endpoint for system view Lou Knauer 2021-11-16 11:27:28 +01:00
  • eff61ce93e Use argument instead of default value for nats connection Christoph Kluge 2021-11-12 13:41:30 +01:00
  • 1c12c655f1 api: return errors via JSON, not status codes Lou Knauer 2021-10-19 12:17:16 +02:00
  • 024f66f49c Make nats optional; Update README.md Lou Knauer 2021-10-12 13:26:54 +02:00
  • 26528151b1 Merge pull request #7 from ClusterCockpit/new-line-protocol-format Lou 2021-10-11 16:29:16 +02:00
  • 807c613cae Add (untested) HTTP write API Lou Knauer 2021-10-11 16:28:05 +02:00
  • a15238a7a9 Add multiplication by time.Second Lou Knauer 2021-10-11 11:06:42 +02:00