Update nodepool dib stats

This updates the stats for the changes made in the dependent change.

Change-Id: I39c055ec148670e015c9b56a015fd8c95839e044
Depends-On: https://review.openstack.org/638533
This commit is contained in:
Ian Wienand 2019-02-22 16:13:14 +11:00
parent 71a740c354
commit e8938e5e25
2 changed files with 140 additions and 28 deletions

View File

@ -16,7 +16,15 @@
thresholds: 0.1,0.9 thresholds: 0.1,0.9
span: 2 span: 2
targets: targets:
- target: "stats.gauges.nodepool.dib_image_build.%KEY%.qcow2.rc" - target: "stats.gauges.nodepool.dib_image_build.%KEY%.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.%KEY%.status.last_build"
valueFontSize: "50%" valueFontSize: "50%"
- title: Image size - title: Image size
@ -40,5 +48,5 @@
- format: ms - format: ms
min: 0 min: 0
targets: targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.%KEY%.qcow2.duration.mean, 'None'), "Time") - target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.%KEY%.status.duration.mean, 'None'), "Time")
refId: A refId: A

View File

@ -37,7 +37,15 @@ dashboard:
thresholds: 0.1,0.9 thresholds: 0.1,0.9
span: 2 span: 2
targets: targets:
- target: "stats.gauges.nodepool.dib_image_build.ubuntu-bionic.qcow2.rc" - target: "stats.gauges.nodepool.dib_image_build.ubuntu-bionic.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.ubuntu-bionic.status.last_build"
valueFontSize: "50%" valueFontSize: "50%"
- title: Image size - title: Image size
@ -61,7 +69,7 @@ dashboard:
- format: ms - format: ms
min: 0 min: 0
targets: targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.ubuntu-bionic.qcow2.duration.mean, 'None'), "Time") - target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.ubuntu-bionic.status.duration.mean, 'None'), "Time")
refId: A refId: A
# AUTOGENERATED : Ubuntu Xenial # AUTOGENERATED : Ubuntu Xenial
@ -81,7 +89,15 @@ dashboard:
thresholds: 0.1,0.9 thresholds: 0.1,0.9
span: 2 span: 2
targets: targets:
- target: "stats.gauges.nodepool.dib_image_build.ubuntu-xenial.qcow2.rc" - target: "stats.gauges.nodepool.dib_image_build.ubuntu-xenial.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.ubuntu-xenial.status.last_build"
valueFontSize: "50%" valueFontSize: "50%"
- title: Image size - title: Image size
@ -105,7 +121,7 @@ dashboard:
- format: ms - format: ms
min: 0 min: 0
targets: targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.ubuntu-xenial.qcow2.duration.mean, 'None'), "Time") - target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.ubuntu-xenial.status.duration.mean, 'None'), "Time")
refId: A refId: A
# AUTOGENERATED : Ubuntu Trusty # AUTOGENERATED : Ubuntu Trusty
@ -125,7 +141,15 @@ dashboard:
thresholds: 0.1,0.9 thresholds: 0.1,0.9
span: 2 span: 2
targets: targets:
- target: "stats.gauges.nodepool.dib_image_build.ubuntu-trusty.qcow2.rc" - target: "stats.gauges.nodepool.dib_image_build.ubuntu-trusty.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.ubuntu-trusty.status.last_build"
valueFontSize: "50%" valueFontSize: "50%"
- title: Image size - title: Image size
@ -149,7 +173,7 @@ dashboard:
- format: ms - format: ms
min: 0 min: 0
targets: targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.ubuntu-trusty.qcow2.duration.mean, 'None'), "Time") - target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.ubuntu-trusty.status.duration.mean, 'None'), "Time")
refId: A refId: A
# AUTOGENERATED : Centos 7 # AUTOGENERATED : Centos 7
@ -169,7 +193,15 @@ dashboard:
thresholds: 0.1,0.9 thresholds: 0.1,0.9
span: 2 span: 2
targets: targets:
- target: "stats.gauges.nodepool.dib_image_build.centos-7.qcow2.rc" - target: "stats.gauges.nodepool.dib_image_build.centos-7.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.centos-7.status.last_build"
valueFontSize: "50%" valueFontSize: "50%"
- title: Image size - title: Image size
@ -193,7 +225,7 @@ dashboard:
- format: ms - format: ms
min: 0 min: 0
targets: targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.centos-7.qcow2.duration.mean, 'None'), "Time") - target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.centos-7.status.duration.mean, 'None'), "Time")
refId: A refId: A
# AUTOGENERATED : Fedora 29 # AUTOGENERATED : Fedora 29
@ -213,7 +245,15 @@ dashboard:
thresholds: 0.1,0.9 thresholds: 0.1,0.9
span: 2 span: 2
targets: targets:
- target: "stats.gauges.nodepool.dib_image_build.fedora-29.qcow2.rc" - target: "stats.gauges.nodepool.dib_image_build.fedora-29.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.fedora-29.status.last_build"
valueFontSize: "50%" valueFontSize: "50%"
- title: Image size - title: Image size
@ -237,7 +277,7 @@ dashboard:
- format: ms - format: ms
min: 0 min: 0
targets: targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.fedora-29.qcow2.duration.mean, 'None'), "Time") - target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.fedora-29.status.duration.mean, 'None'), "Time")
refId: A refId: A
# AUTOGENERATED : Fedora 30 # AUTOGENERATED : Fedora 30
@ -257,7 +297,15 @@ dashboard:
thresholds: 0.1,0.9 thresholds: 0.1,0.9
span: 2 span: 2
targets: targets:
- target: "stats.gauges.nodepool.dib_image_build.fedora-30.qcow2.rc" - target: "stats.gauges.nodepool.dib_image_build.fedora-30.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.fedora-30.status.last_build"
valueFontSize: "50%" valueFontSize: "50%"
- title: Image size - title: Image size
@ -281,7 +329,7 @@ dashboard:
- format: ms - format: ms
min: 0 min: 0
targets: targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.fedora-30.qcow2.duration.mean, 'None'), "Time") - target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.fedora-30.status.duration.mean, 'None'), "Time")
refId: A refId: A
# AUTOGENERATED : Debian Buster # AUTOGENERATED : Debian Buster
@ -301,7 +349,15 @@ dashboard:
thresholds: 0.1,0.9 thresholds: 0.1,0.9
span: 2 span: 2
targets: targets:
- target: "stats.gauges.nodepool.dib_image_build.debian-buster.qcow2.rc" - target: "stats.gauges.nodepool.dib_image_build.debian-buster.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.debian-buster.status.last_build"
valueFontSize: "50%" valueFontSize: "50%"
- title: Image size - title: Image size
@ -325,7 +381,7 @@ dashboard:
- format: ms - format: ms
min: 0 min: 0
targets: targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.debian-buster.qcow2.duration.mean, 'None'), "Time") - target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.debian-buster.status.duration.mean, 'None'), "Time")
refId: A refId: A
# AUTOGENERATED : Debian Stretch # AUTOGENERATED : Debian Stretch
@ -345,7 +401,15 @@ dashboard:
thresholds: 0.1,0.9 thresholds: 0.1,0.9
span: 2 span: 2
targets: targets:
- target: "stats.gauges.nodepool.dib_image_build.debian-stretch.qcow2.rc" - target: "stats.gauges.nodepool.dib_image_build.debian-stretch.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.debian-stretch.status.last_build"
valueFontSize: "50%" valueFontSize: "50%"
- title: Image size - title: Image size
@ -369,7 +433,7 @@ dashboard:
- format: ms - format: ms
min: 0 min: 0
targets: targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.debian-stretch.qcow2.duration.mean, 'None'), "Time") - target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.debian-stretch.status.duration.mean, 'None'), "Time")
refId: A refId: A
# AUTOGENERATED : Gentoo # AUTOGENERATED : Gentoo
@ -389,7 +453,15 @@ dashboard:
thresholds: 0.1,0.9 thresholds: 0.1,0.9
span: 2 span: 2
targets: targets:
- target: "stats.gauges.nodepool.dib_image_build.gentoo-17-0-systemd.qcow2.rc" - target: "stats.gauges.nodepool.dib_image_build.gentoo-17-0-systemd.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.gentoo-17-0-systemd.status.last_build"
valueFontSize: "50%" valueFontSize: "50%"
- title: Image size - title: Image size
@ -413,7 +485,7 @@ dashboard:
- format: ms - format: ms
min: 0 min: 0
targets: targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.gentoo-17-0-systemd.qcow2.duration.mean, 'None'), "Time") - target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.gentoo-17-0-systemd.status.duration.mean, 'None'), "Time")
refId: A refId: A
# AUTOGENERATED : openSUSE 15.1 # AUTOGENERATED : openSUSE 15.1
@ -433,7 +505,15 @@ dashboard:
thresholds: 0.1,0.9 thresholds: 0.1,0.9
span: 2 span: 2
targets: targets:
- target: "stats.gauges.nodepool.dib_image_build.opensuse-15.qcow2.rc" - target: "stats.gauges.nodepool.dib_image_build.opensuse-15.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.opensuse-15.status.last_build"
valueFontSize: "50%" valueFontSize: "50%"
- title: Image size - title: Image size
@ -457,7 +537,7 @@ dashboard:
- format: ms - format: ms
min: 0 min: 0
targets: targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.opensuse-15.qcow2.duration.mean, 'None'), "Time") - target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.opensuse-15.status.duration.mean, 'None'), "Time")
refId: A refId: A
# AUTOGENERATED : openSUSE Tumbleweed # AUTOGENERATED : openSUSE Tumbleweed
@ -477,7 +557,15 @@ dashboard:
thresholds: 0.1,0.9 thresholds: 0.1,0.9
span: 2 span: 2
targets: targets:
- target: "stats.gauges.nodepool.dib_image_build.opensuse-tumbleweed.qcow2.rc" - target: "stats.gauges.nodepool.dib_image_build.opensuse-tumbleweed.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.opensuse-tumbleweed.status.last_build"
valueFontSize: "50%" valueFontSize: "50%"
- title: Image size - title: Image size
@ -501,7 +589,7 @@ dashboard:
- format: ms - format: ms
min: 0 min: 0
targets: targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.opensuse-tumbleweed.qcow2.duration.mean, 'None'), "Time") - target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.opensuse-tumbleweed.status.duration.mean, 'None'), "Time")
refId: A refId: A
# AUTOGENERATED : Ubuntu Bionic arm64 # AUTOGENERATED : Ubuntu Bionic arm64
@ -521,7 +609,15 @@ dashboard:
thresholds: 0.1,0.9 thresholds: 0.1,0.9
span: 2 span: 2
targets: targets:
- target: "stats.gauges.nodepool.dib_image_build.ubuntu-bionic-arm64.qcow2.rc" - target: "stats.gauges.nodepool.dib_image_build.ubuntu-bionic-arm64.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.ubuntu-bionic-arm64.status.last_build"
valueFontSize: "50%" valueFontSize: "50%"
- title: Image size - title: Image size
@ -545,7 +641,7 @@ dashboard:
- format: ms - format: ms
min: 0 min: 0
targets: targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.ubuntu-bionic-arm64.qcow2.duration.mean, 'None'), "Time") - target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.ubuntu-bionic-arm64.status.duration.mean, 'None'), "Time")
refId: A refId: A
# AUTOGENERATED : Ubuntu Xenial arm64 # AUTOGENERATED : Ubuntu Xenial arm64
@ -565,7 +661,15 @@ dashboard:
thresholds: 0.1,0.9 thresholds: 0.1,0.9
span: 2 span: 2
targets: targets:
- target: "stats.gauges.nodepool.dib_image_build.ubuntu-xenial-arm64.qcow2.rc" - target: "stats.gauges.nodepool.dib_image_build.ubuntu-xenial-arm64.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.ubuntu-xenial-arm64.status.last_build"
valueFontSize: "50%" valueFontSize: "50%"
- title: Image size - title: Image size
@ -589,5 +693,5 @@ dashboard:
- format: ms - format: ms
min: 0 min: 0
targets: targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.ubuntu-xenial-arm64.qcow2.duration.mean, 'None'), "Time") - target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.ubuntu-xenial-arm64.status.duration.mean, 'None'), "Time")
refId: A refId: A