diff --git a/jsonnet/mimir-mixin/alerts/alerts.libsonnet b/jsonnet/mimir-mixin/alerts/alerts.libsonnet index e74ab846ca6..42c1e5f78f8 100644 --- a/jsonnet/mimir-mixin/alerts/alerts.libsonnet +++ b/jsonnet/mimir-mixin/alerts/alerts.libsonnet @@ -593,7 +593,7 @@ expr: ||| memberlist_client_cluster_members_count != on (%s) group_left - sum by (%s) (up{job=~".+/(admin-api|compactor|store-gateway|distributor|ingester.*|querier|cortex|ruler)"}) + sum by (%s) (up{job=~".+/(admin-api|compactor|store-gateway|distributor|ingester.*|querier.*|cortex|ruler)"}) ||| % [$._config.alert_aggregation_labels, $._config.alert_aggregation_labels], 'for': '5m', labels: { diff --git a/jsonnet/mimir-mixin/config.libsonnet b/jsonnet/mimir-mixin/config.libsonnet index 917ffd51599..94de5dd7080 100644 --- a/jsonnet/mimir-mixin/config.libsonnet +++ b/jsonnet/mimir-mixin/config.libsonnet @@ -26,12 +26,12 @@ // These are used by the dashboards and allow for the simultaneous display of // microservice and single binary cortex clusters. job_names: { - ingester: '(ingester.*|cortex$)', // Match also ingester-blocks, which is used during the migration from chunks to blocks. + ingester: '(ingester.*|cortex$)', // Match also custom and per-zone ingester deployments. distributor: '(distributor|cortex$)', - querier: '(querier|cortex$)', + querier: '(querier.*|cortex$)', // Match also custom querier deployments. ruler: '(ruler|cortex$)', - query_frontend: '(query-frontend|cortex$)', - query_scheduler: 'query-scheduler', // Not part of single-binary. + query_frontend: '(query-frontend.*|cortex$)', // Match also custom query-frontend deployments. + query_scheduler: 'query-scheduler.*', // Not part of single-binary. Match also custom query-scheduler deployments. table_manager: '(table-manager|cortex$)', store_gateway: '(store-gateway|cortex$)', gateway: '(gateway|cortex-gw|cortex-gw-internal)', diff --git a/jsonnet/mimir-mixin/dashboards/rollout-progress.libsonnet b/jsonnet/mimir-mixin/dashboards/rollout-progress.libsonnet index e481ce6aee8..16c54095570 100644 --- a/jsonnet/mimir-mixin/dashboards/rollout-progress.libsonnet +++ b/jsonnet/mimir-mixin/dashboards/rollout-progress.libsonnet @@ -6,7 +6,7 @@ local utils = import 'mixin-utils/utils.libsonnet'; gateway_job_matcher: $.jobMatcher($._config.job_names.gateway), gateway_write_routes_regex: 'api_(v1|prom)_push', gateway_read_routes_regex: '(prometheus|api_prom)_api_v1_.+', - all_services_regex: std.join('|', ['cortex-gw', 'distributor', 'ingester.*', 'query-frontend', 'querier', 'compactor', 'store-gateway', 'ruler', 'alertmanager']), + all_services_regex: std.join('|', ['cortex-gw', 'distributor', 'ingester.*', 'query-frontend.*', 'query-scheduler.*', 'querier.*', 'compactor', 'store-gateway', 'ruler', 'alertmanager']), }, 'cortex-rollout-progress.json': diff --git a/jsonnet/mimir-mixin/dashboards/slow-queries.libsonnet b/jsonnet/mimir-mixin/dashboards/slow-queries.libsonnet index a732388a067..90916facdc8 100644 --- a/jsonnet/mimir-mixin/dashboards/slow-queries.libsonnet +++ b/jsonnet/mimir-mixin/dashboards/slow-queries.libsonnet @@ -16,7 +16,7 @@ local utils = import 'mixin-utils/utils.libsonnet'; targets: [ { // Filter out the remote read endpoint. - expr: '{cluster=~"$cluster",namespace=~"$namespace",name="query-frontend"} |= "query stats" != "/api/v1/read" | logfmt | org_id=~"${tenant_id}" | response_time > ${min_duration}', + expr: '{cluster=~"$cluster",namespace=~"$namespace",name=~"query-frontend.*"} |= "query stats" != "/api/v1/read" | logfmt | org_id=~"${tenant_id}" | response_time > ${min_duration}', instant: false, legendFormat: '', range: true,