Skip to content

Commit

Permalink
Adding store.enable-index-header-lazy-reader to store-gw template.
Browse files Browse the repository at this point in the history
Reference: https://thanos.io/tip/components/store.md/

Signed-off-by: Moad Zardab <[email protected]>
  • Loading branch information
moadz committed Aug 15, 2024
1 parent dc2488b commit ac59311
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ local thanosRuleSyncer = import './sidecars/thanos-rule-syncer.libsonnet';
'--store.grpc.touched-series-limit=${THANOS_STORE_SERIES_TOUCHED_LIMIT}',
'--store.grpc.series-sample-limit=${THANOS_STORE_SERIES_SAMPLE_LIMIT}',
'--max-time=${THANOS_STORE_MAX_TIME}',
'--store.enable-index-header-lazy-reader=${THANOS_STORE_ENABLE_INDEX_HEADER_LAZY_READER}',
],
} else c
for c in super.containers
Expand Down
1 change: 1 addition & 0 deletions services/observatorium-metrics-template.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ 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_ENABLE_INDEX_HEADER_LAZY_READER', value: 'false' },
{ name: 'CONFIGMAP_RELOADER_IMAGE', value: 'quay.io/openshift/origin-configmap-reloader' },
{ name: 'CONFIGMAP_RELOADER_IMAGE_TAG', value: '4.5.0' },
],
Expand Down

0 comments on commit ac59311

Please sign in to comment.