Skip to content

Commit

Permalink
Merge pull request grafana/cortex-jsonnet#304 from grafana/change-ove…
Browse files Browse the repository at this point in the history
…rrides-flag

Do not use deprecated flag -limits.per-user-override-config
  • Loading branch information
pracucci authored May 12, 2021
2 parents f5c771a + f7b54f2 commit 12fda45
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion operations/mimir/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 operations/mimir/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 operations/mimir/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 operations/mimir/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 operations/mimir/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

0 comments on commit 12fda45

Please sign in to comment.