diff --git a/operations/mimir/config.libsonnet b/operations/mimir/config.libsonnet index 5187b841b27..fdb8bbb0abf 100644 --- a/operations/mimir/config.libsonnet +++ b/operations/mimir/config.libsonnet @@ -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', @@ -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': '', diff --git a/operations/mimir/querier.libsonnet b/operations/mimir/querier.libsonnet index 664c759bebe..2ec8d868577 100644 --- a/operations/mimir/querier.libsonnet +++ b/operations/mimir/querier.libsonnet @@ -8,6 +8,7 @@ $._config.storageConfig + $._config.blocksStorageConfig + $._config.queryConfig + + $._config.queryEngineConfig + $._config.distributorConfig + { target: 'querier', diff --git a/operations/mimir/ruler.libsonnet b/operations/mimir/ruler.libsonnet index 6fbed6bc9b1..1e98282023d 100644 --- a/operations/mimir/ruler.libsonnet +++ b/operations/mimir/ruler.libsonnet @@ -8,6 +8,7 @@ $._config.storageConfig + $._config.blocksStorageConfig + $._config.queryConfig + + $._config.queryEngineConfig + $._config.distributorConfig + $._config.rulerClientConfig + $._config.rulerLimitsConfig +