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

Commit 87e9af1

Browse files
revert: matching spacing format of main
1 parent e5a38db commit 87e9af1

File tree

1 file changed

+27
-2
lines changed

1 file changed

+27
-2
lines changed

cortex-mixin/dashboards/dashboard-utils.libsonnet

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,33 @@ local utils = import 'mixin-utils/utils.libsonnet';
469469

470470
filterNodeDiskContainer(containerName)::
471471
|||
472-
ignoring(%s) group_right() (label_replace(count by(%s, %s, device) (container_fs_writes_bytes_total{%s,container="%s",device!~".*sda.*"}), "device", "$1", "device", "/dev/(.*)") * 0)
473-
||| % [$._config.per_instance_label, $._config.per_node_label, $._config.per_instance_label, $.namespaceMatcher(), containerName],
472+
ignoring(%s) group_right() (
473+
label_replace(
474+
count by(
475+
%s,
476+
%s,
477+
device
478+
)
479+
(
480+
container_fs_writes_bytes_total{
481+
%s,
482+
container="%s",
483+
device!~".*sda.*"
484+
}
485+
),
486+
"device",
487+
"$1",
488+
"device",
489+
"/dev/(.*)"
490+
) * 0
491+
)
492+
||| % [
493+
$._config.per_instance_label,
494+
$._config.per_node_label,
495+
$._config.per_instance_label,
496+
$.namespaceMatcher(),
497+
containerName,
498+
],
474499

475500
panelDescription(title, description):: {
476501
description: |||

0 commit comments

Comments
 (0)