PUSHP RAJ | dc47413 | 2022-01-07 05:58:33 +0000 | [diff] [blame] | 1 | { |
| 2 | "annotations": { |
| 3 | "list": [ |
| 4 | { |
| 5 | "builtIn": 1, |
| 6 | "datasource": "-- Grafana --", |
| 7 | "enable": true, |
| 8 | "hide": true, |
| 9 | "iconColor": "rgba(0, 211, 255, 1)", |
| 10 | "name": "Annotations & Alerts", |
| 11 | "target": { |
| 12 | "limit": 100, |
| 13 | "matchAny": false, |
| 14 | "tags": [], |
| 15 | "type": "dashboard" |
| 16 | }, |
| 17 | "type": "dashboard" |
| 18 | } |
| 19 | ] |
| 20 | }, |
| 21 | "editable": true, |
| 22 | "gnetId": null, |
| 23 | "graphTooltip": 0, |
| 24 | "id": 3, |
| 25 | "iteration": 1641486134033, |
| 26 | "links": [], |
| 27 | "panels": [ |
| 28 | { |
| 29 | "datasource": "${datasource}", |
| 30 | "fieldConfig": { |
| 31 | "defaults": { |
| 32 | "color": { |
| 33 | "mode": "thresholds" |
| 34 | }, |
| 35 | "mappings": [], |
| 36 | "thresholds": { |
| 37 | "mode": "absolute", |
| 38 | "steps": [ |
| 39 | { |
| 40 | "color": "green", |
| 41 | "value": null |
| 42 | }, |
| 43 | { |
| 44 | "color": "#EAB839", |
| 45 | "value": 2.5 |
| 46 | }, |
| 47 | { |
| 48 | "color": "red", |
| 49 | "value": 5 |
| 50 | } |
| 51 | ] |
| 52 | } |
| 53 | }, |
| 54 | "overrides": [] |
| 55 | }, |
| 56 | "gridPos": { |
| 57 | "h": 10, |
| 58 | "w": 24, |
| 59 | "x": 0, |
| 60 | "y": 0 |
| 61 | }, |
| 62 | "id": 2, |
| 63 | "options": { |
| 64 | "colorMode": "background", |
| 65 | "graphMode": "none", |
| 66 | "justifyMode": "auto", |
| 67 | "orientation": "auto", |
| 68 | "reduceOptions": { |
| 69 | "calcs": [ |
| 70 | "lastNotNull" |
| 71 | ], |
| 72 | "fields": "", |
| 73 | "values": false |
| 74 | }, |
| 75 | "text": { |
| 76 | "titleSize": 8, |
| 77 | "valueSize": 14 |
| 78 | }, |
| 79 | "textMode": "auto" |
| 80 | }, |
| 81 | "pluginVersion": "8.1.8", |
| 82 | "targets": [ |
| 83 | { |
| 84 | "exemplar": true, |
| 85 | "expr": "device_connection_event_core{site=\"$site\", serial_number=\"$serial_number\"}", |
| 86 | "interval": "", |
| 87 | "legendFormat": "{{iccid}},{{msg}}", |
| 88 | "refId": "A" |
| 89 | } |
| 90 | ], |
| 91 | "title": "Device Connection Event Core", |
| 92 | "type": "stat" |
| 93 | }, |
| 94 | { |
| 95 | "datasource": "${datasource}", |
| 96 | "fieldConfig": { |
| 97 | "defaults": { |
| 98 | "color": { |
| 99 | "mode": "thresholds" |
| 100 | }, |
| 101 | "mappings": [], |
| 102 | "thresholds": { |
| 103 | "mode": "absolute", |
| 104 | "steps": [ |
| 105 | { |
| 106 | "color": "green", |
| 107 | "value": null |
| 108 | }, |
| 109 | { |
| 110 | "color": "#EAB839", |
| 111 | "value": 2.5 |
| 112 | }, |
| 113 | { |
| 114 | "color": "red", |
| 115 | "value": 5 |
| 116 | } |
| 117 | ] |
| 118 | } |
| 119 | }, |
| 120 | "overrides": [] |
| 121 | }, |
| 122 | "gridPos": { |
| 123 | "h": 10, |
| 124 | "w": 24, |
| 125 | "x": 0, |
| 126 | "y": 10 |
| 127 | }, |
| 128 | "id": 3, |
| 129 | "options": { |
| 130 | "colorMode": "background", |
| 131 | "graphMode": "none", |
| 132 | "justifyMode": "auto", |
| 133 | "orientation": "auto", |
| 134 | "reduceOptions": { |
| 135 | "calcs": [ |
| 136 | "lastNotNull" |
| 137 | ], |
| 138 | "fields": "", |
| 139 | "values": false |
| 140 | }, |
| 141 | "text": { |
| 142 | "titleSize": 8, |
| 143 | "valueSize": 14 |
| 144 | }, |
| 145 | "textMode": "auto" |
| 146 | }, |
| 147 | "pluginVersion": "8.1.8", |
| 148 | "targets": [ |
| 149 | { |
| 150 | "exemplar": true, |
| 151 | "expr": "device_connection_event_ran{site=\"$site\", serial_number=\"$serial_number\"}", |
| 152 | "interval": "", |
| 153 | "legendFormat": "{{iccid}},{{msg}}", |
| 154 | "refId": "A" |
| 155 | } |
| 156 | ], |
| 157 | "title": "Device Connection Event Ran", |
| 158 | "type": "stat" |
| 159 | }, |
| 160 | { |
| 161 | "datasource": "${datasource}", |
| 162 | "fieldConfig": { |
| 163 | "defaults": { |
| 164 | "color": { |
| 165 | "mode": "thresholds" |
| 166 | }, |
| 167 | "mappings": [], |
| 168 | "thresholds": { |
| 169 | "mode": "absolute", |
| 170 | "steps": [ |
| 171 | { |
| 172 | "color": "green", |
| 173 | "value": null |
| 174 | }, |
| 175 | { |
| 176 | "color": "#EAB839", |
| 177 | "value": 2.5 |
| 178 | }, |
| 179 | { |
| 180 | "color": "red", |
| 181 | "value": 5 |
| 182 | } |
| 183 | ] |
| 184 | } |
| 185 | }, |
| 186 | "overrides": [] |
| 187 | }, |
| 188 | "gridPos": { |
| 189 | "h": 10, |
| 190 | "w": 24, |
| 191 | "x": 0, |
| 192 | "y": 20 |
| 193 | }, |
| 194 | "id": 4, |
| 195 | "options": { |
| 196 | "colorMode": "background", |
| 197 | "graphMode": "none", |
| 198 | "justifyMode": "auto", |
| 199 | "orientation": "auto", |
| 200 | "reduceOptions": { |
| 201 | "calcs": [ |
| 202 | "lastNotNull" |
| 203 | ], |
| 204 | "fields": "", |
| 205 | "values": false |
| 206 | }, |
| 207 | "text": { |
| 208 | "titleSize": 8, |
| 209 | "valueSize": 14 |
| 210 | }, |
| 211 | "textMode": "auto" |
| 212 | }, |
| 213 | "pluginVersion": "8.1.8", |
| 214 | "targets": [ |
| 215 | { |
| 216 | "exemplar": true, |
| 217 | "expr": "device_connection_event_fabric{site=\"$site\", serial_number=\"$serial_number\"}", |
| 218 | "interval": "", |
| 219 | "legendFormat": "{{iccid}},{{msg}}", |
| 220 | "refId": "A" |
| 221 | } |
| 222 | ], |
| 223 | "title": "Device Connection Event Fabric", |
| 224 | "type": "stat" |
| 225 | } |
| 226 | ], |
| 227 | "refresh": "5s", |
| 228 | "schemaVersion": 30, |
| 229 | "style": "dark", |
| 230 | "tags": [], |
| 231 | "templating": { |
| 232 | "list": [ |
| 233 | { |
| 234 | "current": { |
| 235 | "selected": false, |
| 236 | "text": "datasource-chronos", |
| 237 | "value": "datasource-chronos" |
| 238 | }, |
| 239 | "description": null, |
| 240 | "error": null, |
| 241 | "hide": 0, |
| 242 | "includeAll": false, |
| 243 | "label": null, |
| 244 | "multi": false, |
| 245 | "name": "datasource", |
| 246 | "options": [], |
| 247 | "query": "prometheus", |
| 248 | "refresh": 1, |
| 249 | "regex": "", |
| 250 | "skipUrlSync": false, |
| 251 | "type": "datasource" |
| 252 | }, |
| 253 | { |
| 254 | "allValue": null, |
| 255 | "current": { |
| 256 | "selected": true, |
| 257 | "text": "berlin", |
| 258 | "value": "berlin" |
| 259 | }, |
| 260 | "datasource": "${datasource}", |
| 261 | "definition": "label_values(site)", |
| 262 | "description": null, |
| 263 | "error": null, |
| 264 | "hide": 0, |
| 265 | "includeAll": false, |
| 266 | "label": null, |
| 267 | "multi": false, |
| 268 | "name": "site", |
| 269 | "options": [], |
| 270 | "query": { |
| 271 | "query": "label_values(site)", |
| 272 | "refId": "StandardVariableQuery" |
| 273 | }, |
| 274 | "refresh": 1, |
| 275 | "regex": "", |
| 276 | "skipUrlSync": false, |
| 277 | "sort": 0, |
| 278 | "type": "query" |
| 279 | }, |
| 280 | { |
| 281 | "allValue": null, |
| 282 | "current": { |
| 283 | "selected": true, |
| 284 | "text": "18876887", |
| 285 | "value": "18876887" |
| 286 | }, |
| 287 | "datasource": "${datasource}", |
| 288 | "definition": "label_values(device_connection_event_core{site=\"$site\"}, serial_number)", |
| 289 | "description": null, |
| 290 | "error": null, |
| 291 | "hide": 0, |
| 292 | "includeAll": false, |
| 293 | "label": null, |
| 294 | "multi": false, |
| 295 | "name": "serial_number", |
| 296 | "options": [], |
| 297 | "query": { |
| 298 | "query": "label_values(device_connection_event_core{site=\"$site\"}, serial_number)", |
| 299 | "refId": "StandardVariableQuery" |
| 300 | }, |
| 301 | "refresh": 1, |
| 302 | "regex": "", |
| 303 | "skipUrlSync": false, |
| 304 | "sort": 0, |
| 305 | "type": "query" |
| 306 | } |
| 307 | ] |
| 308 | }, |
| 309 | "time": { |
| 310 | "from": "now-15m", |
| 311 | "to": "now" |
| 312 | }, |
| 313 | "timepicker": {}, |
| 314 | "timezone": "", |
| 315 | "title": "Chronos Device Connection Events", |
| 316 | "uid": "chronos-device-connection", |
| 317 | "version": 14 |
| 318 | } |