From 5c57b07f96cfcf6d302c203b53453fe2f5e3cb9a Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Thu, 30 Jun 2022 14:35:06 +1000 Subject: [PATCH] grafana: update nodepool-dib status page Update this to new panel types and modify layout a bit. This uses a variable to map over the stats, rather than the old template model. This replaces the non-working thresholds that show the "OK"/"FAILED" with value mappings which should be more reliable. This also includes a heatmap at the top -- it's a bit weird because it's mapping the return values of the builds, so can range between 0->128. The return code value doesn't really help diagnose anything, but it can highlight if things are failing in the same way (i.e. with the same return code). Change-Id: I74822881251c627d8e783438fa82e39aeca5645e --- grafana/create-nodepool-dib.sh | 36 - grafana/nodepool-dib-status.json | 495 ++++++++++++++ grafana/nodepool-dib.base.template | 21 - grafana/nodepool-dib.image.template | 53 -- grafana/nodepool-dib.yaml | 975 ---------------------------- 5 files changed, 495 insertions(+), 1085 deletions(-) delete mode 100755 grafana/create-nodepool-dib.sh create mode 100644 grafana/nodepool-dib-status.json delete mode 100644 grafana/nodepool-dib.base.template delete mode 100644 grafana/nodepool-dib.image.template delete mode 100644 grafana/nodepool-dib.yaml diff --git a/grafana/create-nodepool-dib.sh b/grafana/create-nodepool-dib.sh deleted file mode 100755 index 820f5676a3..0000000000 --- a/grafana/create-nodepool-dib.sh +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/bash - -# Create the nodepool-dib.yaml dashboard with nodepool dib build -# status. - -output_file=nodepool-dib.yaml - -function create { - local title="$1" - local key="$2" - - sed -e "s/%TITLE%/${title}/; " \ - -e "s/%KEY%/${key}/" \ - nodepool-dib.image.template >> ${output_file} -} - -cp nodepool-dib.base.template nodepool-dib.yaml -create "Ubuntu Jammy" "ubuntu-jammy" -create "Ubuntu Focal" "ubuntu-focal" -create "Ubuntu Bionic" "ubuntu-bionic" -create "Ubuntu Xenial" "ubuntu-xenial" -create "Centos 7" "centos-7" -create "Centos 8 Stream" "centos-8-stream" -create "Centos 9 Stream" "centos-9-stream" -create "Fedora 35" "fedora-35" -create "Rocky Linux 8" "rockylinux-8" -create "Debian Bullseye" "debian-bullseye" -create "Debian Buster" "debian-buster" -create "Gentoo" "gentoo-17-0-systemd" -create "openSUSE 15.1" "opensuse-15" -create "Centos 8-stream arm64" "centos-8-stream-arm64" -create "Debian Bullseye arm64" "debian-bullseye-arm64" -create "Debian Buster arm64" "debian-buster-arm64" -create "Ubuntu Focal arm64" "ubuntu-focal-arm64" -create "Ubuntu Bionic arm64" "ubuntu-bionic-arm64" - diff --git a/grafana/nodepool-dib-status.json b/grafana/nodepool-dib-status.json new file mode 100644 index 0000000000..68a33841ce --- /dev/null +++ b/grafana/nodepool-dib-status.json @@ -0,0 +1,495 @@ +{ + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": 31, + "iteration": 1656567616060, + "links": [], + "liveNow": false, + "panels": [ + { + "datasource": { + "type": "graphite", + "uid": "d9c17c45a8" + }, + "description": "This shows the Unix return status of the build for each image type. Values may be a bit weird if the buckets merge together, but a non-zero value indicates an error", + "fieldConfig": { + "defaults": { + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "scaleDistribution": { + "type": "linear" + } + } + }, + "overrides": [] + }, + "gridPos": { + "h": 12, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 151, + "options": { + "calculate": false, + "cellGap": 1, + "color": { + "exponent": 0.5, + "fill": "dark-orange", + "mode": "scheme", + "scale": "exponential", + "scheme": "Reds", + "steps": 65 + }, + "exemplars": { + "color": "rgba(255,0,255,0.7)" + }, + "filterValues": { + "le": 1e-9 + }, + "legend": { + "show": false + }, + "rowsFrame": { + "layout": "auto" + }, + "tooltip": { + "show": true, + "yHistogram": false + }, + "yAxis": { + "axisPlacement": "left", + "reverse": false + } + }, + "pluginVersion": "9.0.2", + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "d9c17c45a8" + }, + "refId": "A", + "target": "aliasByNode(stats.gauges.nodepool.dib_image_build.*.status.rc, 4)" + } + ], + "title": "Build Status Overview", + "type": "heatmap-new" + }, + { + "collapsed": false, + "datasource": { + "type": "graphite", + "uid": "d9c17c45a8" + }, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 12 + }, + "id": 7, + "panels": [], + "repeat": "dib_image", + "repeatDirection": "h", + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "d9c17c45a8" + }, + "refId": "A" + } + ], + "title": "$dib_image status", + "type": "row" + }, + { + "datasource": { + "type": "graphite", + "uid": "d9c17c45a8" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [ + { + "options": { + "0": { + "color": "green", + "index": 0, + "text": "OK" + } + }, + "type": "value" + }, + { + "options": { + "from": 0.01, + "result": { + "color": "red", + "index": 1, + "text": "FAILED" + }, + "to": 129 + }, + "type": "range" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 4, + "x": 0, + "y": 13 + }, + "id": 3, + "maxDataPoints": 100, + "options": { + "colorMode": "background", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "9.0.2", + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "d9c17c45a8" + }, + "refId": "A", + "target": "stats.gauges.nodepool.dib_image_build.$dib_image.status.rc" + } + ], + "title": "Build status", + "type": "stat" + }, + { + "datasource": { + "type": "graphite", + "uid": "d9c17c45a8" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 10, + "x": 4, + "y": 13 + }, + "id": 5, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.0.2", + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "d9c17c45a8" + }, + "refId": "A", + "target": "aliasByNode(stats.gauges.nodepool.dib_image_build.$dib_image.*.size, 5)" + } + ], + "title": "Image size", + "type": "timeseries" + }, + { + "datasource": { + "type": "graphite", + "uid": "d9c17c45a8" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 10, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 6, + "w": 10, + "x": 14, + "y": 13 + }, + "id": 6, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom" + }, + "tooltip": { + "mode": "multi", + "sort": "none" + } + }, + "pluginVersion": "9.0.2", + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "d9c17c45a8" + }, + "refId": "A", + "target": "alias(keepLastValue(stats.timers.nodepool.dib_image_build.$dib_image.status.duration.mean), 'Time')" + } + ], + "title": "Build duration", + "type": "timeseries" + }, + { + "datasource": { + "type": "graphite", + "uid": "d9c17c45a8" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "dateTimeFromNow" + }, + "overrides": [] + }, + "gridPos": { + "h": 3, + "w": 4, + "x": 0, + "y": 16 + }, + "id": 4, + "maxDataPoints": 100, + "options": { + "colorMode": "none", + "graphMode": "none", + "justifyMode": "auto", + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "9.0.2", + "targets": [ + { + "datasource": { + "type": "graphite", + "uid": "d9c17c45a8" + }, + "refId": "A", + "target": "scale(stats.gauges.nodepool.dib_image_build.$dib_image.status.last_build, 1000)" + } + ], + "title": "Last build", + "type": "stat" + } + ], + "schemaVersion": 36, + "style": "dark", + "tags": [], + "templating": { + "list": [ + { + "current": { + "selected": false, + "text": "All", + "value": "$__all" + }, + "datasource": { + "type": "graphite", + "uid": "d9c17c45a8" + }, + "definition": "stats.timers.nodepool.dib_image_build.*", + "hide": 0, + "includeAll": true, + "multi": false, + "name": "dib_image", + "options": [], + "query": "stats.timers.nodepool.dib_image_build.*", + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + } + ] + }, + "time": { + "from": "now-30d", + "to": "now" + }, + "timepicker": {}, + "timezone": "utc", + "title": "Nodepool: DIB Status", + "uid": "f3089338b3", + "version": 9, + "weekStart": "" +} \ No newline at end of file diff --git a/grafana/nodepool-dib.base.template b/grafana/nodepool-dib.base.template deleted file mode 100644 index 479d1b3f5c..0000000000 --- a/grafana/nodepool-dib.base.template +++ /dev/null @@ -1,21 +0,0 @@ -# -# NOTE: This file is autogenerated. Use ./create-nodepool-dib.sh to -# recreate it -# - -dashboard: - title: 'Nodepool: DIB Status' - time: - from: "now-7d" - to: "now" - rows: - - title: Description - height: 100px - panels: - - title: Description - content: | - **This dashboard is managed by [Grafyaml](https://docs.openstack.org/infra/system-config/grafyaml.html).** - - 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 - diff --git a/grafana/nodepool-dib.image.template b/grafana/nodepool-dib.image.template deleted file mode 100644 index 5fa452a702..0000000000 --- a/grafana/nodepool-dib.image.template +++ /dev/null @@ -1,53 +0,0 @@ -# AUTOGENERATED : %TITLE% - - - title: %TITLE% - 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.%KEY%.status.rc" - valueFontSize: "50%" - - - title: Last build - type: singlestat - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.%KEY%.status.last_build, 1000)" - 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.%KEY%.*.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.%KEY%.status.duration.mean), "Time") - refId: A diff --git a/grafana/nodepool-dib.yaml b/grafana/nodepool-dib.yaml deleted file mode 100644 index ca9dba22f8..0000000000 --- a/grafana/nodepool-dib.yaml +++ /dev/null @@ -1,975 +0,0 @@ -# -# NOTE: This file is autogenerated. Use ./create-nodepool-dib.sh to -# recreate it -# - -dashboard: - title: 'Nodepool: DIB Status' - time: - from: "now-7d" - to: "now" - rows: - - title: Description - height: 100px - panels: - - title: Description - content: | - **This dashboard is managed by [Grafyaml](https://docs.openstack.org/infra/system-config/grafyaml.html).** - - 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 Jammy - - - title: Ubuntu Jammy - 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-jammy.status.rc" - valueFontSize: "50%" - - - title: Last build - type: singlestat - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.ubuntu-jammy.status.last_build, 1000)" - 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-jammy.*.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-jammy.status.duration.mean), "Time") - refId: A -# 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 - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.ubuntu-focal.status.last_build, 1000)" - 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), "Time") - refId: A -# AUTOGENERATED : Ubuntu Bionic - - - title: Ubuntu Bionic - 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-bionic.status.rc" - valueFontSize: "50%" - - - title: Last build - type: singlestat - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.ubuntu-bionic.status.last_build, 1000)" - 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-bionic.*.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-bionic.status.duration.mean), "Time") - refId: A -# AUTOGENERATED : Ubuntu Xenial - - - title: Ubuntu Xenial - 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-xenial.status.rc" - valueFontSize: "50%" - - - title: Last build - type: singlestat - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.ubuntu-xenial.status.last_build, 1000)" - 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-xenial.*.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-xenial.status.duration.mean), "Time") - refId: A -# AUTOGENERATED : Centos 7 - - - title: Centos 7 - 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-7.status.rc" - valueFontSize: "50%" - - - title: Last build - type: singlestat - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.centos-7.status.last_build, 1000)" - 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-7.*.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-7.status.duration.mean), "Time") - refId: A -# AUTOGENERATED : Centos 8 Stream - - - title: Centos 8 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-8-stream.status.rc" - valueFontSize: "50%" - - - title: Last build - type: singlestat - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.centos-8-stream.status.last_build, 1000)" - 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.*.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.status.duration.mean), "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 - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.centos-9-stream.status.last_build, 1000)" - 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), "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 - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.fedora-35.status.last_build, 1000)" - 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), "Time") - refId: A -# AUTOGENERATED : Rocky Linux 8 - - - title: Rocky Linux 8 - 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.rockylinux-8.status.rc" - valueFontSize: "50%" - - - title: Last build - type: singlestat - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.rockylinux-8.status.last_build, 1000)" - 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.rockylinux-8.*.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.rockylinux-8.status.duration.mean), "Time") - refId: A -# AUTOGENERATED : Debian Bullseye - - - title: Debian Bullseye - 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-bullseye.status.rc" - valueFontSize: "50%" - - - title: Last build - type: singlestat - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.debian-bullseye.status.last_build, 1000)" - 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-bullseye.*.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-bullseye.status.duration.mean), "Time") - refId: A -# AUTOGENERATED : Debian Buster - - - title: Debian Buster - 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-buster.status.rc" - valueFontSize: "50%" - - - title: Last build - type: singlestat - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.debian-buster.status.last_build, 1000)" - 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-buster.*.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-buster.status.duration.mean), "Time") - refId: A -# AUTOGENERATED : Gentoo - - - title: Gentoo - 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.gentoo-17-0-systemd.status.rc" - valueFontSize: "50%" - - - title: Last build - type: singlestat - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.gentoo-17-0-systemd.status.last_build, 1000)" - 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.gentoo-17-0-systemd.*.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.gentoo-17-0-systemd.status.duration.mean), "Time") - refId: A -# AUTOGENERATED : openSUSE 15.1 - - - title: openSUSE 15.1 - 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.opensuse-15.status.rc" - valueFontSize: "50%" - - - title: Last build - type: singlestat - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.opensuse-15.status.last_build, 1000)" - 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.opensuse-15.*.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.opensuse-15.status.duration.mean), "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 - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.centos-8-stream-arm64.status.last_build, 1000)" - 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), "Time") - refId: A -# AUTOGENERATED : Debian Bullseye arm64 - - - title: Debian Bullseye 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-bullseye-arm64.status.rc" - valueFontSize: "50%" - - - title: Last build - type: singlestat - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.debian-bullseye-arm64.status.last_build, 1000)" - 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-bullseye-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-bullseye-arm64.status.duration.mean), "Time") - refId: A -# AUTOGENERATED : Debian Buster arm64 - - - title: Debian Buster 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-buster-arm64.status.rc" - valueFontSize: "50%" - - - title: Last build - type: singlestat - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.debian-buster-arm64.status.last_build, 1000)" - 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-buster-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-buster-arm64.status.duration.mean), "Time") - refId: A -# AUTOGENERATED : Ubuntu Focal arm64 - - - title: Ubuntu Focal 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.ubuntu-focal-arm64.status.rc" - valueFontSize: "50%" - - - title: Last build - type: singlestat - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.ubuntu-focal-arm64.status.last_build, 1000)" - 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-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.ubuntu-focal-arm64.status.duration.mean), "Time") - refId: A -# AUTOGENERATED : Ubuntu Bionic arm64 - - - title: Ubuntu Bionic 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.ubuntu-bionic-arm64.status.rc" - valueFontSize: "50%" - - - title: Last build - type: singlestat - valueName: current - span: 2 - format: dateTimeFromNow - targets: - - target: "scale(stats.gauges.nodepool.dib_image_build.ubuntu-bionic-arm64.status.last_build, 1000)" - 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-bionic-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.ubuntu-bionic-arm64.status.duration.mean), "Time") - refId: A