Skip to content

Commit

Permalink
Add flag to enable streaming of chunks.
Browse files Browse the repository at this point in the history
  • Loading branch information
pstibrany committed Mar 17, 2021
1 parent 2ba24fe commit 55f4ea2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions cortex/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,9 @@
enable_pod_priorities: true,

alertmanager_enabled: false,

// Enables streaming of chunks from ingesters using blocks.
ingester_stream_chunks_when_using_blocks: true,
},

local configMap = $.core.v1.configMap,
Expand All @@ -441,11 +444,9 @@
configMap.new($._config.overrides_configmap) +
configMap.withData({
'overrides.yaml': $.util.manifestYaml(
{
overrides: $._config.overrides,
} + if std.length($._config.multi_kv_config) > 0 then {
multi_kv_config: $._config.multi_kv_config,
} else {}
{ overrides: $._config.overrides }
+ (if std.length($._config.multi_kv_config) > 0 then { multi_kv_config: $._config.multi_kv_config } else {})
+ (if $._config.ingester_stream_chunks_when_using_blocks then { ingester_stream_chunks_when_using_blocks: true } else {})
),
}),

Expand Down

0 comments on commit 55f4ea2

Please sign in to comment.