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 159
159
160
160
genericBlocksStorageConfig:: {
161
161
'store.engine' : $._config.storage_engine, // May still be chunks
162
- 'blocks-storage.tsdb.dir' : '/data/tsdb' ,
162
+ },
163
+ queryBlocksStorageConfig:: {
163
164
'blocks-storage.bucket-store.sync-dir' : '/data/tsdb' ,
164
165
'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' ,
168
166
169
167
'store-gateway.sharding-enabled' : true ,
170
168
'store-gateway.sharding-ring.store' : 'consul' ,
Original file line number Diff line number Diff line change 72
72
'blocks-storage.bucket-store.sync-interval' : $._config.cortex_compactor_cleanup_interval,
73
73
} else {},
74
74
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,
77
77
78
78
// The ingesters should persist TSDB blocks and WAL on a persistent
79
79
// volume in order to be crash resilient.
87
87
ingester_deployment: {},
88
88
89
89
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
+
90
95
// Disable TSDB blocks transfer because of persistent volumes
91
96
'ingester.max-transfer-retries' : 0 ,
92
97
'ingester.join-after' : '0s' ,
196
201
$._config.grpcConfig +
197
202
$._config.storageConfig +
198
203
$._config.blocksStorageConfig +
204
+ $._config.queryBlocksStorageConfig +
199
205
{
200
206
target: 'store-gateway' ,
201
207
'limits.per-user-override-config' : '/etc/cortex/overrides.yaml' ,
You can’t perform that action at this time.
0 commit comments