fix(observability): cap log batches under loki's grpc limit

This commit is contained in:
Alex 2026-08-27 21:42:00 +02:00
parent ccd502f189
commit db43394485

View file

@ -24,6 +24,11 @@ data:
limit_mib: 96
batch:
timeout: 5s
# Loki's internal gRPC push limit is 4 MiB. start_at: beginning replays
# whole files after a restart, so an uncapped batch exceeds it and the
# exporter retries the same oversized request forever.
send_batch_size: 1000
send_batch_max_size: 2000
exporters:
otlphttp/loki: