python-logging-loki icon indicating copy to clipboard operation
python-logging-loki copied to clipboard

Add Loki Batch emitter

Open fullonic opened this issue 3 years ago • 0 comments

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: https://github.com/GreyZmeem/python-logging-loki/issues/23

fullonic avatar Nov 08 '22 14:11 fullonic