Skip to content

Commit

Permalink
Merge pull request grafana/cortex-jsonnet#399 from grafana/add-queryE…
Browse files Browse the repository at this point in the history
…ngineConfig

Add queryEngineConfig
  • Loading branch information
pracucci authored Sep 20, 2021
2 parents a46a22c + 6739bd4 commit 765a677
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion operations/mimir/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
) else {}
),

// Shared between the Ruler and Querier
// Querier component config (shared between the ruler and querier).
queryConfig: {
'runtime-config.file': '/etc/cortex/overrides.yaml',

Expand Down Expand Up @@ -239,6 +239,11 @@
else {}
),

// PromQL query engine config (shared between all services running PromQL engine, like the ruler and querier).
queryEngineConfig: {
// Keep it even if empty, to allow downstream projects to easily configure it.
},

ringConfig: {
'consul.hostname': 'consul.%s.svc.cluster.local:8500' % $._config.namespace,
'ring.prefix': '',
Expand Down
1 change: 1 addition & 0 deletions operations/mimir/querier.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
$._config.storageConfig +
$._config.blocksStorageConfig +
$._config.queryConfig +
$._config.queryEngineConfig +
$._config.distributorConfig +
{
target: 'querier',
Expand Down
1 change: 1 addition & 0 deletions operations/mimir/ruler.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
$._config.storageConfig +
$._config.blocksStorageConfig +
$._config.queryConfig +
$._config.queryEngineConfig +
$._config.distributorConfig +
$._config.rulerClientConfig +
$._config.rulerLimitsConfig +
Expand Down

0 comments on commit 765a677

Please sign in to comment.