From 69ae13be44767cc8290607170b937dd42b57d202 Mon Sep 17 00:00:00 2001 From: eduardscaueru Date: Tue, 14 Jan 2025 13:35:02 +0200 Subject: [PATCH] Set align_queries_with_step to false as default, since the 'querier.align-querier-with-step' is false in the official Cortex docs Signed-off-by: eduardscaueru --- CHANGELOG.md | 1 + README.md | 2 +- values.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 08034e21..8c44b6ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ * [ENHANCEMENT] Add `nginx.config.upstream_protocol` field to configure the upstream protocol in the nginx configuration #506 * [BUGFIX] fix: upstream_protocol reference in auth_orgs #509 * [DEPENDENCY] Update quay.io/cortexproject/cortex Docker tag to v1.18.1 #510 +* [ENHANCEMENT] Updated default `align_queries_with_step` to **false** to match documentation #514 ## 2.4.0 / 2024-07-18 diff --git a/README.md b/README.md index 4c2295cb..335cc41a 100644 --- a/README.md +++ b/README.md @@ -242,7 +242,7 @@ Kubernetes: `^1.19.0-0` | config.​memberlist.​join_members | list | `["{{ include \"cortex.fullname\" $ }}-memberlist"]` | the service name of the memberlist if using memberlist discovery | | config.​querier.​active_query_tracker_dir | string | `"/data/active-query-tracker"` | | | config.​querier.​store_gateway_addresses | string | automatic | Comma separated list of store-gateway addresses in DNS Service Discovery format. This option should is set automatically when using the blocks storage and the store-gateway sharding is disabled (when enabled, the store-gateway instances form a ring and addresses are picked from the ring). | -| config.​query_range.​align_queries_with_step | bool | `true` | | +| config.​query_range.​align_queries_with_step | bool | `false` | | | config.​query_range.​cache_results | bool | `true` | | | config.​query_range.​results_cache.​cache.​memcached.​expiration | string | `"1h"` | | | config.​query_range.​results_cache.​cache.​memcached_client.​timeout | string | `"1s"` | | diff --git a/values.yaml b/values.yaml index b10da422..aa06a49a 100644 --- a/values.yaml +++ b/values.yaml @@ -111,7 +111,7 @@ config: {{- end }} query_range: split_queries_by_interval: 24h - align_queries_with_step: true + align_queries_with_step: false cache_results: true results_cache: cache: