From 25dd28efdccec68f7ca576966223980098b0e12a Mon Sep 17 00:00:00 2001 From: Joshua Hesketh Date: Wed, 11 Dec 2024 15:13:09 +1100 Subject: [PATCH] Ops: Also set server.grpc-max-send-msg-size-bytes on ruler-querier This should match what the ruler-query-frontend is configured for. --- operations/mimir/ruler-remote-evaluation.libsonnet | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/operations/mimir/ruler-remote-evaluation.libsonnet b/operations/mimir/ruler-remote-evaluation.libsonnet index 033c1e44527..f95634519a3 100644 --- a/operations/mimir/ruler-remote-evaluation.libsonnet +++ b/operations/mimir/ruler-remote-evaluation.libsonnet @@ -33,7 +33,11 @@ $.querier_args + $.querierUseQuerySchedulerArgs(rulerQuerySchedulerName) + { 'querier.max-concurrent': $._config.ruler_querier_max_concurrency, - }, + } + if !useRulerQueryFrontend then {} else { + // The ruler-querier-frontend send a query request to the ruler-query + 'server.grpc-max-send-msg-size-bytes': $._config.ruler_remote_evaluation_max_query_response_size_bytes, + }, + ruler_querier_env_map:: $.querier_env_map { // Do not dynamically set GOMAXPROCS for ruler-querier. We don't expect ruler-querier resources @@ -70,6 +74,7 @@ // The ruler-query-frontend sends the query response back to the ruler. 'server.grpc-max-send-msg-size-bytes': $._config.ruler_remote_evaluation_max_query_response_size_bytes, + 'ruler.client.grpc-max-recv-msg-size': $._config.ruler_remote_evaluation_max_query_response_size_bytes, }, ruler_query_frontend_env_map:: $.query_frontend_env_map,