From 64e93e0816b68c9d51f6e4a3775997699df30e01 Mon Sep 17 00:00:00 2001 From: Charley Wu Date: Thu, 16 Nov 2023 14:54:06 +0800 Subject: [PATCH] Mitigating: too many outstanding requests - https://github.com/grafana/loki/issues/5123#issuecomment-1167018445 --- loki/docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/loki/docker-compose.yml b/loki/docker-compose.yml index 2683121..8af354f 100644 --- a/loki/docker-compose.yml +++ b/loki/docker-compose.yml @@ -17,6 +17,11 @@ services: # https://grafana.com/docs/loki/latest/operations/storage/table-manager/#retention - -table-manager.retention-period=90d - -table-manager.retention-deletes-enabled=true + # mitigating: too many outstanding requests + # https://github.com/grafana/loki/issues/5123#issuecomment-1167018445 + - -querier.max-outstanding-requests-per-tenant=4096 + - -querier.split-queries-by-interval=15m + - -query-scheduler.max-outstanding-requests-per-tenant=4096 promtail: # https://grafana.com/docs/loki/latest/clients/promtail/installation/