Loki Logback Appender Versions Save

Fast and lightweight implementation of Logback appender for Grafana Loki

v1.5.1

2 months ago

Bug fixes

#222 Memory issue when labels change quite often (on every log request)

v1.5.0

2 months ago

This release brings you JSON message layout and several enhancements in retry functionality. It also contains a few breaking changes, the most notable one is an upgrade to Logback v1.3.x. Please check the Migration guide before upgrading.

New features

#193 Add support for retries on 429 rate limited requests (by @acm19) #197 Upgrade Logback to 1.3.x #204 Add exponential backoff and jitter for retries (by @acm19) #206 JSON message layout support

Bug fixes

#211 Appender shouldn't fail on label parsing error #218 JsonLayout: Message parameters are missing

Refactoring

#213 DummyHttpClient interface improvement #214 Polishing retry functionality

Misc

#198 GrafanaCloud URL updated for integration tests #208 Switch compatibility test from Java 20 to Java 21 #210 Add performance test for JsonLayer #212 Dependencies upgraded

v1.5.0-rc1

3 months ago

This is a first release candidate for Loki4j v1.5.0. You can use it for feature evaluation and testing. Please don't hesitate to report any issues or regressions to the project's issue tracker. Below is the list of changes since 1.5.0-m1.

New features

#206 JSON message layout support #204 Add exponential backoff and jitter for retries (by @acm19)

Bug fixes

#211 Appender shouldn't fail on label parsing error

Refactoring

#213 DummyHttpClient interface improvement #214 Polishing retry functionality

Misc

#208 Switch compatibility test from Java 20 to Java 21 #210 Add performance test for JsonLayer #212 Dependencies upgraded

Compatibility

There are a breaking changes related to Logback v1.3.x upgrade and retry functionality. You can track the progress on docs update here.

v1.5.0-m1

5 months ago

This is a feature preview for Loki4j v1.5.0. You can use it for feature evaluation and testing. Please don't hesitate to report any issues or regressions to the project's issue tracker.

New features

#193 Add support for retries on 429 rate limited requests (by @acm19) #197 Upgrade Logback to 1.3.x

Misc

#198 GrafanaCloud URL updated for integration tests

v1.4.2

7 months ago

Bug fixes

#188 Test fails with 'CodedOutputStream was writing to a flat byte array and ran out of space'

Misc

#185 Switch integration test from Loki 2.8.1 to Loki 2.9.1 #186 Dependencies upgraded

v1.4.1

11 months ago

Bug fixes

#177 Metric for unsent events added #180 Decrement unsent events count on encoding error

Misc

#181 Switch integration test from Loki 2.7.3 to Loki 2.8.1 #182 Switch compatibility test from Java 19 to Java 20 #183 Non-final Loki4jAppender

v1.4.0

1 year ago

Version 1.4.0 contains several new features and improvements. There are some breaking changes for these who use Protobuf format. Please check the Migration guide for the details.

New features

#136 RegEx support for label.pairSeparator #137 Add support for SLF4J Marker #139 Error types for send metrics #141 Configurable stream cache #142 Separate protobuf jar #147 Make internal queues check timeout configurable #150 Add retry functionality for failed batch send #172 Batch payload is printed out in tracing mode

Bug fixes

#162 Fix endless loop on encoding exception #170 Fix double logging for retry and send errors

Refactoring

#138 LabelMarker moved into dedicated slf4j package #140 Deprecated batchSize setting is removed #144 Gradle deprecations fixed #148 Dependencies upgraded

Misc

#134 Switch integration test from Loki 2.4.2 to Loki 2.5.0 #135 Java 18 added to compatibility test #143 Switch integration test from Loki 2.5.0 to Loki 2.6.1 #152 Github actions update #153 Workflow for publishing logback-appender #157 Switch compatibility test from Java 18 to Java 19 #160 Workflow for publishing logback-protobuf #163 Switch integration test from Loki 2.6.1 to Loki 2.7.0 #165 Switch integration test from Loki 2.7.0 to Loki 2.7.1 #169 Switch integration test from Loki 2.7.1 to Loki 2.7.3 #173 Docs covering Loki4j tracing mode

v1.4.0-rc2

1 year ago

This is a second release candidate for Loki4j v1.4.0. You can use it for feature evaluation and testing. Please don't hesitate to report any issues or regressions to the project's issue tracker. Below is the list of changes since 1.4.0-rc1.

Bug fixes

#162 Fix endless loop on encoding exception

Misc

#152 Github actions update #153 Workflow for publishing logback-appender #157 Switch compatibility test from Java 18 to Java 19 #160 Workflow for publishing logback-protobuf #163 Switch integration test from Loki 2.6.1 to Loki 2.7.0 #165 Switch integration test from Loki 2.7.0 to Loki 2.7.1

Compatibility

There is a breaking change for Protobuf-format users. You can track the progress on docs update here.

v1.4.0-rc1

1 year ago

This is a first release candidate for Loki4j v1.4.0. You can use it for feature evaluation and testing. Please don't hesitate to report any issues or regressions to the project's issue tracker. Below is the list of changes since 1.4.0-m1.

New features

#141 Configurable stream cache #142 Separate protobuf jar #147 Make internal queues check timeout configurable #150 Add retry functionality for failed batch send

Refactoring

#140 Deprecated batchSize setting is removed #144 Gradle deprecations fixed #148 Dependencies upgraded

Misc

#143 Switch integration test from Loki 2.5.0 to Loki 2.6.1

Compatibility

There is a breaking change for Protobuf-format users. You can track the progress on docs update here.

v1.4.0-m1

1 year ago

This is a feature preview for Loki4j v1.4.0. You can use it for feature evaluation and testing. Please don't hesitate to report any issues or regressions to the project's issue tracker.

New features

#136 RegEx support for label.pairSeparator #137 Add support for SLF4J Marker #139 Error types for send metrics

Refactoring

#138 LabelMarker moved into dedicated slf4j package

Misc

#134 Switch integration test from Loki 2.4.2 to Loki 2.5.0 #135 Java 18 added to compatibility test