Skip to content

Commit 02922f9

Browse files
authored
Filter out user label added in cortexproject/cortex#4918 (#27)
Signed-off-by: Friedrich Gonzalez <[email protected]>
1 parent c311bca commit 02922f9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* [CHANGE] Use faster disks for compactor
66
* [CHANGE] Enables query-scheduler by default
77
* [CHANGE] Enables bucket-index by default
8+
* [BUGFIX] Fix `Blocks currently loaded` in Queries
89

910
## 1.13.2 / 2023-04-29
1011

cortex-mixin/dashboards/queries.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ local utils = import 'mixin-utils/utils.libsonnet';
254254
$.row('')
255255
.addPanel(
256256
$.panel('Blocks currently loaded') +
257-
$.queryPanel('cortex_bucket_store_blocks_loaded{component="store-gateway",%s}' % $.jobMatcher($._config.job_names.store_gateway), '{{%s}}' % $._config.per_instance_label)
257+
$.queryPanel('sum(cortex_bucket_store_blocks_loaded{component="store-gateway",%s}) without (user)' % $.jobMatcher($._config.job_names.store_gateway), '{{%s}}' % $._config.per_instance_label)
258258
)
259259
.addPanel(
260260
$.successFailurePanel(

0 commit comments

Comments
 (0)