{ "annotations": { "list": [ { "builtIn": 1, "datasource": { "type": "grafana", "uid": "-- Grafana --" }, "enable": true, "hide": true, "iconColor": "rgba(0, 211, 255, 1)", "name": "Annotations & Alerts", "type": "dashboard" }, { "datasource": { "type": "prometheus", "uid": "be2a71h9hs2dcb" }, "enable": true, "hide": true, "iconColor": "red", "name": "New annotation" } ] }, "editable": true, "fiscalYearStartMonth": 0, "graphTooltip": 0, "id": 2, "links": [], "panels": [ { "fieldConfig": { "defaults": {}, "overrides": [] }, "gridPos": { "h": 2, "w": 24, "x": 0, "y": 0 }, "id": 6, "options": { "code": { "language": "plaintext", "showLineNumbers": false, "showMiniMap": false }, "content": "[__See the NuttX Build History__](/d/fe2q876wubc3kc/nuttx-build-history)", "mode": "markdown" }, "pluginVersion": "11.3.0-pre", "title": "", "type": "text" }, { "datasource": { "type": "prometheus", "uid": "be2a71h9hs2dcb" }, "fieldConfig": { "defaults": { "color": { "fixedColor": "yellow", "mode": "thresholds" }, "decimals": 1, "links": [ { "targetBlank": true, "title": "Show the Build Details", "url": "/d/fe2bqg6uk7nr4a/home-dashboard?var-arch=$__all&var-subarch=$__all&var-group=$__all&var-board=${__data.fields.board}&var-config=$__all" } ], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null }, { "color": "red", "value": 0 }, { "color": "#EAB839", "value": 0.5 } ] } }, "overrides": [] }, "gridPos": { "h": 4, "w": 24, "x": 0, "y": 2 }, "id": 3, "options": { "colorMode": "background", "graphMode": "area", "justifyMode": "center", "orientation": "auto", "percentChangeColorMode": "standard", "reduceOptions": { "calcs": [ "last" ], "fields": "/^Value$/", "limit": 100, "values": true }, "showPercentChange": false, "text": { "titleSize": 100 }, "textMode": "name", "wideLayout": true }, "pluginVersion": "11.3.0-pre", "targets": [ { "datasource": { "type": "prometheus", "uid": "be2a71h9hs2dcb" }, "disableTextWrap": false, "editorMode": "builder", "exemplar": false, "expr": "build_score{version=\"$version\", group=~\"$group\", board=~\"$board\", config=~\"$config\", arch=~\"$arch\", subarch=~\"$subarch\", timestamp!=\"2024-11-06T19:58:04\", timestamp!=\"2024-11-06T19:47:05\", timestamp!=\"2024-11-06T19:10:58\", timestamp!=\"2024-11-06T19:15:31\", timestamp!=\"2024-11-06T20:11:24\", timestamp!=\"2024-11-06T21:22:55\", timestamp!=\"2024-11-07T01:53:52\", timestamp!=\"2024-11-07T13:55:01\", timestamp!=\"2024-11-10T20:41:00\", timestamp!=\"2024-11-15T00:52:52\", timestamp!=\"2024-11-25T05:37:42\", user!=\"rewind\"}", "format": "table", "fullMetaSearch": false, "includeNullMetadata": true, "instant": true, "legendFormat": "__auto", "range": false, "refId": "A", "useBackend": false } ], "title": "Highlights of Errors / Warnings", "transformations": [ { "id": "filterByValue", "options": { "filters": [ { "config": { "id": "equal", "options": { "value": "leds64_zig" } }, "fieldName": "config" } ], "match": "any", "type": "exclude" } }, { "id": "filterByValue", "options": { "filters": [ { "config": { "id": "lowerOrEqual", "options": { "value": "0.5" } }, "fieldName": "Value" } ], "match": "any", "type": "include" } }, { "id": "labelsToFields", "options": { "mode": "columns" } }, { "id": "organize", "options": { "excludeByName": { "Time": true, "Value": false, "__name__": true, "apps_hash": true, "arch": true, "board": false, "config": false, "exported_instance": true, "exported_job": true, "group": true, "instance": true, "job": true, "msg": true, "nuttx_hash": true, "subarch": true, "target": true, "timestamp": true, "url": true, "url_display": true, "user": true, "version": true }, "includeByName": {}, "indexByName": { "Time": 0, "Value": 16, "__name__": 1, "board": 2, "config": 3, "exported_instance": 4, "exported_job": 5, "group": 6, "instance": 7, "job": 8, "msg": 14, "target": 9, "timestamp": 10, "url": 11, "url_display": 15, "user": 12, "version": 13 }, "renameByName": {} } }, { "id": "formatString", "options": { "outputFormat": "Lower Case", "stringField": "board" } }, { "id": "formatString", "options": { "outputFormat": "Upper Case", "stringField": "config" } }, { "id": "sortBy", "options": { "fields": {}, "sort": [ { "desc": false, "field": "Value" } ] } }, { "id": "limit", "options": { "limitField": "8" } } ], "type": "stat" }, { "datasource": { "type": "prometheus", "uid": "be2a71h9hs2dcb" }, "fieldConfig": { "defaults": { "color": { "mode": "thresholds" }, "custom": { "align": "auto", "cellOptions": { "type": "auto" }, "inspect": true }, "decimals": 1, "fieldMinMax": false, "links": [ { "targetBlank": true, "title": "Show the Build Log", "url": "${__data.fields.url}" } ], "mappings": [ { "options": { "0": { "color": "super-light-red", "index": 0, "text": "Error" }, "0.5": { "color": "transparent", "index": 1, "text": "Warning" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Message" }, "properties": [ { "id": "custom.width", "value": 411 } ] }, { "matcher": { "id": "byName", "options": "Config" }, "properties": [ { "id": "custom.width", "value": 128 } ] }, { "matcher": { "id": "byName", "options": "Severity" }, "properties": [ { "id": "custom.width", "value": 90 }, { "id": "custom.cellOptions", "value": { "applyToRow": false, "type": "color-background" } }, { "id": "custom.align", "value": "center" } ] } ] }, "gridPos": { "h": 14, "w": 24, "x": 0, "y": 6 }, "id": 4, "options": { "cellHeight": "sm", "footer": { "countRows": true, "fields": "", "reducer": [ "count" ], "show": true }, "showHeader": true, "sortBy": [ { "desc": false, "displayName": "Severity" } ] }, "pluginVersion": "11.3.0-pre", "targets": [ { "datasource": { "type": "prometheus", "uid": "be2a71h9hs2dcb" }, "disableTextWrap": false, "editorMode": "builder", "exemplar": false, "expr": "build_score{version=\"$version\", group=~\"$group\", board=~\"$board\", config=~\"$config\", arch=~\"$arch\", subarch=~\"$subarch\", config!=\"leds64_zig\", timestamp!=\"2024-11-06T20:11:24\", timestamp!=\"2024-11-06T19:58:04\", timestamp!=\"2024-11-06T19:47:05\", timestamp!=\"2024-11-06T19:10:58\", timestamp!=\"2024-11-06T19:15:31\", timestamp!=\"2024-11-06T21:22:55\", timestamp!=\"2024-11-07T01:53:52\", timestamp!=\"2024-11-07T13:55:01\", timestamp!=\"2024-11-10T20:41:00\", timestamp!=\"2024-11-15T00:52:52\", timestamp!=\"2024-11-25T05:37:42\", user!=\"rewind\"}", "format": "table", "fullMetaSearch": false, "includeNullMetadata": true, "instant": true, "legendFormat": "__auto", "range": false, "refId": "A", "useBackend": false } ], "title": "Builds with Errors / Warnings", "transformations": [ { "id": "filterByValue", "options": { "filters": [ { "config": { "id": "lowerOrEqual", "options": { "value": "0.5" } }, "fieldName": "Value" } ], "match": "any", "type": "include" } }, { "id": "labelsToFields", "options": { "mode": "columns" } }, { "id": "organize", "options": { "excludeByName": { "Time": true, "Value": false, "__name__": true, "apps_hash": true, "arch": true, "board": false, "config": false, "exported_instance": true, "exported_job": true, "group": true, "instance": true, "job": true, "msg": false, "nuttx_hash": true, "subarch": true, "target": true, "timestamp": false, "url": false, "url_display": true, "user": true, "version": true }, "includeByName": {}, "indexByName": { "Time": 1, "Value": 0, "__name__": 2, "arch": 3, "board": 4, "config": 5, "exported_instance": 6, "exported_job": 7, "group": 8, "instance": 9, "job": 10, "msg": 14, "subarch": 18, "target": 11, "timestamp": 15, "url": 16, "url_display": 17, "user": 12, "version": 13 }, "renameByName": { "Value": "Severity", "arch": "Arch", "board": "Board", "config": "Config", "job": "", "msg": "Message", "timestamp": "Timestamp", "url": "Build Log" } } }, { "id": "formatString", "options": { "outputFormat": "Lower Case", "stringField": "Timestamp" } }, { "id": "formatString", "options": { "outputFormat": "Upper Case", "stringField": "config" } } ], "type": "table" }, { "datasource": { "type": "prometheus", "uid": "be2a71h9hs2dcb" }, "fieldConfig": { "defaults": { "color": { "mode": "continuous-YlRd" }, "custom": { "align": "auto", "cellOptions": { "type": "auto" }, "inspect": true }, "decimals": 1, "links": [ { "targetBlank": true, "title": "Show the Build Log", "url": "${__data.fields.url}" } ], "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] } }, "overrides": [ { "matcher": { "id": "byName", "options": "Board" }, "properties": [ { "id": "custom.width", "value": 219 } ] }, { "matcher": { "id": "byName", "options": "Config" }, "properties": [ { "id": "custom.width", "value": 171 } ] }, { "matcher": { "id": "byName", "options": "Timestamp" }, "properties": [ { "id": "custom.width", "value": 215 } ] }, { "matcher": { "id": "byName", "options": "Message" }, "properties": [ { "id": "custom.width", "value": 338 } ] } ] }, "gridPos": { "h": 12, "w": 24, "x": 0, "y": 20 }, "id": 5, "options": { "cellHeight": "sm", "footer": { "countRows": true, "fields": "", "reducer": [ "count" ], "show": true }, "showHeader": true, "sortBy": [ { "desc": true, "displayName": "Timestamp" } ] }, "pluginVersion": "11.3.0-pre", "targets": [ { "datasource": { "type": "prometheus", "uid": "be2a71h9hs2dcb" }, "disableTextWrap": false, "editorMode": "builder", "exemplar": false, "expr": "build_score{version=\"$version\", group=~\"$group\", board=~\"$board\", config=~\"$config\", arch=~\"$arch\", subarch=~\"$subarch\"}", "format": "table", "fullMetaSearch": false, "includeNullMetadata": true, "instant": true, "legendFormat": "__auto", "range": false, "refId": "A", "useBackend": false } ], "title": "Successful Builds", "transformations": [ { "id": "filterByValue", "options": { "filters": [ { "config": { "id": "greater", "options": { "value": "0.5" } }, "fieldName": "Value" } ], "match": "any", "type": "include" } }, { "id": "labelsToFields", "options": { "mode": "columns" } }, { "id": "organize", "options": { "excludeByName": { "Time": true, "Value": true, "__name__": true, "apps_hash": true, "arch": true, "board": false, "config": false, "exported_instance": true, "exported_job": true, "group": true, "instance": true, "job": true, "msg": false, "nuttx_hash": true, "subarch": true, "target": true, "timestamp": false, "url": false, "url_display": true, "user": true, "version": true }, "includeByName": {}, "indexByName": { "Time": 0, "Value": 17, "__name__": 1, "arch": 2, "board": 3, "config": 4, "exported_instance": 5, "exported_job": 6, "group": 7, "instance": 8, "job": 9, "msg": 13, "subarch": 18, "target": 10, "timestamp": 14, "url": 15, "url_display": 16, "user": 11, "version": 12 }, "renameByName": { "arch": "Arch", "board": "Board", "config": "Config", "job": "", "msg": "Message", "timestamp": "Timestamp", "url": "Build Log" } } }, { "id": "formatString", "options": { "outputFormat": "Lower Case", "stringField": "Timestamp" } }, { "id": "formatString", "options": { "outputFormat": "Upper Case", "stringField": "config" } } ], "type": "table" } ], "preload": false, "schemaVersion": 40, "tags": [], "templating": { "list": [ { "current": { "text": "3", "value": "3" }, "description": "For matching the Data Version in ingest-nuttx-builds", "hide": 2, "label": "Version", "name": "version", "query": "3", "skipUrlSync": true, "type": "constant" }, { "current": { "text": "All", "value": "$__all" }, "definition": "label_values({version=\"$version\"},arch)", "includeAll": true, "label": "Arch", "name": "arch", "options": [], "query": { "qryType": 1, "query": "label_values({version=\"$version\"},arch)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "sort": 1, "type": "query" }, { "current": { "text": "All", "value": "$__all" }, "definition": "label_values({arch=~\"$arch\", version=\"$version\"},subarch)", "includeAll": true, "label": "SubArch", "name": "subarch", "options": [], "query": { "qryType": 1, "query": "label_values({arch=~\"$arch\", version=\"$version\"},subarch)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "sort": 1, "type": "query" }, { "current": { "text": "All", "value": "$__all" }, "definition": "label_values({arch=~\"$arch\", subarch=~\"$subarch\", group=~\"$group\", version=\"$version\"},board)", "includeAll": true, "label": "Board", "name": "board", "options": [], "query": { "qryType": 1, "query": "label_values({arch=~\"$arch\", subarch=~\"$subarch\", group=~\"$group\", version=\"$version\"},board)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "sort": 1, "type": "query" }, { "current": { "text": "All", "value": "$__all" }, "definition": "label_values({arch=~\"$arch\", subarch=~\"$subarch\", group=~\"$group\", board=~\"$board\", version=\"$version\"},config)", "includeAll": true, "label": "Config", "name": "config", "options": [], "query": { "qryType": 1, "query": "label_values({arch=~\"$arch\", subarch=~\"$subarch\", group=~\"$group\", board=~\"$board\", version=\"$version\"},config)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "sort": 1, "type": "query" }, { "current": { "text": "All", "value": "$__all" }, "definition": "label_values({arch=~\"$arch\", subarch=~\"$subarch\", version=\"$version\"},group)", "includeAll": true, "label": "Group", "name": "group", "options": [], "query": { "qryType": 1, "query": "label_values({arch=~\"$arch\", subarch=~\"$subarch\", version=\"$version\"},group)", "refId": "PrometheusVariableQueryEditor-VariableQuery" }, "refresh": 1, "regex": "", "sort": 5, "type": "query" }, { "baseFilters": [], "datasource": { "type": "prometheus", "uid": "be2a71h9hs2dcb" }, "filters": [], "name": "Filters", "type": "adhoc" } ] }, "time": { "from": "now-24h", "to": "now" }, "timepicker": {}, "timezone": "browser", "title": "Build Logs from NuttX Build Farm", "uid": "fe2bqg6uk7nr4a", "version": 133, "weekStart": "" }