python-logging-loki
python-logging-loki copied to clipboard
Add Loki Batch emitter
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