github.com/kubeshop/testkube@v1.17.23/assets/grafana-dasboard.json (about) 1 { 2 "__inputs": [ 3 { 4 "name": "DS_GRAFANACLOUD-KUBESHOP-PROM", 5 "label": "grafanacloud-kubeshop-prom", 6 "description": "", 7 "type": "datasource", 8 "pluginId": "prometheus", 9 "pluginName": "Prometheus" 10 } 11 ], 12 "__requires": [ 13 { 14 "type": "grafana", 15 "id": "grafana", 16 "name": "Grafana", 17 "version": "8.1.2" 18 }, 19 { 20 "type": "datasource", 21 "id": "prometheus", 22 "name": "Prometheus", 23 "version": "1.0.0" 24 }, 25 { 26 "type": "panel", 27 "id": "stat", 28 "name": "Stat", 29 "version": "" 30 }, 31 { 32 "type": "panel", 33 "id": "timeseries", 34 "name": "Time series", 35 "version": "" 36 } 37 ], 38 "annotations": { 39 "list": [ 40 { 41 "builtIn": 1, 42 "datasource": "-- Grafana --", 43 "enable": true, 44 "hide": true, 45 "iconColor": "rgba(0, 211, 255, 1)", 46 "name": "Annotations & Alerts", 47 "target": { 48 "limit": 100, 49 "matchAny": false, 50 "tags": [], 51 "type": "dashboard" 52 }, 53 "type": "dashboard" 54 } 55 ] 56 }, 57 "editable": true, 58 "gnetId": null, 59 "graphTooltip": 0, 60 "id": null, 61 "links": [], 62 "panels": [ 63 { 64 "datasource": "${DS_GRAFANACLOUD-KUBESHOP-PROM}", 65 "description": "Executions distributions", 66 "fieldConfig": { 67 "defaults": { 68 "color": { 69 "mode": "palette-classic" 70 }, 71 "custom": { 72 "axisLabel": "", 73 "axisPlacement": "auto", 74 "barAlignment": -1, 75 "drawStyle": "line", 76 "fillOpacity": 0, 77 "gradientMode": "opacity", 78 "hideFrom": { 79 "legend": false, 80 "tooltip": false, 81 "viz": false 82 }, 83 "lineInterpolation": "smooth", 84 "lineWidth": 1, 85 "pointSize": 3, 86 "scaleDistribution": { 87 "type": "linear" 88 }, 89 "showPoints": "always", 90 "spanNulls": false, 91 "stacking": { 92 "group": "A", 93 "mode": "none" 94 }, 95 "thresholdsStyle": { 96 "mode": "off" 97 } 98 }, 99 "mappings": [], 100 "thresholds": { 101 "mode": "absolute", 102 "steps": [ 103 { 104 "color": "green", 105 "value": null 106 }, 107 { 108 "color": "red", 109 "value": 80 110 } 111 ] 112 } 113 }, 114 "overrides": [] 115 }, 116 "gridPos": { 117 "h": 9, 118 "w": 12, 119 "x": 0, 120 "y": 0 121 }, 122 "id": 2, 123 "options": { 124 "legend": { 125 "calcs": [], 126 "displayMode": "list", 127 "placement": "bottom" 128 }, 129 "tooltip": { 130 "mode": "single" 131 } 132 }, 133 "targets": [ 134 { 135 "exemplar": true, 136 "expr": "testkube_test_executions_count{result=\"passed\"}", 137 "hide": false, 138 "instant": false, 139 "interval": "1", 140 "legendFormat": "{{name}}", 141 "refId": "A" 142 }, 143 { 144 "hide": false, 145 "refId": "B" 146 } 147 ], 148 "title": "SUCCESSFUL test executions", 149 "transparent": true, 150 "type": "timeseries" 151 }, 152 { 153 "datasource": "${DS_GRAFANACLOUD-KUBESHOP-PROM}", 154 "description": "Executions distributions", 155 "fieldConfig": { 156 "defaults": { 157 "color": { 158 "mode": "palette-classic" 159 }, 160 "custom": { 161 "axisLabel": "", 162 "axisPlacement": "auto", 163 "barAlignment": -1, 164 "drawStyle": "line", 165 "fillOpacity": 0, 166 "gradientMode": "opacity", 167 "hideFrom": { 168 "legend": false, 169 "tooltip": false, 170 "viz": false 171 }, 172 "lineInterpolation": "smooth", 173 "lineWidth": 1, 174 "pointSize": 3, 175 "scaleDistribution": { 176 "type": "linear" 177 }, 178 "showPoints": "always", 179 "spanNulls": false, 180 "stacking": { 181 "group": "A", 182 "mode": "none" 183 }, 184 "thresholdsStyle": { 185 "mode": "off" 186 } 187 }, 188 "mappings": [], 189 "thresholds": { 190 "mode": "absolute", 191 "steps": [ 192 { 193 "color": "green", 194 "value": null 195 }, 196 { 197 "color": "red", 198 "value": 80 199 } 200 ] 201 } 202 }, 203 "overrides": [] 204 }, 205 "gridPos": { 206 "h": 9, 207 "w": 12, 208 "x": 12, 209 "y": 0 210 }, 211 "id": 4, 212 "options": { 213 "legend": { 214 "calcs": [], 215 "displayMode": "list", 216 "placement": "bottom" 217 }, 218 "tooltip": { 219 "mode": "single" 220 } 221 }, 222 "targets": [ 223 { 224 "exemplar": true, 225 "expr": "testkube_test_executions_count{result=\"failed\"}", 226 "hide": false, 227 "instant": false, 228 "interval": "1", 229 "legendFormat": "{{name}}", 230 "refId": "A" 231 }, 232 { 233 "hide": false, 234 "refId": "B" 235 } 236 ], 237 "title": "FAILED test executions", 238 "transparent": true, 239 "type": "timeseries" 240 }, 241 { 242 "datasource": "${DS_GRAFANACLOUD-KUBESHOP-PROM}", 243 "description": "Executions distributions", 244 "fieldConfig": { 245 "defaults": { 246 "color": { 247 "mode": "thresholds" 248 }, 249 "mappings": [], 250 "thresholds": { 251 "mode": "absolute", 252 "steps": [ 253 { 254 "color": "green", 255 "value": null 256 }, 257 { 258 "color": "red", 259 "value": 80 260 } 261 ] 262 } 263 }, 264 "overrides": [] 265 }, 266 "gridPos": { 267 "h": 9, 268 "w": 12, 269 "x": 12, 270 "y": 9 271 }, 272 "id": 3, 273 "options": { 274 "colorMode": "value", 275 "graphMode": "area", 276 "justifyMode": "auto", 277 "orientation": "auto", 278 "reduceOptions": { 279 "calcs": [ 280 "lastNotNull" 281 ], 282 "fields": "", 283 "values": false 284 }, 285 "text": {}, 286 "textMode": "auto" 287 }, 288 "pluginVersion": "8.1.2", 289 "targets": [ 290 { 291 "exemplar": true, 292 "expr": "testkube_test_creations_count{}", 293 "format": "table", 294 "hide": false, 295 "instant": false, 296 "interval": "1", 297 "intervalFactor": 10, 298 "legendFormat": "{{type}} created", 299 "refId": "A" 300 }, 301 { 302 "hide": false, 303 "refId": "B" 304 } 305 ], 306 "title": "Test creations", 307 "transparent": true, 308 "type": "stat" 309 } 310 ], 311 "schemaVersion": 30, 312 "style": "dark", 313 "tags": [], 314 "templating": { 315 "list": [] 316 }, 317 "time": { 318 "from": "now-1h", 319 "to": "now" 320 }, 321 "timepicker": {}, 322 "timezone": "", 323 "title": "Testkube", 324 "uid": "jMtrP3nnz", 325 "version": 2 326 }