From de24ed92849f14be11bf96ec17a229a48d4e6193 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan-Otto=20Kr=C3=B6pke?= Date: Sat, 14 Oct 2023 13:37:40 +0200 Subject: [PATCH] Fix IOPS panel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jan-Otto Kröpke --- dashboards/resources/cluster.libsonnet | 12 ++++++------ dashboards/resources/namespace.libsonnet | 12 ++++++------ dashboards/resources/pod.libsonnet | 12 ++++++------ 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/dashboards/resources/cluster.libsonnet b/dashboards/resources/cluster.libsonnet index f3f8b20d9..eb19b7c22 100644 --- a/dashboards/resources/cluster.libsonnet +++ b/dashboards/resources/cluster.libsonnet @@ -101,18 +101,18 @@ local template = grafana.template; }, 'Value #A': { alias: 'IOPS(Reads)', - unit: 'short', - decimals: -1, + unit: 'iops', + decimals: 3, }, 'Value #B': { alias: 'IOPS(Writes)', - unit: 'short', - decimals: -1, + unit: 'iops', + decimals: 3, }, 'Value #C': { alias: 'IOPS(Reads + Writes)', - unit: 'short', - decimals: -1, + unit: 'iops', + decimals: 3, }, 'Value #D': { alias: 'Throughput(Read)', diff --git a/dashboards/resources/namespace.libsonnet b/dashboards/resources/namespace.libsonnet index 01a9f06b7..c7a1fc4c9 100644 --- a/dashboards/resources/namespace.libsonnet +++ b/dashboards/resources/namespace.libsonnet @@ -102,18 +102,18 @@ local template = grafana.template; }, 'Value #A': { alias: 'IOPS(Reads)', - unit: 'short', - decimals: -1, + unit: 'iops', + decimals: 3, }, 'Value #B': { alias: 'IOPS(Writes)', - unit: 'short', - decimals: -1, + unit: 'iops', + decimals: 3, }, 'Value #C': { alias: 'IOPS(Reads + Writes)', - unit: 'short', - decimals: -1, + unit: 'iops', + decimals: 3, }, 'Value #D': { alias: 'Throughput(Read)', diff --git a/dashboards/resources/pod.libsonnet b/dashboards/resources/pod.libsonnet index 6e8832de4..1a83bf24f 100644 --- a/dashboards/resources/pod.libsonnet +++ b/dashboards/resources/pod.libsonnet @@ -73,18 +73,18 @@ local template = grafana.template; }, 'Value #A': { alias: 'IOPS(Reads)', - unit: 'short', - decimals: -1, + unit: 'iops', + decimals: 3, }, 'Value #B': { alias: 'IOPS(Writes)', - unit: 'short', - decimals: -1, + unit: 'iops', + decimals: 3, }, 'Value #C': { alias: 'IOPS(Reads + Writes)', - unit: 'short', - decimals: -1, + unit: 'iops', + decimals: 3, }, 'Value #D': { alias: 'Throughput(Read)',