From 8bbd215c24c5673bbebd70f35ed25359fdc54da5 Mon Sep 17 00:00:00 2001 From: Clark Boylan Date: Wed, 18 Jul 2018 15:47:30 -0700 Subject: [PATCH] Clarify Zuul Ram and HDD usage graphs Make it clear that these values are percentages. We update labels to convey that and scale the values so that we get 71% instead of 7.145. Change-Id: I64bb9cfa536c2ba395be0264839a7a50929d7477 --- grafana/zuul-status.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/grafana/zuul-status.yaml b/grafana/zuul-status.yaml index c3d514754d..684e52ae1a 100644 --- a/grafana/zuul-status.yaml +++ b/grafana/zuul-status.yaml @@ -194,15 +194,23 @@ dashboard: targets: - target: aliasSub(stats.gauges.zuul.executor.*.starting_builds, ".*\.(.*)_openstack_org.*", "\1") type: graph - - title: Used HDD + - title: Used HDD (Percentage) span: 6 + yaxes: + - label: Used HDD % + format: percent + - show: false targets: - - target: aliasSub(stats.gauges.zuul.executor.*.pct_used_hdd, ".*\.(.*)_openstack_org.*", "\1") + - target: aliasSub(scale(stats.gauges.zuul.executor.*.pct_used_hdd, 0.01), ".*\.(.*)_openstack_org.*", "\1") type: graph - - title: Used RAM + - title: Used RAM (Percentage) span: 6 + yaxes: + - label: Used HDD % + format: percent + - show: false targets: - - target: aliasSub(stats.gauges.zuul.executor.*.pct_used_ram, ".*\.(.*)_openstack_org.*", "\1") + - target: aliasSub(scale(stats.gauges.zuul.executor.*.pct_used_ram, 0.01), ".*\.(.*)_openstack_org.*", "\1") type: graph - title: Mergers showTitle: true