Basil Eljuse | 4b14afb | 2020-09-30 13:07:23 +0100 | [diff] [blame] | 1 | { |
| 2 | "annotations": { |
| 3 | "list": [ |
| 4 | { |
| 5 | "builtIn": 1, |
| 6 | "datasource": "-- Grafana --", |
| 7 | "enable": true, |
| 8 | "hide": true, |
| 9 | "iconColor": "rgba(0, 211, 255, 1)", |
| 10 | "name": "Annotations & Alerts", |
| 11 | "type": "dashboard" |
| 12 | } |
| 13 | ] |
| 14 | }, |
| 15 | "editable": true, |
| 16 | "gnetId": null, |
| 17 | "graphTooltip": 0, |
| 18 | "id": 6, |
| 19 | "links": [], |
| 20 | "panels": [ |
| 21 | { |
| 22 | "aliasColors": {}, |
| 23 | "bars": true, |
| 24 | "dashLength": 10, |
| 25 | "dashes": false, |
| 26 | "datasource": "TFA_Defects", |
| 27 | "decimals": 0, |
| 28 | "description": "Tracks the number of defects of TF-A per release tag", |
| 29 | "fieldConfig": { |
| 30 | "defaults": { |
| 31 | "custom": {} |
| 32 | }, |
| 33 | "overrides": [] |
| 34 | }, |
| 35 | "fill": 1, |
| 36 | "fillGradient": 0, |
| 37 | "gridPos": { |
| 38 | "h": 7, |
| 39 | "w": 24, |
| 40 | "x": 0, |
| 41 | "y": 0 |
| 42 | }, |
| 43 | "hiddenSeries": false, |
| 44 | "id": 1, |
| 45 | "legend": { |
| 46 | "alignAsTable": false, |
| 47 | "avg": false, |
| 48 | "current": false, |
| 49 | "max": false, |
| 50 | "min": false, |
| 51 | "rightSide": false, |
| 52 | "show": false, |
| 53 | "total": false, |
| 54 | "values": false |
| 55 | }, |
| 56 | "lines": false, |
| 57 | "linewidth": 1, |
| 58 | "links": [], |
| 59 | "nullPointMode": "null", |
| 60 | "percentage": false, |
| 61 | "pluginVersion": "7.1.3", |
| 62 | "pointradius": 5, |
| 63 | "points": false, |
| 64 | "renderer": "flot", |
| 65 | "seriesOverrides": [], |
| 66 | "spaceLength": 10, |
| 67 | "stack": false, |
| 68 | "steppedLine": false, |
| 69 | "targets": [ |
| 70 | { |
| 71 | "alias": "Total Defects", |
| 72 | "dsType": "influxdb", |
| 73 | "groupBy": [ |
| 74 | { |
| 75 | "params": [ |
| 76 | "$__interval" |
| 77 | ], |
| 78 | "type": "time" |
| 79 | }, |
| 80 | { |
| 81 | "params": [ |
| 82 | "null" |
| 83 | ], |
| 84 | "type": "fill" |
| 85 | } |
| 86 | ], |
| 87 | "orderByTime": "ASC", |
| 88 | "policy": "default", |
| 89 | "query": "SELECT last(Number_of_Defects) as Defects FROM \"TFA_Defects_Tracking\" where $timeFilter GROUP BY time(1w) fill(none)", |
| 90 | "rawQuery": true, |
| 91 | "refId": "A", |
| 92 | "resultFormat": "time_series", |
| 93 | "select": [ |
| 94 | [ |
| 95 | { |
| 96 | "params": [ |
| 97 | "value" |
| 98 | ], |
| 99 | "type": "field" |
| 100 | }, |
| 101 | { |
| 102 | "params": [], |
| 103 | "type": "mean" |
| 104 | } |
| 105 | ] |
| 106 | ], |
| 107 | "tags": [] |
| 108 | } |
| 109 | ], |
| 110 | "thresholds": [], |
| 111 | "timeFrom": null, |
| 112 | "timeRegions": [], |
| 113 | "timeShift": null, |
| 114 | "title": "TFA Defects Tracking", |
| 115 | "tooltip": { |
| 116 | "shared": true, |
| 117 | "sort": 0, |
| 118 | "value_type": "individual" |
| 119 | }, |
| 120 | "type": "graph", |
| 121 | "xaxis": { |
| 122 | "buckets": null, |
| 123 | "mode": "time", |
| 124 | "name": null, |
| 125 | "show": true, |
| 126 | "values": [] |
| 127 | }, |
| 128 | "yaxes": [ |
| 129 | { |
| 130 | "decimals": 0, |
| 131 | "format": "short", |
| 132 | "label": "Number of Defects", |
| 133 | "logBase": 1, |
| 134 | "max": null, |
| 135 | "min": null, |
| 136 | "show": true |
| 137 | }, |
| 138 | { |
| 139 | "format": "short", |
| 140 | "label": null, |
| 141 | "logBase": 1, |
| 142 | "max": null, |
| 143 | "min": null, |
| 144 | "show": false |
| 145 | } |
| 146 | ], |
| 147 | "yaxis": { |
| 148 | "align": false, |
| 149 | "alignLevel": null |
| 150 | } |
| 151 | }, |
| 152 | { |
| 153 | "datasource": "TFA_Defects", |
| 154 | "fieldConfig": { |
| 155 | "defaults": { |
| 156 | "custom": { |
| 157 | "align": null |
| 158 | }, |
| 159 | "mappings": [], |
| 160 | "thresholds": { |
| 161 | "mode": "absolute", |
| 162 | "steps": [ |
| 163 | { |
| 164 | "color": "green", |
| 165 | "value": null |
| 166 | }, |
| 167 | { |
| 168 | "color": "red", |
| 169 | "value": 80 |
| 170 | } |
| 171 | ] |
| 172 | } |
| 173 | }, |
| 174 | "overrides": [] |
| 175 | }, |
| 176 | "gridPos": { |
| 177 | "h": 8, |
| 178 | "w": 24, |
| 179 | "x": 0, |
| 180 | "y": 7 |
| 181 | }, |
| 182 | "id": 2, |
| 183 | "links": [], |
| 184 | "options": { |
| 185 | "showHeader": true |
| 186 | }, |
| 187 | "pluginVersion": "7.1.3", |
| 188 | "targets": [ |
| 189 | { |
| 190 | "alias": "", |
| 191 | "dsType": "influxdb", |
| 192 | "groupBy": [ |
| 193 | { |
| 194 | "params": [ |
| 195 | "$__interval" |
| 196 | ], |
| 197 | "type": "time" |
| 198 | }, |
| 199 | { |
| 200 | "params": [ |
| 201 | "null" |
| 202 | ], |
| 203 | "type": "fill" |
| 204 | } |
| 205 | ], |
| 206 | "orderByTime": "ASC", |
| 207 | "policy": "default", |
| 208 | "query": "SELECT * FROM \"TFA_Defects_Statistics\" where $timeFilter", |
| 209 | "rawQuery": true, |
| 210 | "refId": "A", |
| 211 | "resultFormat": "table", |
| 212 | "select": [ |
| 213 | [ |
| 214 | { |
| 215 | "params": [ |
| 216 | "value" |
| 217 | ], |
| 218 | "type": "field" |
| 219 | }, |
| 220 | { |
| 221 | "params": [], |
| 222 | "type": "mean" |
| 223 | } |
| 224 | ] |
| 225 | ], |
| 226 | "tags": [] |
| 227 | } |
| 228 | ], |
| 229 | "title": "TF-A Defects Statistics", |
| 230 | "type": "table" |
| 231 | } |
| 232 | ], |
| 233 | "refresh": "1d", |
| 234 | "schemaVersion": 26, |
| 235 | "style": "dark", |
| 236 | "tags": [ |
| 237 | "TFA_QUALITY_METRICS" |
| 238 | ], |
| 239 | "templating": { |
| 240 | "list": [] |
| 241 | }, |
| 242 | "time": { |
| 243 | "from": "now-90d", |
| 244 | "to": "now" |
| 245 | }, |
| 246 | "timepicker": { |
| 247 | "refresh_intervals": [ |
| 248 | "5s", |
| 249 | "10s", |
| 250 | "30s", |
| 251 | "1m", |
| 252 | "5m", |
| 253 | "15m", |
| 254 | "30m", |
| 255 | "1h", |
| 256 | "2h", |
| 257 | "1d" |
| 258 | ], |
| 259 | "time_options": [ |
| 260 | "5m", |
| 261 | "15m", |
| 262 | "1h", |
| 263 | "6h", |
| 264 | "12h", |
| 265 | "24h", |
| 266 | "2d", |
| 267 | "7d", |
| 268 | "30d" |
| 269 | ] |
| 270 | }, |
| 271 | "timezone": "", |
| 272 | "title": "TFA_Defects", |
| 273 | "uid": "tfa-defects", |
| 274 | "version": 6 |
| 275 | } |