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": "Stacked time-series of UE's connected to slice by active, inactive and idle", |
| 24 | "fieldConfig": { |
| 25 | "defaults": { |
| 26 | "color": { |
| 27 | "mode": "palette-classic" |
| 28 | }, |
| 29 | "custom": { |
| 30 | "axisLabel": "", |
| 31 | "axisPlacement": "auto", |
| 32 | "barAlignment": 0, |
| 33 | "drawStyle": "bars", |
| 34 | "fillOpacity": 56, |
| 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": "normal" |
| 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": 9, |
| 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": "sum(smf_pdu_session_profile{slice=\"$VCS\",state=\"active\"})", |
| 95 | "interval": "", |
| 96 | "legendFormat": "Active", |
| 97 | "queryType": "randomWalk", |
| 98 | "refId": "A" |
| 99 | }, |
| 100 | { |
| 101 | "exemplar": true, |
| 102 | "expr": "sum(smf_pdu_session_profile{slice=\"$VCS\",state=\"inactive\"})", |
| 103 | "hide": false, |
| 104 | "interval": "", |
| 105 | "legendFormat": "Inactive", |
| 106 | "refId": "B" |
| 107 | }, |
| 108 | { |
| 109 | "exemplar": true, |
| 110 | "expr": "sum(smf_pdu_session_profile{slice=\"$VCS\",state=\"idle\"})", |
| 111 | "hide": false, |
| 112 | "interval": "", |
| 113 | "legendFormat": "Idle", |
| 114 | "refId": "C" |
| 115 | } |
| 116 | ], |
| 117 | "title": "VCS $VCS UE Connectivity Stacked", |
| 118 | "type": "timeseries" |
| 119 | } |
| 120 | ], |
| 121 | "schemaVersion": 30, |
| 122 | "style": "light", |
| 123 | "tags": [], |
| 124 | "templating": { |
| 125 | "list": [] |
| 126 | }, |
| 127 | "time": { |
| 128 | "from": "now-15m", |
| 129 | "to": "now" |
| 130 | }, |
| 131 | "timepicker": {}, |
| 132 | "timezone": "", |
| 133 | "title": "VCS $VCS UE Connectivity", |
| 134 | "uid": "$VCS-ue-conn", |
| 135 | "version": 1 |
| 136 | }, |
| 137 | "folderUid": "$ORG", |
| 138 | "message": "Made changes to $ORG" |
| 139 | } |