Commit Graph
371 Commits
Author SHA1 Message Date
tomasz.kowalczewski 42358a16fc Re #77: Debugging 2021-10-23 18:07:00 +02:00
tomasz.kowalczewski c00837273d Re #77: Debugging 2021-10-23 17:57:25 +02:00
tomasz.kowalczewski 79148ac1e3 Re #77: Debugging 2021-10-23 17:15:50 +02:00
tomasz.kowalczewski c6f1e7b396 Re #77: Debugging and making tests run faster by disabling some ot them. 2021-10-23 16:31:36 +02:00
tomasz.kowalczewski 26273f5ac7 Re #77: Debugging test failure on CircleCI. 2021-10-23 16:08:21 +02:00
tomasz.kowalczewski 8b8befc8ac Re #77: Debugging test failure on CircleCI. 2021-10-23 15:56:43 +02:00
tomasz.kowalczewski d732c1fdf0 Re #77: Explicitly using Loki 2.3.0 docker image. 2021-10-23 15:34:18 +02:00
tomasz.kowalczewski 6cd29a189e Re #77: Changed default logShipperWakeupIntervalMillis to 10ms. Added documentation. 2021-10-23 09:22:46 +02:00
tomasz.kowalczewski bca115eef9 Re #77: Improved property naming (logShipperIntervalMillis -> logShipperWakeupIntervalMillis) and implemented missing Logback part. 2021-10-21 19:01:12 +02:00
tomasz.kowalczewski 7ae613aae1 Re #77: Renamed LogBufferAgent and its thread (ReadingLogBufferAndSendingHttp) to LogShipper. Added option to configure time it sleeps between reading from log buffer to not hog CPU. Also now default is 25ms instead of hardcoded 1ms previously. 2021-10-21 18:50:24 +02:00
tomasz.kowalczewski 7883f4851f Re #77: Renamed LogBufferAgent and its thread (ReadingLogBufferAndSendingHttp) to LogShipper. Added option to configure time it sleeps between reading from log buffer to not hog CPU. Also now default is 25ms instead of hardcoded 1ms previously. 2021-10-21 18:50:13 +02:00
tomasz.kowalczewski 3b7e609cfc Re #74: Fix test by providing time argument in nanoseconds. 2021-10-21 14:24:47 +02:00
tomasz.kowalczewski 0ec6a8a5f7 Debug logging 2021-10-21 08:43:30 +02:00
tomasz.kowalczewski 87d67a5fce Re #74: Fix test by providing time argument in nanoseconds. 2021-10-21 00:19:44 +02:00
tomasz.kowalczewski fb09f5664e Re #74: Created StringBuilders thread local holder and using thread local StringBuilder in Log4jAdapterLabelPrinter that can be shared between many threads. 2021-10-20 23:44:56 +02:00
tomasz.kowalczewski 1a7694a89b Created StringBuilders thread local holder and using thread local StringBuilder in Log4jAdapterLabelPrinter that can be shared between many threads. 2021-10-20 23:44:04 +02:00
tomasz.kowalczewski 4947bff2b0 Moved TextBuilders to utils package. 2021-10-20 23:43:16 +02:00
tomasz.kowalczewski 2968309733 Moved TextBuilders to utils package. 2021-10-20 23:43:05 +02:00
tomasz.kowalczewski 9729d2bd2c Test for MDC logging. 2021-10-20 23:42:19 +02:00
tomasz.kowalczewski 50a7c7f5ac Added clear error message when test resource was missing. 2021-10-20 23:42:05 +02:00
Tomasz Kowalczewski e073d52d53 Merge pull request #73 from tkowalcz/config-by-properties
Config by properties
2021-09-04 22:48:14 +02:00
tomasz.kowalczewski 63c381efee Small tweaks to wording. 2021-09-04 22:39:15 +02:00
tomasz.kowalczewski 17062dbad9 Small tweaks to wording. 2021-09-04 22:38:23 +02:00
tomasz.kowalczewski 864f2e33cd Small tweaks to formatting. 2021-09-04 22:37:25 +02:00
tomasz.kowalczewski 66c87350e3 Documented configuring Tjahzi using property file. 2021-09-04 22:28:23 +02:00
tomasz.kowalczewski f99c262d70 Added test for loading Tjahzi configuration from property file based config file. 2021-09-04 22:18:03 +02:00
Tomasz Kowalczewski b8b309a578 Updated loki version in artifact descriptor 2021-08-13 12:06:12 +02:00
tomasz.kowalczewski d71d869ec0 [skip ci] [maven-release-plugin] prepare for next development iteration 2021-08-08 20:10:28 +00:00
tomasz.kowalczewski 798bf31f51 [skip ci] [maven-release-plugin] prepare release tjahzi-parent-0.9.17 2021-08-08 20:10:27 +00:00
Tomasz Kowalczewski 8138ffbd58 Merge pull request #70 from tkowalcz/69-upgrade-agrona
Re #69: Upgraded agrona to 1.12.0 to avoid allocatons when serializin…
2021-08-07 11:58:27 +02:00
Tomasz Kowalczewski d5f73353c0 Re #69: Upgraded agrona to 1.12.0 to avoid allocatons when serializing stirng to UnsageBuffer. 2021-08-07 10:40:27 +02:00
Tomasz Kowalczewski 2802294713 Merge pull request #68 from tkowalcz/refactor-tests
Refactor tests
2021-08-07 10:21:35 +02:00
Tomasz Kowalczewski 8e00a7e923 Static imports. 2021-08-07 09:29:01 +02:00
tomasz.kowalczewski dec21db1c2 This time also cleaning up tests on logback side. 2021-08-07 01:42:17 +02:00
tomasz.kowalczewski 35bd48c62c Reformatting, changing imports etc. 2021-08-06 23:05:28 +02:00
Tomasz Kowalczewski 49b99bac70 Refactored tests to remove repeated setup and assert code. 2021-08-04 00:26:13 +02:00
tomasz.kowalczewski 0e39bd8950 [skip ci] [maven-release-plugin] prepare for next development iteration 2021-08-02 20:16:13 +00:00
tomasz.kowalczewski 0cfe1b6420 [skip ci] [maven-release-plugin] prepare release tjahzi-parent-0.9.16 2021-08-02 20:16:09 +00:00
Tomasz Kowalczewski 51f28da8b0 Re #39: Documented shutdown timeout. 2021-07-31 00:52:43 +02:00
Tomasz Kowalczewski 81e419afb5 Re #39: Using shutdown timeout from configuration to pass to Agrona Agent (not exactly ideal but makes more sense than hardcoded value). 2021-07-31 00:11:07 +02:00
Tomasz Kowalczewski 684756e379 Re #39: Configurable shutdown timeout. 2021-07-30 23:15:32 +02:00
Tomasz Kowalczewski 9e07ef34ca Merge pull request #67 from tkowalcz/39-drain-on-shutdown
39 drain on shutdown
2021-07-30 14:19:47 +02:00
Tomasz Kowalczewski c7343aab5f Re #39: Added unit tests 2021-07-30 14:08:22 +02:00
Tomasz Kowalczewski 89eb4db274 Re #39: Fixed unstable tests. 2021-07-29 00:04:12 +02:00
Tomasz Kowalczewski 7a1d153a61 Re #39: Added tests for logback implementation of draining. 2021-07-28 23:30:07 +02:00
tomasz.kowalczewski 97c6c88abc Re #39: Implemented drain-on-shutdown with testcontainers test. Done some refactoring - still in progress. 2021-07-25 00:28:35 +02:00
tomasz.kowalczewski 2e9653a156 Removed spurious newline. 2021-07-24 10:54:28 +02:00
Tomasz Kowalczewski a3864003f1 Merge pull request #66 from efimmatytsin/master
getLogBufferByteRemainsSize method
2021-07-22 07:28:00 +02:00
Efim Matytsin 8b3f30b30e getLogBufferByteRemainsSize method 2021-07-21 15:53:19 +04:00
tomasz.kowalczewski cd488ed10f [skip ci] [maven-release-plugin] prepare for next development iteration 2021-07-20 19:44:23 +00:00