Commit Graph

109 Commits

Author SHA1 Message Date
Thomas Roehl
7c891e1593 Add request flag WithUnit and return the metric unit if requested 2023-04-14 18:25:07 +02:00
Thomas Roehl
051cba4666 Add unit for archive reader/writer 2023-04-14 18:24:40 +02:00
Thomas Roehl
89acbe8db2 Accept unit tags for incoming metrics and store it in the buffer. 2023-04-14 18:24:22 +02:00
Thomas Gruber
c8c6560040
Merge pull request #16 from TomTheBear/main
Add action to build RPM and DEB packages and publish as release
2022-12-20 18:04:07 +01:00
Thomas Roehl
6be411b5a7 Add Release action with RPMs and DEB packages 2022-12-13 15:23:49 +01:00
Thomas Roehl
9fd2048e03 Add Release action with RPMs and DEB packages 2022-12-13 14:57:43 +01:00
Thomas Roehl
384c1fb6dd Add Release action with RPMs and DEB packages 2022-12-13 14:51:42 +01:00
Thomas Roehl
eb7d9b12b4 Add Release action with RPMs and DEB packages 2022-12-13 14:46:35 +01:00
Thomas Roehl
5b92fb8a42 Add Release action with RPMs and DEB packages 2022-12-13 14:41:35 +01:00
Thomas Roehl
ff31c10bf8 add dependency for Ubuntu 22.04 job 2022-12-13 14:37:49 +01:00
Thomas Roehl
10b1cbb752 Add Release action with RPMs and DEB packages 2022-12-13 14:36:38 +01:00
Thomas Roehl
ecf7abf828 Add Release action with RPMs and DEB packages 2022-12-13 14:22:33 +01:00
Lou Knauer
81de3491a3 systemd service: have unlimited number of open file descriptors 2022-07-20 16:12:22 +02:00
Lou Knauer
5f8fc36b5f Make type-ids strings 2022-05-04 09:18:56 +02:00
Lou Knauer
db099605ec Add a firstWrite method 2022-04-07 14:29:03 +02:00
Lou Knauer
6c4c8bb3ea Offset first write timestamp by halve the interval (#9) 2022-04-07 11:09:01 +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
aca13c1769 Some more heap/gc tuning 2022-03-24 10:31:11 +01:00
Lou Knauer
3eba385e97 Handle unaligned data more robustly 2022-03-18 08:37:25 +01:00
Lou Knauer
5431dd113e Cache decoded tokens (signature check is expensive) 2022-03-14 08:50:28 +01:00
Lou Knauer
fdbf94f2a1 Optionally delete checkpoints instead of archiving 2022-03-14 08:48:22 +01:00
Lou Knauer
0b66f7c5d7 Reduce gc target percentage 2022-03-09 14:21:03 +01:00
Lou Knauer
720924a7dd Fix float precision 2022-03-08 09:32:35 +01:00
Lou Knauer
2528dc8403 Add decodeLine benchmark 2022-03-08 09:31:16 +01:00
Lou Knauer
3619d7a157 Refactor and simplify 2022-03-08 09:27:44 +01:00
Lou
66be268b57
Merge pull request #8 from ClusterCockpit/rename_and_makefile
Rename main Go file and add scripts for system(d) integration
2022-03-08 09:19:24 +01:00
Thomas Roehl
bbf49e1b21 Add Makefile 2022-03-07 12:22:22 +01:00
Thomas Roehl
3ec4dd7f69 Add spec file for RPM building 2022-03-07 12:22:14 +01:00
Thomas Roehl
7a5a611d8e Add additional files for systemd and init system 2022-03-07 12:21:59 +01:00
Thomas Roehl
d546b0e7d1 Move systemd service file to scripts subfolder 2022-03-07 12:21:20 +01:00
Thomas Roehl
36c1e81609 Rename main source to fit binary name 2022-03-07 12:21:01 +01:00
Lou Knauer
af8a275088 Fix panic in ListChildren 2022-03-04 15:33:47 +01:00
Lou Knauer
902fcf9510 Allow multiple nats subscriptions 2022-02-22 14:18:44 +01:00
Lou Knauer
d8e25063f9 allow setting the cluster tag via query parameter 2022-02-22 13:58:10 +01:00
Lou Knauer
182a1fa67d fix file descriptor leak 2022-02-21 12:29:46 +01:00
Lou Knauer
29fe272ea9 Remove 'scope' field from config 2022-02-21 10:00:29 +01:00
Lou Knauer
eb2f4edfe1 parallelize zipping/archiving 2022-02-21 09:53:40 +01:00
Lou Knauer
dea577424e parallel checkpointing 2022-02-17 11:00:30 +01:00
Lou Knauer
6ab7b6879c Continue even if checkpointing some singel file fails 2022-02-17 10:11:27 +01:00
Lou Knauer
7201251600 Enable basic authentication for NATS 2022-02-04 08:52:53 +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
407e650745 fix NaN too null conversion and restore duration 2022-01-31 16:34:42 +01:00
Lou Knauer
371afe5ab5 optionally pad the returned data with null 2022-01-31 16:32:50 +01:00
Lou Knauer
5c16393e30 Update README.md 2022-01-31 10:53:06 +01:00
Lou Knauer
f8ec5994c3 Use time.ParseDuration for intervals in config 2022-01-31 10:52:30 +01:00
Lou Knauer
af38004a76 better JSON encoding (less allocs) 2022-01-24 09:55:33 +01:00