loki4j / loki-logback-appender

Fast and lightweight implementation of Logback appender for Grafana Loki
https://loki4j.github.io/loki-logback-appender/
BSD 2-Clause "Simplified" License
314 stars 27 forks source link

Loki: Ingestion rate limit exceeded while attempting to ingest '1000' lines #26

Closed nehaev closed 3 years ago

nehaev commented 3 years ago

Error from Loki:

16:26:31,836 |-ERROR in com.github.loki4j.logback.LokiApacheHttpAppender[LOKI] - Loki responded with non-success status 429 on Batch #d37eccc1d52af (1000 records). Error: Ingestion rate limit exceeded (limit: 4194304 bytes/sec) while attempting to ingest '1000' lines totaling '6494575' bytes, reduce log volume or contact your Loki administrator to see if the limit can be increased
nehaev commented 3 years ago

This could not be fixed on client side.

Instead, Loki config should be edited, for example:

limits_config:
  ingestion_rate_mb: 8
  ingestion_burst_size_mb: 12