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": 1641478056081, |
| 26 | "links": [], |
| 27 | "panels": [ |
| 28 | { |
| 29 | "datasource": "${datasource}", |
| 30 | "fieldConfig": { |
| 31 | "defaults": { |
| 32 | "color": { |
| 33 | "mode": "palette-classic" |
| 34 | }, |
| 35 | "custom": { |
| 36 | "axisLabel": "", |
| 37 | "axisPlacement": "auto", |
| 38 | "barAlignment": 0, |
| 39 | "drawStyle": "line", |
| 40 | "fillOpacity": 25, |
| 41 | "gradientMode": "none", |
| 42 | "hideFrom": { |
| 43 | "legend": false, |
| 44 | "tooltip": false, |
| 45 | "viz": false |
| 46 | }, |
| 47 | "lineInterpolation": "linear", |
| 48 | "lineWidth": 1, |
| 49 | "pointSize": 5, |
| 50 | "scaleDistribution": { |
| 51 | "type": "linear" |
| 52 | }, |
| 53 | "showPoints": "auto", |
| 54 | "spanNulls": false, |
| 55 | "stacking": { |
| 56 | "group": "A", |
| 57 | "mode": "normal" |
| 58 | }, |
| 59 | "thresholdsStyle": { |
| 60 | "mode": "off" |
| 61 | } |
| 62 | }, |
| 63 | "mappings": [], |
| 64 | "thresholds": { |
| 65 | "mode": "absolute", |
| 66 | "steps": [ |
| 67 | { |
| 68 | "color": "green", |
| 69 | "value": null |
| 70 | }, |
| 71 | { |
| 72 | "color": "red", |
| 73 | "value": 80 |
| 74 | } |
| 75 | ] |
| 76 | } |
| 77 | }, |
| 78 | "overrides": [] |
| 79 | }, |
| 80 | "gridPos": { |
| 81 | "h": 7, |
| 82 | "w": 24, |
| 83 | "x": 0, |
| 84 | "y": 0 |
| 85 | }, |
| 86 | "id": 2, |
| 87 | "options": { |
| 88 | "legend": { |
| 89 | "calcs": [], |
| 90 | "displayMode": "list", |
| 91 | "placement": "bottom" |
| 92 | }, |
| 93 | "tooltip": { |
| 94 | "mode": "single" |
| 95 | } |
| 96 | }, |
| 97 | "targets": [ |
| 98 | { |
| 99 | "exemplar": true, |
| 100 | "expr": "per_device_per_application_throughput_bytes{site=\"$site\", slice=\"$slice\", serial_number=\"$serial_number\"}", |
| 101 | "interval": "", |
| 102 | "legendFormat": "{{serial_number}},{{application}},{{slice}}", |
| 103 | "refId": "A" |
| 104 | } |
| 105 | ], |
| 106 | "title": "Device per Application Throughput Bytes", |
| 107 | "type": "timeseries" |
| 108 | }, |
| 109 | { |
| 110 | "datasource": "${datasource}", |
| 111 | "fieldConfig": { |
| 112 | "defaults": { |
| 113 | "color": { |
| 114 | "mode": "palette-classic" |
| 115 | }, |
| 116 | "custom": { |
| 117 | "axisLabel": "", |
| 118 | "axisPlacement": "auto", |
| 119 | "barAlignment": 0, |
| 120 | "drawStyle": "line", |
| 121 | "fillOpacity": 35, |
| 122 | "gradientMode": "none", |
| 123 | "hideFrom": { |
| 124 | "legend": false, |
| 125 | "tooltip": false, |
| 126 | "viz": false |
| 127 | }, |
| 128 | "lineInterpolation": "linear", |
| 129 | "lineWidth": 1, |
| 130 | "pointSize": 5, |
| 131 | "scaleDistribution": { |
| 132 | "type": "linear" |
| 133 | }, |
| 134 | "showPoints": "auto", |
| 135 | "spanNulls": false, |
| 136 | "stacking": { |
| 137 | "group": "A", |
| 138 | "mode": "normal" |
| 139 | }, |
| 140 | "thresholdsStyle": { |
| 141 | "mode": "off" |
| 142 | } |
| 143 | }, |
| 144 | "mappings": [], |
| 145 | "thresholds": { |
| 146 | "mode": "absolute", |
| 147 | "steps": [ |
| 148 | { |
| 149 | "color": "green", |
| 150 | "value": null |
| 151 | }, |
| 152 | { |
| 153 | "color": "red", |
| 154 | "value": 80 |
| 155 | } |
| 156 | ] |
| 157 | } |
| 158 | }, |
| 159 | "overrides": [] |
| 160 | }, |
| 161 | "gridPos": { |
| 162 | "h": 6, |
| 163 | "w": 12, |
| 164 | "x": 0, |
| 165 | "y": 7 |
| 166 | }, |
| 167 | "id": 4, |
| 168 | "options": { |
| 169 | "legend": { |
| 170 | "calcs": [], |
| 171 | "displayMode": "list", |
| 172 | "placement": "bottom" |
| 173 | }, |
| 174 | "tooltip": { |
| 175 | "mode": "single" |
| 176 | } |
| 177 | }, |
| 178 | "targets": [ |
| 179 | { |
| 180 | "exemplar": true, |
| 181 | "expr": "per_device_per_application_throughput_packets{site=\"$site\", slice=\"$slice\", serial_number=\"$serial_number\"}", |
| 182 | "interval": "", |
| 183 | "legendFormat": "{{serial_number}}, {{application}},{{slice}}", |
| 184 | "refId": "A" |
| 185 | } |
| 186 | ], |
| 187 | "title": "Device per application Throughput Packets", |
| 188 | "type": "timeseries" |
| 189 | }, |
| 190 | { |
| 191 | "datasource": "${datasource}", |
| 192 | "fieldConfig": { |
| 193 | "defaults": { |
| 194 | "color": { |
| 195 | "mode": "palette-classic" |
| 196 | }, |
| 197 | "custom": { |
| 198 | "axisLabel": "", |
| 199 | "axisPlacement": "auto", |
| 200 | "barAlignment": 0, |
| 201 | "drawStyle": "line", |
| 202 | "fillOpacity": 17, |
| 203 | "gradientMode": "hue", |
| 204 | "hideFrom": { |
| 205 | "legend": false, |
| 206 | "tooltip": false, |
| 207 | "viz": false |
| 208 | }, |
| 209 | "lineInterpolation": "smooth", |
| 210 | "lineWidth": 1, |
| 211 | "pointSize": 5, |
| 212 | "scaleDistribution": { |
| 213 | "type": "linear" |
| 214 | }, |
| 215 | "showPoints": "auto", |
| 216 | "spanNulls": false, |
| 217 | "stacking": { |
| 218 | "group": "A", |
| 219 | "mode": "normal" |
| 220 | }, |
| 221 | "thresholdsStyle": { |
| 222 | "mode": "off" |
| 223 | } |
| 224 | }, |
| 225 | "mappings": [], |
| 226 | "thresholds": { |
| 227 | "mode": "absolute", |
| 228 | "steps": [ |
| 229 | { |
| 230 | "color": "green", |
| 231 | "value": null |
| 232 | }, |
| 233 | { |
| 234 | "color": "red", |
| 235 | "value": 80 |
| 236 | } |
| 237 | ] |
| 238 | } |
| 239 | }, |
| 240 | "overrides": [] |
| 241 | }, |
| 242 | "gridPos": { |
| 243 | "h": 6, |
| 244 | "w": 12, |
| 245 | "x": 12, |
| 246 | "y": 7 |
| 247 | }, |
| 248 | "id": 6, |
| 249 | "options": { |
| 250 | "legend": { |
| 251 | "calcs": [], |
| 252 | "displayMode": "list", |
| 253 | "placement": "bottom" |
| 254 | }, |
| 255 | "tooltip": { |
| 256 | "mode": "single" |
| 257 | } |
| 258 | }, |
| 259 | "targets": [ |
| 260 | { |
| 261 | "exemplar": true, |
| 262 | "expr": "per_device_per_application_loss_packets{site=\"$site\", slice=\"$slice\", serial_number=\"$serial_number\"}", |
| 263 | "interval": "", |
| 264 | "legendFormat": "{{serial_number}}, {{application}}, {{slice}}", |
| 265 | "refId": "A" |
| 266 | } |
| 267 | ], |
| 268 | "title": "Device per Application Packets Loss", |
| 269 | "type": "timeseries" |
| 270 | } |
| 271 | ], |
| 272 | "refresh": "5s", |
| 273 | "schemaVersion": 30, |
| 274 | "style": "dark", |
| 275 | "tags": [], |
| 276 | "templating": { |
| 277 | "list": [ |
| 278 | { |
| 279 | "current": { |
| 280 | "selected": false, |
| 281 | "text": "datasource-chronos", |
| 282 | "value": "datasource-chronos" |
| 283 | }, |
| 284 | "description": null, |
| 285 | "error": null, |
| 286 | "hide": 0, |
| 287 | "includeAll": false, |
| 288 | "label": null, |
| 289 | "multi": false, |
| 290 | "name": "datasource", |
| 291 | "options": [], |
| 292 | "query": "prometheus", |
| 293 | "refresh": 1, |
| 294 | "regex": "", |
| 295 | "skipUrlSync": false, |
| 296 | "type": "datasource" |
| 297 | }, |
| 298 | { |
| 299 | "allValue": null, |
| 300 | "current": { |
| 301 | "selected": false, |
| 302 | "text": "berlin", |
| 303 | "value": "berlin" |
| 304 | }, |
| 305 | "datasource": "${datasource}", |
| 306 | "definition": "label_values(site)", |
| 307 | "description": null, |
| 308 | "error": null, |
| 309 | "hide": 0, |
| 310 | "includeAll": false, |
| 311 | "label": null, |
| 312 | "multi": false, |
| 313 | "name": "site", |
| 314 | "options": [], |
| 315 | "query": { |
| 316 | "query": "label_values(site)", |
| 317 | "refId": "StandardVariableQuery" |
| 318 | }, |
| 319 | "refresh": 1, |
| 320 | "regex": "", |
| 321 | "skipUrlSync": false, |
| 322 | "sort": 0, |
| 323 | "type": "query" |
| 324 | }, |
| 325 | { |
| 326 | "allValue": null, |
| 327 | "current": { |
| 328 | "selected": true, |
| 329 | "text": "berlin-slice-phones", |
| 330 | "value": "berlin-slice-phones" |
| 331 | }, |
| 332 | "datasource": "${datasource}", |
| 333 | "definition": "label_values(per_device_per_application_throughput_bytes{site=\"$site\"}, slice)", |
| 334 | "description": null, |
| 335 | "error": null, |
| 336 | "hide": 0, |
| 337 | "includeAll": false, |
| 338 | "label": null, |
| 339 | "multi": false, |
| 340 | "name": "slice", |
| 341 | "options": [], |
| 342 | "query": { |
| 343 | "query": "label_values(per_device_per_application_throughput_bytes{site=\"$site\"}, slice)", |
| 344 | "refId": "StandardVariableQuery" |
| 345 | }, |
| 346 | "refresh": 1, |
| 347 | "regex": "", |
| 348 | "skipUrlSync": false, |
| 349 | "sort": 0, |
| 350 | "type": "query" |
| 351 | }, |
| 352 | { |
| 353 | "allValue": null, |
| 354 | "current": { |
| 355 | "selected": false, |
| 356 | "text": "18876871", |
| 357 | "value": "18876871" |
| 358 | }, |
| 359 | "datasource": "${datasource}", |
| 360 | "definition": "label_values(per_device_per_application_throughput_bytes{site=\"$site\", slice=\"$slice\"}, serial_number)", |
| 361 | "description": null, |
| 362 | "error": null, |
| 363 | "hide": 0, |
| 364 | "includeAll": false, |
| 365 | "label": null, |
| 366 | "multi": false, |
| 367 | "name": "serial_number", |
| 368 | "options": [], |
| 369 | "query": { |
| 370 | "query": "label_values(per_device_per_application_throughput_bytes{site=\"$site\", slice=\"$slice\"}, serial_number)", |
| 371 | "refId": "StandardVariableQuery" |
| 372 | }, |
| 373 | "refresh": 1, |
| 374 | "regex": "", |
| 375 | "skipUrlSync": false, |
| 376 | "sort": 0, |
| 377 | "type": "query" |
| 378 | } |
| 379 | ] |
| 380 | }, |
| 381 | "time": { |
| 382 | "from": "now-15m", |
| 383 | "to": "now" |
| 384 | }, |
| 385 | "timepicker": {}, |
| 386 | "timezone": "", |
| 387 | "title": "Chronos Device Throughput and Packet Loss Dashboard", |
| 388 | "uid": "chronos-device-throughput", |
| 389 | "version": 26 |
| 390 | } |