Skip to content

Commit

Permalink
Ops: Also set server.grpc-max-send-msg-size-bytes on ruler-querier
Browse files Browse the repository at this point in the history
This should match what the ruler-query-frontend is configured for.
  • Loading branch information
jhesketh committed Dec 11, 2024
1 parent f5c97f6 commit 25dd28e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion operations/mimir/ruler-remote-evaluation.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 25dd28e

Please sign in to comment.