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 | "editable": false, |
| 17 | "gnetId": null, |
| 18 | "graphTooltip": 0, |
| 19 | "links": [], |
| 20 | "panels": [ |
| 21 | { |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 22 | "datasource": "$ds", |
Prateek Sarda | 2cf72f6 | 2021-10-26 13:43:10 +0000 | [diff] [blame] | 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, |
Prateek Sarda | 6431edc | 2021-12-07 10:24:02 +0000 | [diff] [blame] | 94 | "expr": "sum by (imsi) (subscribers_info{imsi=\"$imsi\"})", |
Prateek Sarda | 2cf72f6 | 2021-10-26 13:43:10 +0000 | [diff] [blame] | 95 | "interval": "", |
Prateek Sarda | 6431edc | 2021-12-07 10:24:02 +0000 | [diff] [blame] | 96 | "legendFormat": "IMSI {{imsi}}", |
Prateek Sarda | 2cf72f6 | 2021-10-26 13:43:10 +0000 | [diff] [blame] | 97 | "queryType": "randomWalk", |
| 98 | "refId": "A" |
| 99 | } |
| 100 | ], |
| 101 | "title": "UE $imsi Connectivity", |
| 102 | "type": "timeseries" |
| 103 | } |
| 104 | ], |
| 105 | "refresh": "", |
| 106 | "schemaVersion": 30, |
| 107 | "style": "light", |
| 108 | "tags": [], |
| 109 | "templating": { |
| 110 | "list": [ |
| 111 | { |
| 112 | "label" : "IMSI", |
| 113 | "multi" : false, |
| 114 | "name" : "imsi", |
| 115 | "type" : "query", |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 116 | "datasource": "$ds", |
Prateek Sarda | 2cf72f6 | 2021-10-26 13:43:10 +0000 | [diff] [blame] | 117 | "definition": "label_values(subscribers_info, imsi)", |
| 118 | "query": { |
| 119 | "query": "label_values(subscribers_info, imsi)", |
| 120 | "refId": "StandardVariableQuery" |
| 121 | }, |
| 122 | "refresh": 1, |
| 123 | "sort" : 1 |
Prateek Sarda | a775b67 | 2021-11-01 11:19:18 +0000 | [diff] [blame] | 124 | }, |
| 125 | { |
| 126 | "label" : "Datasource", |
| 127 | "multi" : false, |
| 128 | "name" : "ds", |
| 129 | "type" : "datasource", |
| 130 | "query": "prometheus", |
| 131 | "queryValue": "", |
| 132 | "refresh": 1, |
| 133 | "regex": "" |
Prateek Sarda | 2cf72f6 | 2021-10-26 13:43:10 +0000 | [diff] [blame] | 134 | } |
| 135 | ] |
| 136 | }, |
| 137 | "time": { |
| 138 | "from": "now-15m", |
| 139 | "to": "now" |
| 140 | }, |
| 141 | "timepicker": {}, |
| 142 | "timezone": "", |
| 143 | "title": "UE Connectivity", |
| 144 | "uid": "ue-conn", |
| 145 | "version": 1 |
| 146 | } |
| 147 | |