Skip to content

Commit 88fa66f

Browse files
committed
tsdb: Add multi concurrency and max idle connections store gateway params
Signed-off-by: Arve Knudsen <[email protected]>
1 parent 591e1f8 commit 88fa66f

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
## master / unreleased
44

5+
* [CHANGE] Store gateway: set `-blocks-storage.bucket-store.index-cache.memcached.max-get-multi-concurrency`,
6+
`-blocks-storage.bucket-store.chunks-cache.memcached.max-get-multi-concurrency`,
7+
`-blocks-storage.bucket-store.metadata-cache.memcached.max-get-multi-concurrency`,
8+
`-blocks-storage.bucket-store.index-cache.memcached.max-idle-connections`,
9+
`-blocks-storage.bucket-store.chunks-cache.memcached.max-idle-connections`,
10+
`-blocks-storage.bucket-store.metadata-cache.memcached.max-idle-connections` to 100 #414
511
* [CHANGE] Update grafana-builder dependency: use $__rate_interval in qpsPanel and latencyPanel. #372
612
* [CHANGE] `namespace` template variable in dashboards now only selects namespaces for selected clusters. #311
713
* [CHANGE] Alertmanager: mounted overrides configmap to alertmanager too. #315

cortex/tsdb.libsonnet

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,17 @@
222222
'blocks-storage.bucket-store.index-header-lazy-loading-enabled': 'true',
223223
'blocks-storage.bucket-store.index-header-lazy-loading-idle-timeout': '60m',
224224

225+
local indexMaxConcurrency = 100,
226+
local chunksMaxConcurrency = 100,
227+
local metaMaxConcurrency = 100,
225228
'blocks-storage.bucket-store.max-chunk-pool-bytes': 12 * 1024 * 1024 * 1024,
229+
'blocks-storage.bucket-store.index-cache.memcached.max-get-multi-concurrency': indexMaxConcurrency,
230+
'blocks-storage.bucket-store.chunks-cache.memcached.max-get-multi-concurrency': chunksMaxConcurrency,
231+
'blocks-storage.bucket-store.metadata-cache.memcached.max-get-multi-concurrency': metaMaxConcurrency,
232+
'blocks-storage.bucket-store.index-cache.memcached.max-idle-connections': indexMaxConcurrency,
233+
'blocks-storage.bucket-store.chunks-cache.memcached.max-idle-connections': chunksMaxConcurrency,
234+
'blocks-storage.bucket-store.metadata-cache.memcached.max-idle-connections': metaMaxConcurrency,
235+
226236
} +
227237
$.blocks_chunks_caching_config +
228238
$.blocks_metadata_caching_config +

0 commit comments

Comments
 (0)