Scott Baker | 6965439 | 2021-09-17 13:50:16 -0700 | [diff] [blame] | 1 | { |
| 2 | "dashboard": { |
| 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 | "editable": false, |
| 17 | "gnetId": null, |
| 18 | "graphTooltip": 0, |
| 19 | "links": [], |
| 20 | "panels": [ |
| 21 | { |
| 22 | "datasource": "datasource-$ORG", |
| 23 | "description": "UE Connectivity", |
| 24 | "fieldConfig": { |
| 25 | "defaults": { |
| 26 | "color": { |
| 27 | "mode": "palette-classic" |
| 28 | }, |
| 29 | "custom": { |
| 30 | "axisLabel": "", |
| 31 | "axisPlacement": "auto", |
| 32 | "barAlignment": 0, |
| 33 | "drawStyle": "line", |
| 34 | "fillOpacity": 0, |
| 35 | "gradientMode": "none", |
| 36 | "hideFrom": { |
| 37 | "legend": false, |
| 38 | "tooltip": false, |
| 39 | "viz": false |
| 40 | }, |
| 41 | "lineInterpolation": "linear", |
| 42 | "lineWidth": 1, |
| 43 | "pointSize": 5, |
| 44 | "scaleDistribution": { |
| 45 | "type": "linear" |
| 46 | }, |
| 47 | "showPoints": "auto", |
| 48 | "spanNulls": false, |
| 49 | "stacking": { |
| 50 | "group": "A", |
| 51 | "mode": "none" |
| 52 | }, |
| 53 | "thresholdsStyle": { |
| 54 | "mode": "off" |
| 55 | } |
| 56 | }, |
| 57 | "mappings": [], |
| 58 | "thresholds": { |
| 59 | "mode": "absolute", |
| 60 | "steps": [ |
| 61 | { |
| 62 | "color": "green", |
| 63 | "value": null |
| 64 | }, |
| 65 | { |
| 66 | "color": "red", |
| 67 | "value": 80 |
| 68 | } |
| 69 | ] |
| 70 | } |
| 71 | }, |
| 72 | "overrides": [] |
| 73 | }, |
| 74 | "gridPos": { |
| 75 | "h": 8, |
| 76 | "w": 12, |
| 77 | "x": 0, |
| 78 | "y": 0 |
| 79 | }, |
| 80 | "id": 1, |
| 81 | "options": { |
| 82 | "legend": { |
| 83 | "calcs": [], |
| 84 | "displayMode": "list", |
| 85 | "placement": "bottom" |
| 86 | }, |
| 87 | "tooltip": { |
| 88 | "mode": "single" |
| 89 | } |
| 90 | }, |
| 91 | "targets": [ |
| 92 | { |
| 93 | "exemplar": true, |
| 94 | "expr": "ue_throughput{id=\"$IMSI\"}", |
| 95 | "interval": "", |
| 96 | "legendFormat": "Throughput {{slice}} {{direction}} kb/s", |
| 97 | "queryType": "randomWalk", |
| 98 | "refId": "A" |
| 99 | }, |
| 100 | { |
| 101 | "exemplar": true, |
| 102 | "expr": "ue_latency{id=\"$IMSI\"} * 1000", |
| 103 | "hide": false, |
| 104 | "interval": "", |
| 105 | "legendFormat": "Latency {{slice}} {{direction}} µs", |
| 106 | "refId": "B" |
| 107 | } |
| 108 | ], |
| 109 | "title": "UE $IMSI Throughput and Latency", |
| 110 | "type": "timeseries" |
| 111 | }, |
| 112 | { |
| 113 | "datasource": "datasource-$ORG", |
| 114 | "fieldConfig": { |
| 115 | "defaults": { |
| 116 | "color": { |
| 117 | "mode": "palette-classic" |
| 118 | }, |
| 119 | "custom": { |
| 120 | "axisLabel": "", |
| 121 | "axisPlacement": "hidden", |
| 122 | "barAlignment": 0, |
| 123 | "drawStyle": "bars", |
| 124 | "fillOpacity": 57, |
| 125 | "gradientMode": "hue", |
| 126 | "hideFrom": { |
| 127 | "legend": false, |
| 128 | "tooltip": false, |
| 129 | "viz": false |
| 130 | }, |
| 131 | "lineInterpolation": "linear", |
| 132 | "lineWidth": 1, |
| 133 | "pointSize": 5, |
| 134 | "scaleDistribution": { |
| 135 | "type": "linear" |
| 136 | }, |
| 137 | "showPoints": "auto", |
| 138 | "spanNulls": false, |
| 139 | "stacking": { |
| 140 | "group": "A", |
| 141 | "mode": "none" |
| 142 | }, |
| 143 | "thresholdsStyle": { |
| 144 | "mode": "off" |
| 145 | } |
| 146 | }, |
| 147 | "mappings": [], |
| 148 | "thresholds": { |
| 149 | "mode": "absolute", |
| 150 | "steps": [ |
| 151 | { |
| 152 | "color": "green", |
| 153 | "value": null |
| 154 | }, |
| 155 | { |
| 156 | "color": "red", |
| 157 | "value": 80 |
| 158 | } |
| 159 | ] |
| 160 | } |
| 161 | }, |
| 162 | "overrides": [] |
| 163 | }, |
| 164 | "gridPos": { |
| 165 | "h": 9, |
| 166 | "w": 12, |
| 167 | "x": 0, |
| 168 | "y": 8 |
| 169 | }, |
| 170 | "id": 2, |
| 171 | "options": { |
| 172 | "legend": { |
| 173 | "calcs": [], |
| 174 | "displayMode": "list", |
| 175 | "placement": "bottom" |
| 176 | }, |
| 177 | "tooltip": { |
| 178 | "mode": "single" |
| 179 | } |
| 180 | }, |
| 181 | "targets": [ |
| 182 | { |
| 183 | "exemplar": true, |
| 184 | "expr": "smf_pdu_session_profile{id=\"$IMSI\",state=\"active\"}*2", |
| 185 | "interval": "", |
| 186 | "legendFormat": "Active", |
| 187 | "queryType": "randomWalk", |
| 188 | "refId": "A" |
| 189 | }, |
| 190 | { |
| 191 | "exemplar": true, |
| 192 | "expr": "smf_pdu_session_profile{id=\"$IMSI\",state=\"idle\"}*1", |
| 193 | "hide": false, |
| 194 | "interval": "", |
| 195 | "legendFormat": "Idle", |
| 196 | "refId": "B" |
| 197 | }, |
| 198 | { |
| 199 | "exemplar": true, |
| 200 | "expr": "smf_pdu_session_profile{id=\"$IMSI\",state=\"inactive\"}*-1", |
| 201 | "hide": false, |
| 202 | "interval": "", |
| 203 | "legendFormat": "Inactive", |
| 204 | "refId": "C" |
| 205 | } |
| 206 | ], |
| 207 | "title": "UE $IMSI Connectivity", |
| 208 | "type": "timeseries" |
| 209 | } |
| 210 | ], |
| 211 | "refresh": "", |
| 212 | "schemaVersion": 30, |
| 213 | "style": "light", |
| 214 | "tags": [], |
| 215 | "templating": { |
| 216 | "list": [] |
| 217 | }, |
| 218 | "time": { |
| 219 | "from": "now-15m", |
| 220 | "to": "now" |
| 221 | }, |
| 222 | "timepicker": {}, |
| 223 | "timezone": "", |
| 224 | "title": "UE $IMSI Connectivity and Throughput", |
| 225 | "uid": "ue-$IMSI", |
| 226 | "version": 1 |
| 227 | }, |
| 228 | "folderUid": "$ORG", |
| 229 | "message": "Made changes to $ORG" |
| 230 | } |