fix(observability): cap log batches under loki's grpc limit
This commit is contained in:
parent
ccd502f189
commit
db43394485
1 changed files with 5 additions and 0 deletions
|
|
@ -24,6 +24,11 @@ data:
|
||||||
limit_mib: 96
|
limit_mib: 96
|
||||||
batch:
|
batch:
|
||||||
timeout: 5s
|
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:
|
exporters:
|
||||||
otlphttp/loki:
|
otlphttp/loki:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue