Skip to content

Commit

Permalink
Set -server.grpc-max-*-msg-size-bytes for ruler and ingester. (grafan…
Browse files Browse the repository at this point in the history
  • Loading branch information
stevesg authored Jun 14, 2021
1 parent abac7d2 commit d00e8b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions operations/mimir/ingester.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@
'ingester.max-samples-per-query': $._config.limits.max_samples_per_query,
'runtime-config.file': '/etc/cortex/overrides.yaml',
'server.grpc-max-concurrent-streams': 100000,
'server.grpc-max-send-msg-size-bytes': 10 * 1024 * 1024,
'server.grpc-max-recv-msg-size-bytes': 10 * 1024 * 1024,
} + (
if $._config.memcached_index_writes_enabled then
{
Expand Down
2 changes: 2 additions & 0 deletions operations/mimir/ruler.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
// Limits
'ruler.max-rules-per-rule-group': $._config.limits.ruler_max_rules_per_rule_group,
'ruler.max-rule-groups-per-tenant': $._config.limits.ruler_max_rule_groups_per_tenant,
'server.grpc-max-send-msg-size-bytes': 10 * 1024 * 1024,
'server.grpc-max-recv-msg-size-bytes': 10 * 1024 * 1024,

// Storage
'querier.second-store-engine': $._config.querier_second_storage_engine,
Expand Down

0 comments on commit d00e8b4

Please sign in to comment.