Skip to content

Commit

Permalink
Allow configuration of additional services in Rollout Progress dashbo…
Browse files Browse the repository at this point in the history
…ard. (#5007)

* Allow adding additional services to Mimir Rollout Progress dashboard

* Add changelog

* changelog
  • Loading branch information
flxbk authored May 16, 2023
1 parent 154abe8 commit da7a226
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
* [ENHANCEMENT] Alertmanager dashboard: display active aggregation groups #4772
* [ENHANCEMENT] Alerts: `MimirIngesterTSDBWALCorrupted` now only fires when there are more than one corrupted WALs in single-zone deployments and when there are more than two zones affected in multi-zone deployments. #4920
* [ENHANCEMENT] dashboards: fix holes in graph for lightly loaded clusters #4915
* [ENHANCEMENT] Dashboards: allow configuring additional services for the Rollout Progress dashboard. #5007

### Jsonnet

Expand Down
3 changes: 3 additions & 0 deletions operations/mimir-mixin/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -637,5 +637,8 @@

// Used to inject rows into dashboards at specific places that support it.
injectRows: {},

// Used to add additional services to dashboards that support it.
extraServiceNames: [],
},
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ local filename = 'mimir-rollout-progress.json';
per_cluster_label: $._config.per_cluster_label,
write_job_matcher: if $._config.gateway_enabled then $.jobMatcher($._config.job_names.gateway) else $.jobMatcher($._config.job_names.distributor),
read_job_matcher: if $._config.gateway_enabled then $.jobMatcher($._config.job_names.gateway) else $.jobMatcher($._config.job_names.query_frontend),
all_services_regex: '.*(%s).*' % std.join('|', ['cortex-gw', 'distributor', 'ingester', 'query-frontend', 'query-scheduler', 'querier', 'compactor', 'store-gateway', 'ruler', 'alertmanager', 'overrides-exporter', 'cortex', 'mimir']),
all_services_regex: '.*(%s).*' % std.join('|', ['cortex-gw', 'distributor', 'ingester', 'query-frontend', 'query-scheduler', 'querier', 'compactor', 'store-gateway', 'ruler', 'alertmanager', 'overrides-exporter', 'cortex', 'mimir'] + $._config.extraServiceNames),
},

[filename]:
Expand Down

0 comments on commit da7a226

Please sign in to comment.