Skip to content
项目

loki4j/loki-logback-appender

在 GitHub 查看

关于

Fast and lightweight implementation of Logback appender for Grafana Loki

开发工具

这些数字如何统计

可以做什么

  • Dynamic generation of Loki labels and metadata out of any Logback pattern, MDC, KVP, or SLF4J markers
  • Structured metadata support
  • Fast JSON layout for log message formatting
  • Support of JSON and Protobuf Loki API flavors

实测星标增长

24小时
-1
7天
-2
15天
-3
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

loki-logback-appender

Build Maven Central Downloads Sponsor

Loki4j aims to be the fastest and the most lightweight implementation of Logback appender for Grafana Loki. This project is unofficial and community-driven.

Please proceed to the microsite for more information:

If your company runs Loki4j in production, sponsoring the project is how you help keep it fast, current, and well maintained for the long run.

If you have found this project helpful, please drop a :star:!

Key features

  • Dynamic generation of Loki labels and metadata out of any Logback pattern, MDC, KVP, or SLF4J markers
  • Structured metadata support
  • Fast JSON layout for log message formatting
  • Support of JSON and Protobuf Loki API flavors
  • Compatibility with Grafana Cloud
  • Zero-dependency
  • Performance metrics

More details and links to the examples can be found here.

Contributing

Please start with the Contribution guidelines.

Building and testing the project

Please make sure the following software is installed on your machine so you can build and test the project:

  • Java 17 or later

Check out the project in the directory on your local machine and run:

./gradlew check

Project status

Loki4j is stable and actively maintained. The main logging features are implemented and the configuration API is settled, so releases now focus on:

  • compatibility with new Grafana Loki versions
  • security patches and dependency updates
  • bug fixes and issue triage for teams running Loki4j in production

探索相关项目

加载中…