From 8a13af8fa88249a2d6f7fab43bd0da427c695336 Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Tue, 16 Nov 2021 12:38:11 +1100 Subject: [PATCH] grafana: update nodepool/dib images Update the nodepool/dib images to better reflect what is currently building Change-Id: I0d95c67d7f982313d18bad848c3772856ae29cfb --- grafana/create-nodepool-dib.sh | 8 +- grafana/nodepool-dib.yaml | 324 ++++++++++++++++++++++----------- 2 files changed, 219 insertions(+), 113 deletions(-) diff --git a/grafana/create-nodepool-dib.sh b/grafana/create-nodepool-dib.sh index b7dc7e60d9..07757e7ff9 100755 --- a/grafana/create-nodepool-dib.sh +++ b/grafana/create-nodepool-dib.sh @@ -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" diff --git a/grafana/nodepool-dib.yaml b/grafana/nodepool-dib.yaml index 6703b96ed5..ac3f7163c5 100644 --- a/grafana/nodepool-dib.yaml +++ b/grafana/nodepool-dib.yaml @@ -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