Skip to content

Commit

Permalink
Move grpc-compression to ingesterClientConfig (#48)
Browse files Browse the repository at this point in the history
Signed-off-by: Friedrich Gonzalez <[email protected]>
  • Loading branch information
friedrichg authored May 8, 2024
1 parent f938686 commit 9cc367f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cortex/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@
'server.grpc.keepalive.ping-without-stream-allowed': true,
},

ingesterClientConfig:: {
'ingester.client.grpc-compression': 'snappy-block',
},

genericBlocksStorageConfig:: {
'store.engine': 'blocks',
},
Expand Down Expand Up @@ -145,7 +149,6 @@
'distributor.replication-factor': $._config.replication_factor,
'distributor.shard-by-all-labels': true,
'distributor.health-check-ingesters': true,
'ingester.client.grpc-compression': 'snappy-block',
'ring.heartbeat-timeout': '10m',
},

Expand Down
1 change: 1 addition & 0 deletions cortex/distributor.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
$._config.ringConfig +
$._config.distributorConfig +
$._config.distributorLimitsConfig +
$._config.ingesterClientConfig +
{
target: 'distributor',

Expand Down
1 change: 1 addition & 0 deletions cortex/querier.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
$._config.queryConfig +
$._config.queryEngineConfig +
$._config.distributorConfig +
$._config.ingesterClientConfig +
$._config.queryBlocksStorageConfig +
$.blocks_metadata_caching_config +
$.bucket_index_config +
Expand Down
1 change: 1 addition & 0 deletions cortex/ruler.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
$._config.queryConfig +
$._config.queryEngineConfig +
$._config.distributorConfig +
$._config.ingesterClientConfig +
$._config.rulerClientConfig +
$._config.rulerLimitsConfig +
$._config.queryBlocksStorageConfig +
Expand Down

0 comments on commit 9cc367f

Please sign in to comment.