Skip to content

Releases: loki4j/loki-logback-appender

v1.1.0-m1

29 Jan 21:17
db35b63
Compare
Choose a tag to compare
v1.1.0-m1 Pre-release
Pre-release

This is a first milestone release for Loki4j v1.1.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

#63 InstrumentedLoki4jAppender replaced with property metricsEnabled
#65 Add support for sending tenantId to Loki

Misc

#62 Testkit project

Breaking changes

There are changes in how metrics are configured. Migration guide is coming soon!

v1.0.0

09 Jan 19:20
4c73ecd
Compare
Choose a tag to compare

This is a major release of Loki4j. There are significant changes in configuration. Please read the Migration guide before upgrading.

New features

#37 Add ability to specify custom HTTP senders
#38 Add instrumentation using micrometer (docs)
#47 Factor HTTP send functionality out of Appender
#49 Add support for Basic Auth (example)
#58 Simplify the configuration by using defaults

Bug fixes

#46 $HOSTNAME is not resolved when using default label pattern
#51 Encoder is started twice

Misc

#40 Java8/Windows tests
#41 Add performance tests
#43 Add compatibility tests
#55 Switch to multi-module project structure

v1.0.0-rc1

04 Jan 09:50
e9c7bb0
Compare
Choose a tag to compare
v1.0.0-rc1 Pre-release
Pre-release

This is a first release candidate for Loki4j v1.0.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

#37 Add ability to specify custom HTTP senders
#38 Add instrumentation using micrometer
#47 Factor HTTP send functionality out of Appender
#49 Add support for Basic Auth
#58 Simplify the configuration by using defaults

Bug fixes

#46 $HOSTNAME is not resolved when using default label pattern
#51 Encoder is started twice

Misc

#40 Java8/Windows tests
#41 Add performance tests
#43 Add compatibility tests
#55 Switch to multi-module project structure

Breaking changes

There are significant changes in configuration. Migration guide is coming soon!

v0.4.0

02 Dec 12:33
Compare
Choose a tag to compare

Bug fixes

#25 NoHttpResponseException: 127.0.0.1:3100 failed to respond

Misc

#17 Add integration tests

Breaking changes

Changes in LokiApacheHttpAppender:

  • maxConnections property now defaults to 1
  • connectionTtlMs and keepAlive properties are now replaced with connectionKeepAliveMs that defaults to 120000 (2s)

v0.3.2

24 Nov 22:18
Compare
Choose a tag to compare

Bug fixes

#28 LokiJavaHttpAppender does not preserve order when sending logs in small batches
#31 Can not set batchSize=1

Breaking changes

Changes in LokiApacheHttpAppender-specific settings:

<appender name="LOKI" class="com.github.loki4j.logback.LokiApacheHttpAppender">
    ...
    <!-- Maximum number of HTTP connections setting for HttpClient -->
    <maxConnections>1</maxConnections>
    <!-- Maximum life span of persistent connections for HttpClient -->
    <connectionTtlMs>30000</connectionTtlMs>
</appender>

v0.3.1

16 Nov 08:13
Compare
Choose a tag to compare

Bug fixes

#14 batchTimeoutMs doesn't work as expected
#20 Protobuf: First message is dropped from each stream

Misc

#16 Test coverage improved

v0.3.0

09 Nov 23:40
Compare
Choose a tag to compare

New features

  • #9 Java 8 support

Bug fixes

  • #4 Literal split for labels

v0.2.0

03 Nov 20:15
Compare
Choose a tag to compare

New features

  • Added support for Apache HttpClient

v0.1.0

02 Nov 16:04
Compare
Choose a tag to compare

New features

  • Sending logs to Loki in Protobuf format

v0.0.1

31 Oct 15:56
Compare
Choose a tag to compare
v0.0.1 Pre-release
Pre-release

The initial release of the project.

New features

  • Sending logs to Loki in JSON format

  • Optional sorting by timestamp before sending a batch

  • Using Logback patterns for labels and messages formatting

  • Using HttpClient (Java 11+) for HTTP