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
This commit is contained in:
Clark Boylan 2018-07-18 15:47:30 -07:00
parent 6bfb82d124
commit 8bbd215c24
1 changed files with 12 additions and 4 deletions

View File

@ -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