diff --git a/services/observatorium-metrics-template-overwrites.libsonnet b/services/observatorium-metrics-template-overwrites.libsonnet index e54be93c50..b623bd1f87 100644 --- a/services/observatorium-metrics-template-overwrites.libsonnet +++ b/services/observatorium-metrics-template-overwrites.libsonnet @@ -172,6 +172,8 @@ local thanosRuleSyncer = import './sidecars/thanos-rule-syncer.libsonnet'; '--store.grpc.series-sample-limit=${THANOS_STORE_SERIES_SAMPLE_LIMIT}', '--max-time=${THANOS_STORE_MAX_TIME}', '--store.enable-index-header-lazy-reader', + '--store.index-header-lazy-download-strategy=${THANOS_STORE_INDEX_HEADER_LAZY_DOWNLOAD_STRATEGY}', + '--store.index-header-lazy-reader-idle-timeout=${THANOS_STORE_INDEX_HEADER_LAZY_READER_IDLE_TIMEOUT}', ], } else c for c in super.containers diff --git a/services/observatorium-metrics-template.jsonnet b/services/observatorium-metrics-template.jsonnet index 8ceaa83a83..b0b588f7d3 100644 --- a/services/observatorium-metrics-template.jsonnet +++ b/services/observatorium-metrics-template.jsonnet @@ -166,6 +166,8 @@ local obs = import 'observatorium.libsonnet'; { name: 'THANOS_STORE_MEMORY_REQUEST', value: '1Gi' }, { name: 'THANOS_STORE_REPLICAS', value: '5' }, { name: 'THANOS_STORE_MAX_TIME', value: '9999-12-31T23:59:59Z' }, + { name: 'THANOS_STORE_INDEX_HEADER_LAZY_DOWNLOAD_STRATEGY', value: 'eager' }, + { name: 'THANOS_STORE_INDEX_HEADER_LAZY_READER_IDLE_TIMEOUT', value: '3m' }, { name: 'CONFIGMAP_RELOADER_IMAGE', value: 'quay.io/openshift/origin-configmap-reloader' }, { name: 'CONFIGMAP_RELOADER_IMAGE_TAG', value: '4.5.0' }, ],