@@ -18,7 +18,7 @@ local utils = import 'mixin-utils/utils.libsonnet';
1818 )
1919 .addPanel(
2020 $.panel('Queue Length' ) +
21- $.queryPanel('cortex_query_frontend_queue_length{%s}' % $.jobMatcher($._config.job_names.query_frontend), '{{cluster}} / {{namespace}} / {{instance }}' ),
21+ $.queryPanel('cortex_query_frontend_queue_length{%s}' % $.jobMatcher($._config.job_names.query_frontend), '{{cluster}} / {{namespace}} / {{%s }}' % $._config.per_instance_label ),
2222 )
2323 )
2424 .addRow(
@@ -29,7 +29,7 @@ local utils = import 'mixin-utils/utils.libsonnet';
2929 )
3030 .addPanel(
3131 $.panel('Queue Length' ) +
32- $.queryPanel('cortex_query_scheduler_queue_length{%s}' % $.jobMatcher($._config.job_names.query_scheduler), '{{cluster}} / {{namespace}} / {{instance }}' ),
32+ $.queryPanel('cortex_query_scheduler_queue_length{%s}' % $.jobMatcher($._config.job_names.query_scheduler), '{{cluster}} / {{namespace}} / {{%s }}' % $._config.per_instance_label ),
3333 )
3434 )
3535 .addRow(
@@ -220,7 +220,7 @@ local utils = import 'mixin-utils/utils.libsonnet';
220220 $.row('' )
221221 .addPanel(
222222 $.panel('Blocks currently loaded' ) +
223- $.queryPanel('cortex_bucket_store_blocks_loaded{component="store-gateway",%s}' % $.jobMatcher($._config.job_names.store_gateway), '{{instance }}' )
223+ $.queryPanel('cortex_bucket_store_blocks_loaded{component="store-gateway",%s}' % $.jobMatcher($._config.job_names.store_gateway), '{{%s }}' % $._config.per_instance_label )
224224 )
225225 .addPanel(
226226 $.successFailurePanel(
@@ -242,7 +242,7 @@ local utils = import 'mixin-utils/utils.libsonnet';
242242 $.row('' )
243243 .addPanel(
244244 $.panel('Lazy loaded index-headers' ) +
245- $.queryPanel('cortex_bucket_store_indexheader_lazy_load_total{%s} - cortex_bucket_store_indexheader_lazy_unload_total{%s}' % [$.jobMatcher($._config.job_names.store_gateway), $.jobMatcher($._config.job_names.store_gateway)], '{{instance }}' )
245+ $.queryPanel('cortex_bucket_store_indexheader_lazy_load_total{%s} - cortex_bucket_store_indexheader_lazy_unload_total{%s}' % [$.jobMatcher($._config.job_names.store_gateway), $.jobMatcher($._config.job_names.store_gateway)], '{{%s }}' % $._config.per_instance_label )
246246 )
247247 .addPanel(
248248 $.panel('Index-header lazy load duration' ) +
0 commit comments