{ "id": 4, "type": "table", "title": "Build History (Select a board and config above)", "gridPos": { "x": 0, "y": 0, "h": 22, "w": 24 }, "fieldConfig": { "defaults": { "custom": { "align": "auto", "cellOptions": { "type": "auto" }, "inspect": true }, "mappings": [ { "options": { "0": { "color": "super-light-red", "index": 0, "text": "Error" }, "1": { "color": "green", "index": 2, "text": "OK" }, "0.5": { "color": "transparent", "index": 1, "text": "Warning" } }, "type": "value" } ], "thresholds": { "mode": "absolute", "steps": [ { "color": "green", "value": null } ] }, "color": { "mode": "thresholds" }, "decimals": 1, "fieldMinMax": false, "links": [ { "targetBlank": true, "title": "Show the Build Log", "url": "${__data.fields[\"Build Log\"]}" } ] }, "overrides": [ { "matcher": { "id": "byName", "options": "Message" }, "properties": [ { "id": "custom.width", "value": 411 } ] }, { "matcher": { "id": "byName", "options": "Config" }, "properties": [ { "id": "custom.width", "value": 84 } ] }, { "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" } ] }, { "matcher": { "id": "byName", "options": "Timestamp" }, "properties": [ { "id": "custom.width", "value": 176 } ] }, { "matcher": { "id": "byName", "options": "NuttX Hash" }, "properties": [ { "id": "custom.width", "value": 104 } ] }, { "matcher": { "id": "byName", "options": "Apps Hash" }, "properties": [ { "id": "custom.width", "value": 96 } ] } ] }, "transformations": [ { "id": "labelsToFields", "options": { "mode": "columns" } }, { "id": "organize", "options": { "excludeByName": { "Time": true, "Value": false, "__name__": true, "arch": true, "board": false, "config": false, "exported_instance": true, "exported_job": true, "group": true, "instance": true, "job": true, "msg": false, "subarch": true, "target": true, "timestamp": false, "url": false, "url_display": true, "user": true, "version": true }, "includeByName": {}, "indexByName": { "Time": 2, "Value": 0, "__name__": 3, "arch": 4, "board": 5, "config": 6, "exported_instance": 7, "exported_job": 8, "group": 9, "instance": 10, "job": 11, "msg": 15, "subarch": 18, "target": 12, "timestamp": 1, "url": 16, "url_display": 17, "user": 13, "version": 14 }, "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" } }, { "id": "groupBy", "options": { "fields": { "Board": { "aggregations": [ "first" ], "operation": "aggregate" }, "Build Log": { "aggregations": [ "first" ], "operation": "aggregate" }, "Config": { "aggregations": [ "first" ], "operation": "aggregate" }, "Message": { "aggregations": [ "first" ], "operation": "aggregate" }, "Severity": { "aggregations": [ "first" ], "operation": "aggregate" }, "Timestamp": { "aggregations": [], "operation": "groupby" }, "apps_hash": { "aggregations": [ "first" ], "operation": "aggregate" }, "nuttx_hash": { "aggregations": [ "first" ], "operation": "aggregate" } } } }, { "id": "organize", "options": { "excludeByName": {}, "includeByName": {}, "indexByName": { "Board (first)": 2, "Build Log (first)": 7, "Config (first)": 3, "Message (first)": 6, "Severity (first)": 1, "Timestamp": 0, "apps_hash (first)": 5, "nuttx_hash (first)": 4 }, "renameByName": { "Board (first)": "Board", "Board (firstNotNull)": "Board", "Build Log (first)": "Build Log", "Build Log (last)": "", "Config (first)": "Config", "Config (firstNotNull)": "Config", "Message (first)": "Message", "Message (firstNotNull)": "Message", "Severity (first)": "Severity", "Severity (firstNotNull)": "Severity", "apps_hash (first)": "Apps Hash", "nuttx_hash (first)": "NuttX Hash" } } } ], "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\"}", "format": "table", "fullMetaSearch": false, "includeNullMetadata": true, "instant": false, "legendFormat": "__auto", "range": true, "refId": "A", "useBackend": false } ], "datasource": { "type": "prometheus", "uid": "be2a71h9hs2dcb" }, "options": { "showHeader": true, "cellHeight": "sm", "footer": { "show": true, "reducer": [ "count" ], "countRows": true, "fields": "" }, "sortBy": [ { "desc": true, "displayName": "Timestamp" } ] } }