Skip to content

Commit

Permalink
Add flag to enable remote rule evaluation in microservices Docker Com…
Browse files Browse the repository at this point in the history
…pose setup (#6919)
  • Loading branch information
charleskorn authored Dec 13, 2023
1 parent 26f88e5 commit 510aa55
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions development/mimir-microservices-mode/docker-compose.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ std.manifestYamlDoc({
// Whether query-frontend and querier should use query-scheduler. If set to true, query-scheduler is started as well.
use_query_scheduler: true,

// Whether ruler should use the query-frontend and queriers to execute queries, rather than executing them in-process
ruler_use_remote_execution: false,

// Three options are supported for ring in this jsonnet:
// - consul
// - memberlist (consul is not started at all)
Expand Down Expand Up @@ -136,6 +139,7 @@ std.manifestYamlDoc({
target: 'ruler',
httpPort: 8021 + id,
jaegerApp: 'ruler-%d' % id,
extraArguments: if $._config.ruler_use_remote_execution then '-ruler.query-frontend.address=dns:///query-frontend:9007' else '',
})
for id in std.range(1, count)
},
Expand Down

0 comments on commit 510aa55

Please sign in to comment.