project-config/grafana/nodepool-dib-status.json
Clark Boylan 244a14c71b Remove fedora image from dib status
We are no longer building these images so don't need them on the dib
status grafana dashboard any longer. This dashboard lists all images in
graphite to generate a list of images to produce statuses for. We
exclude the fedora images using a negative lookahead regex.

Change-Id: I2d7ba7984c98ec103142fa23e3a7b31e9d1c7485
2023-09-19 15:20:09 -07:00

496 lines
11 KiB
JSON

{
"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": "/^(?!fedora-[0-9]+).*/",
"skipUrlSync": false,
"sort": 0,
"type": "query"
}
]
},
"time": {
"from": "now-30d",
"to": "now"
},
"timepicker": {},
"timezone": "utc",
"title": "Nodepool: DIB Status",
"uid": "f3089338b3",
"version": 9,
"weekStart": ""
}