zuul grafana: fix load average graph

The scale argument was incorrectly outside the function for the load
average graph.  Also we seem to have acquired some extra ")"'s somehow

Change-Id: I0a6a90ed30fac11aedc889cfdcfd4dbb3f815b5a
This commit is contained in:
Ian Wienand 2018-06-07 09:40:07 +10:00
parent b506572c15
commit c32432c67c
1 changed files with 4 additions and 4 deletions

View File

@ -176,7 +176,7 @@ dashboard:
- title: Running Builds
span: 6
targets:
- target: aliasSub(stats.gauges.zuul.executor.*.running_builds, ".*\.(.*)_openstack_org.*", "\1"))
- target: aliasSub(stats.gauges.zuul.executor.*.running_builds, ".*\.(.*)_openstack_org.*", "\1")
type: graph
- title: Executor Queue
span: 6
@ -187,17 +187,17 @@ dashboard:
- title: Load Average
span: 6
targets:
- target: aliasSub(scale(stats.gauges.zuul.executor.*.load_average, ".*\.(.*)_openstack_org.*", 0.01), "\1")
- target: aliasSub(scale(stats.gauges.zuul.executor.*.load_average, 0.01), ".*\.(.*)_openstack_org.*", "\1")
type: graph
- title: Starting Builds
span: 6
targets:
- target: aliasSub(stats.gauges.zuul.executor.*.starting_builds, ".*\.(.*)_openstack_org.*", "\1"))
- target: aliasSub(stats.gauges.zuul.executor.*.starting_builds, ".*\.(.*)_openstack_org.*", "\1")
type: graph
- title: Used RAM
span: 6
targets:
- target: aliasSub(stats.gauges.zuul.executor.*.pct_used_ram, ".*\.(.*)_openstack_org.*", "\1"))
- target: aliasSub(stats.gauges.zuul.executor.*.pct_used_ram, ".*\.(.*)_openstack_org.*", "\1")
type: graph
- title: Mergers
showTitle: true