This repository was archived by the owner on Apr 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 159159
160160 genericBlocksStorageConfig:: {
161161 'store.engine' : $._config.storage_engine, // May still be chunks
162- 'blocks-storage.tsdb.dir' : '/data/tsdb' ,
162+ },
163+ queryBlocksStorageConfig:: {
163164 'blocks-storage.bucket-store.sync-dir' : '/data/tsdb' ,
164165 'blocks-storage.bucket-store.ignore-deletion-marks-delay' : '1h' ,
165- 'blocks-storage.tsdb.block-ranges-period' : '2h' ,
166- 'blocks-storage.tsdb.retention-period' : '96h' , // 4 days protection against blocks not being uploaded from ingesters.
167- 'blocks-storage.tsdb.ship-interval' : '1m' ,
168166
169167 'store-gateway.sharding-enabled' : true ,
170168 'store-gateway.sharding-ring.store' : 'consul' ,
Original file line number Diff line number Diff line change 7272 'blocks-storage.bucket-store.sync-interval' : $._config.cortex_compactor_cleanup_interval,
7373 } else {},
7474
75- querier_args+:: $.blocks_metadata_caching_config + $.bucket_index_config,
76- ruler_args+:: $.blocks_metadata_caching_config + $.bucket_index_config,
75+ querier_args+:: $._config.queryBlocksStorageConfig + $. blocks_metadata_caching_config + $.bucket_index_config,
76+ ruler_args+:: $._config.queryBlocksStorageConfig + $. blocks_metadata_caching_config + $.bucket_index_config,
7777
7878 // The ingesters should persist TSDB blocks and WAL on a persistent
7979 // volume in order to be crash resilient.
8787 ingester_deployment: {},
8888
8989 ingester_args+:: {
90+ 'blocks-storage.tsdb.dir' : '/data/tsdb' ,
91+ 'blocks-storage.tsdb.block-ranges-period' : '2h' ,
92+ 'blocks-storage.tsdb.retention-period' : '96h' , // 4 days protection against blocks not being uploaded from ingesters.
93+ 'blocks-storage.tsdb.ship-interval' : '1m' ,
94+
9095 // Disable TSDB blocks transfer because of persistent volumes
9196 'ingester.max-transfer-retries' : 0 ,
9297 'ingester.join-after' : '0s' ,
196201 $._config.grpcConfig +
197202 $._config.storageConfig +
198203 $._config.blocksStorageConfig +
204+ $._config.queryBlocksStorageConfig +
199205 {
200206 target: 'store-gateway' ,
201207 'limits.per-user-override-config' : '/etc/cortex/overrides.yaml' ,
You can’t perform that action at this time.
0 commit comments