Merge "grafana: update nodepool/dib images"

This commit is contained in:
Zuul 2021-11-17 22:23:52 +00:00 committed by Gerrit Code Review
commit 36463e1bfe
2 changed files with 219 additions and 113 deletions

View File

@ -15,21 +15,23 @@ function create {
}
cp nodepool-dib.base.template nodepool-dib.yaml
create "Ubuntu Focal" "ubuntu-focal"
create "Ubuntu Bionic" "ubuntu-bionic"
create "Ubuntu Xenial" "ubuntu-xenial"
create "Centos 7" "centos-7"
create "Centos 8" "centos-8"
create "Fedora 34" "fedora-34"
create "Centos 8 Stream" "centos-8-stream"
create "Centos 9 Stream" "centos-9-stream"
create "Fedora 35" "fedora-35"
create "Debian Bullseye" "debian-bullseye"
create "Debian Buster" "debian-buster"
create "Debian Stretch" "debian-stretch"
create "Gentoo" "gentoo-17-0-systemd"
create "openSUSE 15.1" "opensuse-15"
create "openSUSE Tumbleweed" "opensuse-tumbleweed"
create "Centos 8 arm64" "centos-8-arm64"
create "Centos 8-stream arm64" "centos-8-stream-arm64"
create "Debian Bullseye arm64" "debian-bullseye-arm64"
create "Debian Buster arm64" "debian-buster-arm64"
create "Debian Stretch arm64" "debian-stretch-arm64"
create "Ubuntu Focal arm64" "ubuntu-focal-arm64"
create "Ubuntu Bionic arm64" "ubuntu-bionic-arm64"

View File

@ -19,6 +19,58 @@ dashboard:
If you would like to make changes to this dashboard, please see the grafana directory in [project-config](https://opendev.org/openstack/project-config/src/branch/master/grafana/afs.yaml).
type: text
# AUTOGENERATED : Ubuntu Focal
- title: Ubuntu Focal
showTitle: true
height: 200px
panels:
- title: Build status
colorBackground: true
type: singlestat
valueName: current
valueMaps:
- value: 0
text: "OK"
- value: 1
text: "FAILED"
thresholds: 0.1,0.9
span: 2
targets:
- target: "stats.gauges.nodepool.dib_image_build.ubuntu-focal.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.ubuntu-focal.status.last_build"
valueFontSize: "50%"
- title: Image size
type: graph
span: 3
yaxes:
- format: decbytes
min: 0
- format: decbytes
min: 0
targets:
- target: aliasByNode(stats.gauges.nodepool.dib_image_build.ubuntu-focal.*.size, 5)
refId: A
- title: Build duration
type: graph
span: 3
yaxes:
- format: ms
min: 0
- format: ms
min: 0
targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.ubuntu-focal.status.duration.mean, 'None'), "Time")
refId: A
# AUTOGENERATED : Ubuntu Bionic
- title: Ubuntu Bionic
@ -227,9 +279,9 @@ dashboard:
targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.centos-8.status.duration.mean, 'None'), "Time")
refId: A
# AUTOGENERATED : Fedora 34
# AUTOGENERATED : Centos 8 Stream
- title: Fedora 34
- title: Centos 8 Stream
showTitle: true
height: 200px
panels:
@ -245,7 +297,7 @@ dashboard:
thresholds: 0.1,0.9
span: 2
targets:
- target: "stats.gauges.nodepool.dib_image_build.fedora-34.status.rc"
- target: "stats.gauges.nodepool.dib_image_build.centos-8-stream.status.rc"
valueFontSize: "50%"
- title: Last build
@ -253,7 +305,7 @@ dashboard:
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.fedora-34.status.last_build"
- target: "stats.gauges.nodepool.dib_image_build.centos-8-stream.status.last_build"
valueFontSize: "50%"
- title: Image size
@ -265,7 +317,7 @@ dashboard:
- format: decbytes
min: 0
targets:
- target: aliasByNode(stats.gauges.nodepool.dib_image_build.fedora-34.*.size, 5)
- target: aliasByNode(stats.gauges.nodepool.dib_image_build.centos-8-stream.*.size, 5)
refId: A
- title: Build duration
@ -277,7 +329,111 @@ dashboard:
- format: ms
min: 0
targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.fedora-34.status.duration.mean, 'None'), "Time")
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.centos-8-stream.status.duration.mean, 'None'), "Time")
refId: A
# AUTOGENERATED : Centos 9 Stream
- title: Centos 9 Stream
showTitle: true
height: 200px
panels:
- title: Build status
colorBackground: true
type: singlestat
valueName: current
valueMaps:
- value: 0
text: "OK"
- value: 1
text: "FAILED"
thresholds: 0.1,0.9
span: 2
targets:
- target: "stats.gauges.nodepool.dib_image_build.centos-9-stream.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.centos-9-stream.status.last_build"
valueFontSize: "50%"
- title: Image size
type: graph
span: 3
yaxes:
- format: decbytes
min: 0
- format: decbytes
min: 0
targets:
- target: aliasByNode(stats.gauges.nodepool.dib_image_build.centos-9-stream.*.size, 5)
refId: A
- title: Build duration
type: graph
span: 3
yaxes:
- format: ms
min: 0
- format: ms
min: 0
targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.centos-9-stream.status.duration.mean, 'None'), "Time")
refId: A
# AUTOGENERATED : Fedora 35
- title: Fedora 35
showTitle: true
height: 200px
panels:
- title: Build status
colorBackground: true
type: singlestat
valueName: current
valueMaps:
- value: 0
text: "OK"
- value: 1
text: "FAILED"
thresholds: 0.1,0.9
span: 2
targets:
- target: "stats.gauges.nodepool.dib_image_build.fedora-35.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.fedora-35.status.last_build"
valueFontSize: "50%"
- title: Image size
type: graph
span: 3
yaxes:
- format: decbytes
min: 0
- format: decbytes
min: 0
targets:
- target: aliasByNode(stats.gauges.nodepool.dib_image_build.fedora-35.*.size, 5)
refId: A
- title: Build duration
type: graph
span: 3
yaxes:
- format: ms
min: 0
- format: ms
min: 0
targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.fedora-35.status.duration.mean, 'None'), "Time")
refId: A
# AUTOGENERATED : Debian Bullseye
@ -383,58 +539,6 @@ dashboard:
targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.debian-buster.status.duration.mean, 'None'), "Time")
refId: A
# AUTOGENERATED : Debian Stretch
- title: Debian Stretch
showTitle: true
height: 200px
panels:
- title: Build status
colorBackground: true
type: singlestat
valueName: current
valueMaps:
- value: 0
text: "OK"
- value: 1
text: "FAILED"
thresholds: 0.1,0.9
span: 2
targets:
- 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%"
- title: Image size
type: graph
span: 3
yaxes:
- format: decbytes
min: 0
- format: decbytes
min: 0
targets:
- target: aliasByNode(stats.gauges.nodepool.dib_image_build.debian-stretch.*.size, 5)
refId: A
- title: Build duration
type: graph
span: 3
yaxes:
- format: ms
min: 0
- format: ms
min: 0
targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.debian-stretch.status.duration.mean, 'None'), "Time")
refId: A
# AUTOGENERATED : Gentoo
- title: Gentoo
@ -643,6 +747,58 @@ dashboard:
targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.centos-8-arm64.status.duration.mean, 'None'), "Time")
refId: A
# AUTOGENERATED : Centos 8-stream arm64
- title: Centos 8-stream arm64
showTitle: true
height: 200px
panels:
- title: Build status
colorBackground: true
type: singlestat
valueName: current
valueMaps:
- value: 0
text: "OK"
- value: 1
text: "FAILED"
thresholds: 0.1,0.9
span: 2
targets:
- target: "stats.gauges.nodepool.dib_image_build.centos-8-stream-arm64.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.centos-8-stream-arm64.status.last_build"
valueFontSize: "50%"
- title: Image size
type: graph
span: 3
yaxes:
- format: decbytes
min: 0
- format: decbytes
min: 0
targets:
- target: aliasByNode(stats.gauges.nodepool.dib_image_build.centos-8-stream-arm64.*.size, 5)
refId: A
- title: Build duration
type: graph
span: 3
yaxes:
- format: ms
min: 0
- format: ms
min: 0
targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.centos-8-stream-arm64.status.duration.mean, 'None'), "Time")
refId: A
# AUTOGENERATED : Debian Bullseye arm64
- title: Debian Bullseye arm64
@ -747,58 +903,6 @@ dashboard:
targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.debian-buster-arm64.status.duration.mean, 'None'), "Time")
refId: A
# AUTOGENERATED : Debian Stretch arm64
- title: Debian Stretch arm64
showTitle: true
height: 200px
panels:
- title: Build status
colorBackground: true
type: singlestat
valueName: current
valueMaps:
- value: 0
text: "OK"
- value: 1
text: "FAILED"
thresholds: 0.1,0.9
span: 2
targets:
- target: "stats.gauges.nodepool.dib_image_build.debian-stretch-arm64.status.rc"
valueFontSize: "50%"
- title: Last build
type: singlestat
span: 2
format: dateTimeFromNow
targets:
- target: "stats.gauges.nodepool.dib_image_build.debian-stretch-arm64.status.last_build"
valueFontSize: "50%"
- title: Image size
type: graph
span: 3
yaxes:
- format: decbytes
min: 0
- format: decbytes
min: 0
targets:
- target: aliasByNode(stats.gauges.nodepool.dib_image_build.debian-stretch-arm64.*.size, 5)
refId: A
- title: Build duration
type: graph
span: 3
yaxes:
- format: ms
min: 0
- format: ms
min: 0
targets:
- target: alias(keepLastValue(stats.timers.nodepool.dib_image_build.debian-stretch-arm64.status.duration.mean, 'None'), "Time")
refId: A
# AUTOGENERATED : Ubuntu Focal arm64
- title: Ubuntu Focal arm64