diff --git a/jsonnet/mimir-mixin/dashboards/alertmanager-resources.libsonnet b/jsonnet/mimir-mixin/dashboards/alertmanager-resources.libsonnet index 5fdd92a283a..21ed7db9f0a 100644 --- a/jsonnet/mimir-mixin/dashboards/alertmanager-resources.libsonnet +++ b/jsonnet/mimir-mixin/dashboards/alertmanager-resources.libsonnet @@ -13,7 +13,7 @@ local utils = import 'mixin-utils/utils.libsonnet'; $.containerMemoryWorkingSetPanel('Memory (workingset)', 'cortex-gw'), ) .addPanel( - $.goHeapInUsePanel('Memory (go heap inuse)', 'cortex-gw'), + $.goHeapInUsePanel('Memory (go heap inuse)', $._config.job_names.gateway), ) ) .addRow( diff --git a/jsonnet/mimir-mixin/dashboards/reads-resources.libsonnet b/jsonnet/mimir-mixin/dashboards/reads-resources.libsonnet index 715673b68da..c37948c652f 100644 --- a/jsonnet/mimir-mixin/dashboards/reads-resources.libsonnet +++ b/jsonnet/mimir-mixin/dashboards/reads-resources.libsonnet @@ -13,7 +13,7 @@ local utils = import 'mixin-utils/utils.libsonnet'; $.containerMemoryWorkingSetPanel('Memory (workingset)', 'cortex-gw'), ) .addPanel( - $.goHeapInUsePanel('Memory (go heap inuse)', 'cortex-gw'), + $.goHeapInUsePanel('Memory (go heap inuse)', $._config.job_names.gateway), ) ) .addRow( @@ -25,7 +25,7 @@ local utils = import 'mixin-utils/utils.libsonnet'; $.containerMemoryWorkingSetPanel('Memory (workingset)', 'query-frontend'), ) .addPanel( - $.goHeapInUsePanel('Memory (go heap inuse)', 'query-frontend'), + $.goHeapInUsePanel('Memory (go heap inuse)', $._config.job_names.query_frontend), ) ) .addRow( @@ -37,7 +37,7 @@ local utils = import 'mixin-utils/utils.libsonnet'; $.containerMemoryWorkingSetPanel('Memory (workingset)', 'query-scheduler'), ) .addPanel( - $.goHeapInUsePanel('Memory (go heap inuse)', 'query-scheduler'), + $.goHeapInUsePanel('Memory (go heap inuse)', $._config.job_names.query_scheduler), ) ) .addRow( @@ -49,7 +49,7 @@ local utils = import 'mixin-utils/utils.libsonnet'; $.containerMemoryWorkingSetPanel('Memory (workingset)', 'querier'), ) .addPanel( - $.goHeapInUsePanel('Memory (go heap inuse)', 'querier'), + $.goHeapInUsePanel('Memory (go heap inuse)', $._config.job_names.querier), ) ) .addRow( @@ -61,7 +61,7 @@ local utils = import 'mixin-utils/utils.libsonnet'; $.containerMemoryWorkingSetPanel('Memory (workingset)', 'ingester'), ) .addPanel( - $.goHeapInUsePanel('Memory (go heap inuse)', 'ingester'), + $.goHeapInUsePanel('Memory (go heap inuse)', $._config.job_names.ingester), ) ) .addRow( @@ -83,7 +83,7 @@ local utils = import 'mixin-utils/utils.libsonnet'; $.containerMemoryWorkingSetPanel('Memory (workingset)', 'ruler'), ) .addPanel( - $.goHeapInUsePanel('Memory (go heap inuse)', 'ruler'), + $.goHeapInUsePanel('Memory (go heap inuse)', $._config.job_names.ruler), ) ) .addRowIf( @@ -96,7 +96,7 @@ local utils = import 'mixin-utils/utils.libsonnet'; $.containerMemoryWorkingSetPanel('Memory (workingset)', 'store-gateway'), ) .addPanel( - $.goHeapInUsePanel('Memory (go heap inuse)', 'store-gateway'), + $.goHeapInUsePanel('Memory (go heap inuse)', $._config.job_names.store_gateway), ) ) .addRowIf( diff --git a/jsonnet/mimir-mixin/dashboards/reads.libsonnet b/jsonnet/mimir-mixin/dashboards/reads.libsonnet index 1fbdb6e9fc6..9f98308c9d8 100644 --- a/jsonnet/mimir-mixin/dashboards/reads.libsonnet +++ b/jsonnet/mimir-mixin/dashboards/reads.libsonnet @@ -143,7 +143,7 @@ local utils = import 'mixin-utils/utils.libsonnet'; ) .addRowIf( std.member($._config.storage_engine, 'blocks'), - $.row('Memcached – Blocks Storage – Index header (Store-gateway)') + $.row('Memcached – Blocks Storage – Block Index (Store-gateway)') .addPanel( $.panel('QPS') + $.queryPanel('sum by(operation) (rate(thanos_memcached_operations_total{component="store-gateway",name="index-cache", %s}[$__rate_interval]))' % $.jobMatcher($._config.job_names.store_gateway), '{{operation}}') + diff --git a/jsonnet/mimir-mixin/dashboards/writes-resources.libsonnet b/jsonnet/mimir-mixin/dashboards/writes-resources.libsonnet index 9d7e3e80309..ab5b92a61c3 100644 --- a/jsonnet/mimir-mixin/dashboards/writes-resources.libsonnet +++ b/jsonnet/mimir-mixin/dashboards/writes-resources.libsonnet @@ -13,7 +13,7 @@ local utils = import 'mixin-utils/utils.libsonnet'; $.containerMemoryWorkingSetPanel('Memory (workingset)', 'cortex-gw'), ) .addPanel( - $.goHeapInUsePanel('Memory (go heap inuse)', 'cortex-gw'), + $.goHeapInUsePanel('Memory (go heap inuse)', $._config.job_names.gateway), ) ) .addRow( @@ -25,7 +25,7 @@ local utils = import 'mixin-utils/utils.libsonnet'; $.containerMemoryWorkingSetPanel('Memory (workingset)', 'distributor'), ) .addPanel( - $.goHeapInUsePanel('Memory (go heap inuse)', 'distributor'), + $.goHeapInUsePanel('Memory (go heap inuse)', $._config.job_names.distributor), ) ) .addRow( @@ -47,7 +47,7 @@ local utils = import 'mixin-utils/utils.libsonnet'; $.containerMemoryWorkingSetPanel('Memory (workingset)', 'ingester'), ) .addPanel( - $.goHeapInUsePanel('Memory (go heap inuse)', 'ingester'), + $.goHeapInUsePanel('Memory (go heap inuse)', $._config.job_names.ingester), ) ) .addRow(