Skip to content
This repository was archived by the owner on Apr 28, 2025. It is now read-only.

Commit 698b359

Browse files
authored
Merge pull request #249 from grafana/fix-ingester-disk-utilisation
Fixed ingester "Disk Space Utilization" to include any ingester.* PV
2 parents c0923db + b7bd80f commit 698b359

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
@@ -10,6 +10,7 @@
1010
* [BUGFIX] Honor configured `per_instance_label` in all panels. #239
1111
* [BUGFIX] `CortexRequestLatency` alert now ignores long-running requests on query-scheduler. #242
1212
* [BUGFIX] Honor configured `job_names` in the "Memory (go heap inuse)" panel. #247
13+
* [BUGFIX] Fixed ingester "Disk Space Utilization" to include any `ingester.*` PV. #248
1314

1415
## 1.6.0 / 2021-01-05
1516

cortex-mixin/dashboards/writes-resources.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ local utils = import 'mixin-utils/utils.libsonnet';
7272
)
7373
.addPanel(
7474
$.panel('Disk Space Utilization') +
75-
$.queryPanel('max by(persistentvolumeclaim) (kubelet_volume_stats_used_bytes{%s} / kubelet_volume_stats_capacity_bytes{%s}) and count by(persistentvolumeclaim) (kube_persistentvolumeclaim_labels{%s,label_name="ingester"})' % [$.namespaceMatcher(), $.namespaceMatcher(), $.namespaceMatcher()], '{{persistentvolumeclaim}}') +
75+
$.queryPanel('max by(persistentvolumeclaim) (kubelet_volume_stats_used_bytes{%s} / kubelet_volume_stats_capacity_bytes{%s}) and count by(persistentvolumeclaim) (kube_persistentvolumeclaim_labels{%s,label_name=~"ingester.*"})' % [$.namespaceMatcher(), $.namespaceMatcher(), $.namespaceMatcher()], '{{persistentvolumeclaim}}') +
7676
{ yaxes: $.yaxes('percentunit') },
7777
)
7878
)

0 commit comments

Comments
 (0)