Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Loki Batch emitter #30

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

fullonic
Copy link

@fullonic fullonic commented Nov 8, 2022

Allow export logs to Loki in a batch of X log lines when using the LokiBatchEmitter. The batch size can be configured using an environment variable BATCH_EXPORT_MIN_SIZE. Default 10

To simplify the emitter's names, LokiEmitterV1 has been renamed to LokiSimpleEmitter.
Also drops support for Loki < 0.4.0. Loki is now in version 2.6` :)

Fix: #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve performance with batching
1 participant