Skip to content

Commit

Permalink
Filter out user label added in cortexproject/cortex#4918 (#27)
Browse files Browse the repository at this point in the history
Signed-off-by: Friedrich Gonzalez <[email protected]>
  • Loading branch information
friedrichg authored Jun 12, 2023
1 parent c311bca commit 02922f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
* [CHANGE] Use faster disks for compactor
* [CHANGE] Enables query-scheduler by default
* [CHANGE] Enables bucket-index by default
* [BUGFIX] Fix `Blocks currently loaded` in Queries

## 1.13.2 / 2023-04-29

Expand Down
2 changes: 1 addition & 1 deletion cortex-mixin/dashboards/queries.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ local utils = import 'mixin-utils/utils.libsonnet';
$.row('')
.addPanel(
$.panel('Blocks currently loaded') +
$.queryPanel('cortex_bucket_store_blocks_loaded{component="store-gateway",%s}' % $.jobMatcher($._config.job_names.store_gateway), '{{%s}}' % $._config.per_instance_label)
$.queryPanel('sum(cortex_bucket_store_blocks_loaded{component="store-gateway",%s}) without (user)' % $.jobMatcher($._config.job_names.store_gateway), '{{%s}}' % $._config.per_instance_label)
)
.addPanel(
$.successFailurePanel(
Expand Down

0 comments on commit 02922f9

Please sign in to comment.