Use current valueName for zuul-stats singlestats

Right now, the values we display are averages, which is confusing
to people.  Setting valueName to current, we'll actually display the
current count for singlestats.

Change-Id: Icb1a62fb8b289165679ceec16e7d65dab98bf602
Depends-On: I4df8d130fce45cf58b01808997fc561cf8c4b42d
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2015-11-05 12:33:01 -05:00
parent cc989fe551
commit 4224caa242
1 changed files with 6 additions and 0 deletions

View File

@ -21,6 +21,7 @@ dashboard:
targets:
- target: stats.gauges.zuul.pipeline.check.current_changes
type: singlestat
valueName: current
- title: Gate
span: 2
sparkline:
@ -29,6 +30,7 @@ dashboard:
targets:
- target: stats.gauges.zuul.pipeline.gate.current_changes
type: singlestat
valueName: current
- title: Post
span: 2
sparkline:
@ -37,6 +39,7 @@ dashboard:
targets:
- target: stats.gauges.zuul.pipeline.post.current_changes
type: singlestat
valueName: current
- title: Tag
span: 2
sparkline:
@ -45,6 +48,7 @@ dashboard:
targets:
- target: stats.gauges.zuul.pipeline.tag.current_changes
type: singlestat
valueName: current
- title: Pre-Release
span: 2
sparkline:
@ -53,6 +57,7 @@ dashboard:
targets:
- target: stats.gauges.zuul.pipeline.pre-release.current_changes
type: singlestat
valueName: current
- title: Release
span: 2
sparkline:
@ -61,6 +66,7 @@ dashboard:
targets:
- target: stats.gauges.zuul.pipeline.release.current_changes
type: singlestat
valueName: current
showTitle: true
- title: Graphs
height: 250px