Commit Graph
169 Commits
Author SHA1 Message Date
tomasz.kowalczewski a313b458be Re #5: Further progress. Fixed/updated tests. All but one pass. 2021-02-06 22:17:45 +01:00
tomasz.kowalczewski 4c375dd506 Re #5: Working on in house protobuf serialisation and reducing allocations. 2021-02-06 19:20:54 +01:00
tomasz.kowalczewski 99af35ac18 Merge branch 'master' into 5-in-house-protobuf 2021-02-04 20:59:55 +01:00
tomasz.kowalczewski b845f92e3c [skip ci] [maven-release-plugin] prepare for next development iteration 2021-02-02 20:21:59 +00:00
tomasz.kowalczewski 7eefa77cc4 [skip ci] [maven-release-plugin] prepare release tjahzi-0.8.2 2021-02-02 20:21:53 +00:00
tomasz.kowalczewski 8c338ef3de Fixed Netty buffer leak. 2021-02-02 21:08:24 +01:00
tomasz.kowalczewski 3f7b2cad24 Merge branch 'master' into 5-in-house-protobuf 2021-01-31 19:25:01 +01:00
tomasz.kowalczewski 3e2e6b354c [skip ci] [maven-release-plugin] prepare for next development iteration 2021-01-31 16:24:22 +00:00
tomasz.kowalczewski cdc79b82f8 [skip ci] [maven-release-plugin] prepare release tjahzi-0.8.1 2021-01-31 16:24:16 +00:00
tomasz.kowalczewski c94552356e Next release will be patch release. 2021-01-31 17:12:21 +01:00
Tomasz Kowalczewski a827bc2798 Merge pull request #27 from tkowalcz/26-snappy-32k-bug
Re #26: Fixed bug caused by Snappy class from Netty being able to com…
2021-01-31 13:22:59 +01:00
tomasz.kowalczewski 0539d70240 Re #26: Fixed bug caused by Snappy class from Netty being able to compress max 32kb of data. Now it is called multiple times but since it appends uncompressed data size at the beginning I had to copy the class contents and remove that (we only need it once).
Also streamlined dependency on netty-all.
2021-01-31 11:47:21 +01:00
tomasz.kowalczewski 7b8bf0d298 [skip ci] [maven-release-plugin] prepare for next development iteration 2021-01-28 00:05:40 +00:00
tomasz.kowalczewski 3095590746 [skip ci] [maven-release-plugin] prepare release tjahzi-0.8 2021-01-28 00:05:33 +00:00
tomasz.kowalczewski 6083bc1627 Manually preparing for 0.8 release. 2021-01-28 00:53:15 +01:00
tomasz.kowalczewski e63a7f3e15 [skip ci] [maven-release-plugin] prepare release tjahzi-0.7 2021-01-27 22:31:56 +00:00
tomasz.kowalczewski f5b61bed14 Revert "[skip ci] [maven-release-plugin] prepare release tjahzi-0.7"
This reverts commit bf1ebd6c
2021-01-27 23:19:51 +01:00
tomasz.kowalczewski d37c098758 Revert "[skip ci] [maven-release-plugin] prepare release tjahzi-0.7"
This reverts commit bf1ebd6c
2021-01-26 22:33:55 +01:00
tomasz.kowalczewski c62c4e5268 Merge remote-tracking branch 'origin/master' 2021-01-26 22:33:22 +01:00
tomasz.kowalczewski ee2bacaaf2 Changing how releases are performed. 2021-01-26 22:32:05 +01:00
tomasz.kowalczewski bf1ebd6c76 [skip ci] [maven-release-plugin] prepare release tjahzi-0.7 2021-01-26 07:53:49 +00:00
tomasz.kowalczewski bad0d0d5d1 Trying to make circleci checkout repo without detached HEAD. 2021-01-26 08:46:32 +01:00
tomasz.kowalczewski d023fb45db Never version of maven release orb. 2021-01-26 00:37:39 +01:00
tomasz.kowalczewski 110c6f922d Of course there was an error in yaml... 2021-01-26 00:08:44 +01:00
tomasz.kowalczewski 989f6014c6 Working to make CircleCI trigger on tag. 2021-01-26 00:07:40 +01:00
tomasz.kowalczewski 07bf4b8c24 Re #5: Initial stab at implementing in-house protobuf serialzier. Looks like it works. 2021-01-25 19:05:11 +01:00
Tomasz Kowalczewski d2ebf5f531 Merge pull request #25 from tkowalcz/23-preserialize-static-lables
Re #23: Static labels are serialized into string at startup. If there…
2021-01-24 13:31:45 +01:00
tomasz.kowalczewski 3172b3cfd2 Re #23: Static labels are serialized into string at startup. If there are no other labels to add to the stream then we will just use that string. 2021-01-24 13:13:07 +01:00
Tomasz Kowalczewski 8a02d34ed4 Merge pull request #24 from tkowalcz/21-send-logic
Re #21: Added more elaborate logic to decide when we should send data…
2021-01-24 01:54:28 +01:00
tomasz.kowalczewski 81ebb0911a Re #21: Added more elaborate logic to decide when we should send data to Loki. Using terminology from promtail introduced 'batchSize' and 'batchWait' parameters. Fixed ByteBuf and HttpMessage leak due to missing release. 2021-01-23 23:56:12 +01:00
Tomasz Kowalczewski 600cef10e9 Merge pull request #20 from tkowalcz/7-monitoring
7 monitoring
2021-01-22 20:05:43 +01:00
tomasz.kowalczewski 67a0bfbcc6 Re #7: Added more tests and some small changes of monitoring and Netty code. Added closing connection if keepalive is not in force. 2021-01-22 19:54:21 +01:00
tomasz.kowalczewski 6d679896a1 Added way to inject custom monitoring modules and provided default implementations as well as Dropwizard based implementation. Dropwizard dependency is marked as "provided" so it does not impact resulting artifact and can only be used if target application also includes dropwizard library. 2021-01-20 22:58:04 +01:00
tomasz.kowalczewski 8f1c9791d1 Moved metric calculating pipeline stages before request handler otherwise they would not run. 2021-01-20 22:55:53 +01:00
tomasz.kowalczewski 90fcdfd572 Re #7: Cleaned up after moving debug thread logic to separate class. 2021-01-16 20:47:44 +01:00
tomasz.kowalczewski 6b0ec58497 Re #7: Added default value to maxRequestsInFlight, and check in the builder if it is > 0 (or else exception is thrown). 2021-01-16 20:47:18 +01:00
tomasz.kowalczewski a6e63cb6b9 Re #7: Added configuration option 'maxRequestsInFlight' that is used to size monitoring array. Added Netty pipeline stage for tracking number of requests in flight. Added monitoring of number of bytes of logs sent. Added thread that dumps stats to stdout. 2021-01-16 19:16:56 +01:00
tomasz.kowalczewski 64626a39fa Re #7: Added component named MonitoringModule with empty implementation and one that uses AtomicLongs for counting events and Agrona's DistinctErrorLog for storing exceptions. While various counters are being updated by other components and response times are logged we do not provide way of plugging in ones own implementation or reading the counters back (yet). 2021-01-09 10:34:52 +01:00
tomasz.kowalczewski 86d2dc4745 Re #7: Cleaned up import 2021-01-09 00:18:18 +01:00
Tomasz Kowalczewski 3c95cef6e9 Update README.md 2020-12-30 01:59:42 +01:00
Tomasz Kowalczewski 9f196f9c48 Added note about LogLevelLabel configuration element 2020-12-30 01:58:50 +01:00
tomasz.kowalczewski 9e289366e8 Re #15 & #18: Changed label validation regex, previous was incorrectly copied. 2020-12-29 21:23:05 +01:00
tomasz.kowalczewski cb6e4ef363 Re #15 & #18: Trying to fix test that fails on CircleCI. 2020-12-29 20:42:25 +01:00
tomasz.kowalczewski 9563d18c3b Re #15 & #18: Fixed bug in deserializer (method arguments were switched). 2020-12-29 20:12:32 +01:00
tomasz.kowalczewski 0d41f9d004 Re #15 & #18: Implemented checking of label syntax and label duplication (incorrect labels will be dropped). Added checking if log level label is correct. Added tests. Refactored appender builder out of LokiAppender. 2020-12-29 19:56:17 +01:00
Tomasz Kowalczewski a984ae3acc Merge pull request #19 from tkowalcz/17-labels-skip-log-buffer
Re #17: Moved static set of labels to other side of log buffer - no n…
2020-12-27 00:08:38 +01:00
tomasz.kowalczewski 6fc656021a Re #17: Moved static set of labels to other side of log buffer - no need to serialize it when logging. 2020-12-26 23:55:59 +01:00
Tomasz Kowalczewski 3ed773208e Merge pull request #16 from tkowalcz/9-log-level-label
9 log level label
2020-12-26 19:22:01 +01:00
tomasz.kowalczewski 49d5f91a22 Re #9: Tests. 2020-12-26 18:01:21 +01:00
tomasz.kowalczewski e96f28fb79 Re #9: Cleanup. 2020-12-26 18:01:14 +01:00