Prateek Sarda | 2cf72f6 | 2021-10-26 13:43:10 +0000 | [diff] [blame] | 1 | { |
| 2 | |
| 3 | "annotations": { |
| 4 | "list": [ |
| 5 | { |
| 6 | "builtIn": 1, |
| 7 | "datasource": "-- Grafana --", |
| 8 | "enable": true, |
| 9 | "hide": true, |
| 10 | "iconColor": "rgba(0, 211, 255, 1)", |
| 11 | "name": "Annotations & Alerts", |
| 12 | "type": "dashboard" |
| 13 | } |
| 14 | ] |
| 15 | }, |
| 16 | "description": "", |
| 17 | "editable": false, |
| 18 | "gnetId": null, |
| 19 | "graphTooltip": 0, |
| 20 | "links": [], |
| 21 | "panels": [ |
| 22 | { |
| 23 | "datasource": "$ds", |
| 24 | "description": "E2E Tests", |
| 25 | "fieldConfig": { |
| 26 | "defaults": { |
| 27 | "color": { |
| 28 | "mode": "palette-classic" |
| 29 | }, |
| 30 | "custom": { |
| 31 | "axisLabel": "", |
| 32 | "axisPlacement": "auto", |
| 33 | "barAlignment": 0, |
| 34 | "drawStyle": "line", |
| 35 | "fillOpacity": 0, |
| 36 | "gradientMode": "none", |
| 37 | "hideFrom": { |
| 38 | "legend": false, |
| 39 | "tooltip": false, |
| 40 | "viz": false |
| 41 | }, |
| 42 | "lineInterpolation": "linear", |
| 43 | "lineWidth": 1, |
| 44 | "pointSize": 5, |
| 45 | "scaleDistribution": { |
| 46 | "type": "linear" |
| 47 | }, |
| 48 | "showPoints": "auto", |
| 49 | "spanNulls": false, |
| 50 | "stacking": { |
| 51 | "group": "A", |
| 52 | "mode": "none" |
| 53 | }, |
| 54 | "thresholdsStyle": { |
| 55 | "mode": "off" |
| 56 | } |
| 57 | }, |
| 58 | "mappings": [], |
| 59 | "thresholds": { |
| 60 | "mode": "absolute", |
| 61 | "steps": [ |
| 62 | { |
| 63 | "color": "green", |
| 64 | "value": null |
| 65 | }, |
| 66 | { |
| 67 | "color": "red", |
| 68 | "value": 80 |
| 69 | } |
| 70 | ] |
| 71 | } |
| 72 | }, |
| 73 | "overrides": [] |
| 74 | }, |
| 75 | "gridPos": { |
| 76 | "h": 9, |
| 77 | "w": 12, |
| 78 | "x": 0, |
| 79 | "y": 0 |
| 80 | }, |
| 81 | "id": 1, |
| 82 | "options": { |
| 83 | "legend": { |
| 84 | "calcs": [], |
| 85 | "displayMode": "list", |
| 86 | "placement": "bottom" |
| 87 | }, |
| 88 | "tooltip": { |
| 89 | "mode": "single" |
| 90 | } |
| 91 | }, |
| 92 | "targets": [ |
| 93 | { |
| 94 | "exemplar": true, |
| 95 | "expr": "sum by (name) (aetheredge_e2e_tests_ok{name=~\"$agents\"})", |
| 96 | "interval": "", |
| 97 | "legendFormat": "{{name}}", |
| 98 | "queryType": "randomWalk", |
| 99 | "refId": "A" |
| 100 | } |
| 101 | ], |
| 102 | "title": "Monitoring agents E2E Test", |
| 103 | "type": "timeseries" |
| 104 | } |
| 105 | ], |
| 106 | "refresh": "", |
| 107 | "schemaVersion": 30, |
| 108 | "style": "light", |
| 109 | "tags": [], |
| 110 | "templating": { |
| 111 | "list": [ |
| 112 | { |
| 113 | "label" : "Agents", |
| 114 | "multi" : true, |
| 115 | "name" : "agents", |
| 116 | "type" : "query", |
| 117 | "datasource": "$ds", |
| 118 | "definition": "label_values(aetheredge_e2e_tests_ok, name)", |
| 119 | "query": { |
| 120 | "query": "label_values(aetheredge_e2e_tests_ok, name)", |
| 121 | "refId": "StandardVariableQuery" |
| 122 | }, |
| 123 | "refresh": 1, |
| 124 | "sort" : 1 |
| 125 | }, |
| 126 | { |
| 127 | "label" : "Datasource", |
| 128 | "multi" : false, |
| 129 | "name" : "ds", |
| 130 | "type" : "datasource", |
| 131 | "query": "prometheus", |
| 132 | "queryValue": "", |
| 133 | "refresh": 1, |
| 134 | "regex": "" |
| 135 | } |
| 136 | ] |
| 137 | }, |
| 138 | "time": { |
| 139 | "from": "now-15m", |
| 140 | "to": "now" |
| 141 | }, |
| 142 | "timepicker": {}, |
| 143 | "timezone": "", |
| 144 | "title": "E2E Tests", |
| 145 | "uid": "site-monitoring", |
| 146 | "version": 1 |
| 147 | } |
| 148 | |
| 149 | |