Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* [CHANGE] Replace use of removed Cortex CLI flag `-querier.compress-http-responses` for query frontend with `-api.response-compression-enabled`. #299
* [CHANGE] The default dashboards config now display panels for the Cortex blocks storage only. If you're running Cortex chunks storage, please change `storage_engine` config to `['chunks']` or `['chunks', 'blocks']` if running both. #302
* [CHANGE] Enabled index-header lazy loading in store-gateways. #303
* [CHANGE] Replaced the deprecated CLI flag `-limits.per-user-override-config` (removed in Cortex 1.9) with `-runtime-config.file`. #304
* [FEATURE] Added "Cortex / Rollout progress" dashboard. #289 #290
* [FEATURE] Added support for using query-scheduler component, which moves the queue out of query-frontend, and allows scaling up of query-frontend component. #295
* [ENHANCEMENT] Added `newCompactorStatefulSet()` function to create a custom statefulset for the compactor. #287
Expand Down
2 changes: 1 addition & 1 deletion cortex/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@

// Shared between the Ruler and Querier
queryConfig: {
'limits.per-user-override-config': '/etc/cortex/overrides.yaml',
'runtime-config.file': '/etc/cortex/overrides.yaml',

// Limit the size of the rows we read from the index.
'store.cardinality-limit': 1e6,
Expand Down
2 changes: 1 addition & 1 deletion cortex/distributor.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

'validation.reject-old-samples': true,
'validation.reject-old-samples.max-age': '12h',
'limits.per-user-override-config': '/etc/cortex/overrides.yaml',
'runtime-config.file': '/etc/cortex/overrides.yaml',
'distributor.remote-timeout': '20s',

'distributor.ha-tracker.enable': true,
Expand Down
2 changes: 1 addition & 1 deletion cortex/ingester.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
'ingester.max-global-series-per-metric': $._config.limits.max_global_series_per_metric,
'ingester.max-series-per-query': $._config.limits.max_series_per_query,
'ingester.max-samples-per-query': $._config.limits.max_samples_per_query,
'limits.per-user-override-config': '/etc/cortex/overrides.yaml',
'runtime-config.file': '/etc/cortex/overrides.yaml',
'server.grpc-max-concurrent-streams': 100000,
} + (
if $._config.memcached_index_writes_enabled then
Expand Down
2 changes: 1 addition & 1 deletion cortex/query-frontend.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

// Limit queries to 500 days, allow this to be override per-user.
'store.max-query-length': '12000h', // 500 Days
'limits.per-user-override-config': '/etc/cortex/overrides.yaml',
'runtime-config.file': '/etc/cortex/overrides.yaml',
} + (
if $._config.queryFrontend.sharded_queries_enabled then
{
Expand Down
2 changes: 1 addition & 1 deletion cortex/tsdb.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
$._config.queryBlocksStorageConfig +
{
target: 'store-gateway',
'limits.per-user-override-config': '/etc/cortex/overrides.yaml',
'runtime-config.file': '/etc/cortex/overrides.yaml',

// Persist ring tokens so that when the store-gateway will be restarted
// it will pick the same tokens
Expand Down