From effcfb1243c7393510e269d50620bfcf6895b285 Mon Sep 17 00:00:00 2001 From: Dominic Ricottone Date: Fri, 11 Aug 2023 16:24:49 -0500 Subject: [PATCH] Loki config fix Loki seems to immediately fall over itself given default configurations. Too many requests due to too much sharding/parallelization? Hard for me to say. In any case, by changing `parallelise_shardable_queries`, and by making `max_outstanding_per_tenant` and `split_queries_by_interval` settings explicit (because in theory these are already the default settings...), I hope to acheive a more robust service. --- loki/local-config.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/loki/local-config.yaml b/loki/local-config.yaml index deb88b3..7243aa7 100644 --- a/loki/local-config.yaml +++ b/loki/local-config.yaml @@ -4,6 +4,13 @@ server: http_listen_port: 3100 grpc_listen_port: 9096 +frontend: + max_outstanding_per_tenant: 2048 + +query_range: + parallelise_shardable_queries: false + split_queries_by_interval: 0 + common: path_prefix: /tmp/loki storage: -- 2.45.2