Matteo Scandolo | d28ec7b | 2018-08-21 12:58:04 -0700 | [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 | "type": "dashboard" |
| 12 | } |
| 13 | ] |
| 14 | }, |
| 15 | "editable": true, |
| 16 | "gnetId": null, |
| 17 | "graphTooltip": 0, |
| 18 | "links": [], |
| 19 | "panels": [ |
| 20 | { |
| 21 | "gridPos": { |
| 22 | "h": 1, |
| 23 | "w": 24, |
| 24 | "x": 0, |
| 25 | "y": 0 |
| 26 | }, |
| 27 | "id": 7, |
| 28 | "title": "Bytes", |
| 29 | "type": "row" |
| 30 | }, |
| 31 | { |
| 32 | "aliasColors": {}, |
| 33 | "bars": false, |
| 34 | "dashLength": 10, |
| 35 | "dashes": false, |
| 36 | "datasource": "Prometheus", |
| 37 | "description": "Count the tx bytes on the NNI ports by device", |
| 38 | "fill": 1, |
| 39 | "gridPos": { |
| 40 | "h": 9, |
| 41 | "w": 12, |
| 42 | "x": 0, |
| 43 | "y": 1 |
| 44 | }, |
| 45 | "id": 9, |
| 46 | "legend": { |
| 47 | "avg": false, |
| 48 | "current": false, |
| 49 | "max": false, |
| 50 | "min": false, |
| 51 | "show": true, |
| 52 | "total": false, |
| 53 | "values": false |
| 54 | }, |
| 55 | "lines": true, |
| 56 | "linewidth": 1, |
| 57 | "links": [], |
| 58 | "nullPointMode": "null", |
| 59 | "percentage": false, |
| 60 | "pointradius": 5, |
| 61 | "points": false, |
| 62 | "renderer": "flot", |
| 63 | "seriesOverrides": [], |
| 64 | "spaceLength": 10, |
| 65 | "stack": false, |
| 66 | "steppedLine": false, |
| 67 | "targets": [ |
| 68 | { |
Matteo Scandolo | 29acf19 | 2018-09-13 13:35:46 -0700 | [diff] [blame] | 69 | "$$hashKey": "object:187", |
| 70 | "expr": "sum(tx_bytes_total{title=\"Ethernet\"})by(device_id) / 1024 / 1024", |
Matteo Scandolo | d28ec7b | 2018-08-21 12:58:04 -0700 | [diff] [blame] | 71 | "format": "time_series", |
| 72 | "intervalFactor": 1, |
| 73 | "refId": "A" |
| 74 | } |
| 75 | ], |
| 76 | "thresholds": [], |
| 77 | "timeFrom": null, |
| 78 | "timeShift": null, |
| 79 | "title": "Transmitted MB by device", |
| 80 | "tooltip": { |
| 81 | "shared": true, |
| 82 | "sort": 0, |
| 83 | "value_type": "individual" |
| 84 | }, |
| 85 | "type": "graph", |
| 86 | "xaxis": { |
| 87 | "buckets": null, |
| 88 | "mode": "time", |
| 89 | "name": null, |
| 90 | "show": true, |
| 91 | "values": [] |
| 92 | }, |
| 93 | "yaxes": [ |
| 94 | { |
| 95 | "format": "short", |
| 96 | "label": null, |
| 97 | "logBase": 1, |
| 98 | "max": null, |
| 99 | "min": null, |
| 100 | "show": true |
| 101 | }, |
| 102 | { |
| 103 | "format": "short", |
| 104 | "label": null, |
| 105 | "logBase": 1, |
| 106 | "max": null, |
| 107 | "min": null, |
| 108 | "show": true |
| 109 | } |
| 110 | ], |
| 111 | "yaxis": { |
| 112 | "align": false, |
| 113 | "alignLevel": null |
| 114 | } |
| 115 | }, |
| 116 | { |
| 117 | "aliasColors": {}, |
| 118 | "bars": false, |
| 119 | "dashLength": 10, |
| 120 | "dashes": false, |
| 121 | "datasource": "Prometheus", |
| 122 | "description": "Count the rx bytes on the NNI ports by device", |
| 123 | "fill": 1, |
| 124 | "gridPos": { |
| 125 | "h": 9, |
| 126 | "w": 12, |
| 127 | "x": 12, |
| 128 | "y": 1 |
| 129 | }, |
| 130 | "id": 10, |
| 131 | "legend": { |
| 132 | "avg": false, |
| 133 | "current": false, |
| 134 | "max": false, |
| 135 | "min": false, |
| 136 | "show": true, |
| 137 | "total": false, |
| 138 | "values": false |
| 139 | }, |
| 140 | "lines": true, |
| 141 | "linewidth": 1, |
| 142 | "links": [], |
| 143 | "nullPointMode": "null", |
| 144 | "percentage": false, |
| 145 | "pointradius": 5, |
| 146 | "points": false, |
| 147 | "renderer": "flot", |
| 148 | "seriesOverrides": [], |
| 149 | "spaceLength": 10, |
| 150 | "stack": false, |
| 151 | "steppedLine": false, |
| 152 | "targets": [ |
| 153 | { |
Matteo Scandolo | 29acf19 | 2018-09-13 13:35:46 -0700 | [diff] [blame] | 154 | "$$hashKey": "object:241", |
| 155 | "expr": "sum(rx_bytes_total{title=\"Ethernet\"})by(device_id) / 1024 / 1024", |
Matteo Scandolo | d28ec7b | 2018-08-21 12:58:04 -0700 | [diff] [blame] | 156 | "format": "time_series", |
| 157 | "intervalFactor": 1, |
| 158 | "refId": "A" |
| 159 | } |
| 160 | ], |
| 161 | "thresholds": [], |
| 162 | "timeFrom": null, |
| 163 | "timeShift": null, |
| 164 | "title": "Received MB by device", |
| 165 | "tooltip": { |
| 166 | "shared": true, |
| 167 | "sort": 0, |
| 168 | "value_type": "individual" |
| 169 | }, |
| 170 | "type": "graph", |
| 171 | "xaxis": { |
| 172 | "buckets": null, |
| 173 | "mode": "time", |
| 174 | "name": null, |
| 175 | "show": true, |
| 176 | "values": [] |
| 177 | }, |
| 178 | "yaxes": [ |
| 179 | { |
| 180 | "format": "short", |
| 181 | "label": null, |
| 182 | "logBase": 1, |
| 183 | "max": null, |
| 184 | "min": null, |
| 185 | "show": true |
| 186 | }, |
| 187 | { |
| 188 | "format": "short", |
| 189 | "label": null, |
| 190 | "logBase": 1, |
| 191 | "max": null, |
| 192 | "min": null, |
| 193 | "show": true |
| 194 | } |
| 195 | ], |
| 196 | "yaxis": { |
| 197 | "align": false, |
| 198 | "alignLevel": null |
| 199 | } |
| 200 | }, |
| 201 | { |
| 202 | "collapsed": false, |
| 203 | "gridPos": { |
| 204 | "h": 1, |
| 205 | "w": 24, |
| 206 | "x": 0, |
| 207 | "y": 10 |
| 208 | }, |
| 209 | "id": 2, |
| 210 | "panels": [], |
| 211 | "title": "Packets", |
| 212 | "type": "row" |
| 213 | }, |
| 214 | { |
| 215 | "aliasColors": {}, |
| 216 | "bars": false, |
| 217 | "dashLength": 10, |
| 218 | "dashes": false, |
| 219 | "datasource": "Prometheus", |
| 220 | "description": "Count the tx packets on the NNI ports by device", |
| 221 | "fill": 1, |
| 222 | "gridPos": { |
| 223 | "h": 9, |
| 224 | "w": 12, |
| 225 | "x": 0, |
| 226 | "y": 11 |
| 227 | }, |
| 228 | "id": 4, |
| 229 | "legend": { |
| 230 | "avg": false, |
| 231 | "current": false, |
| 232 | "max": false, |
| 233 | "min": false, |
| 234 | "show": true, |
| 235 | "total": false, |
| 236 | "values": false |
| 237 | }, |
| 238 | "lines": true, |
| 239 | "linewidth": 1, |
| 240 | "links": [], |
| 241 | "nullPointMode": "null", |
| 242 | "percentage": false, |
| 243 | "pointradius": 5, |
| 244 | "points": false, |
| 245 | "renderer": "flot", |
| 246 | "seriesOverrides": [], |
| 247 | "spaceLength": 10, |
| 248 | "stack": false, |
| 249 | "steppedLine": false, |
| 250 | "targets": [ |
| 251 | { |
Matteo Scandolo | 29acf19 | 2018-09-13 13:35:46 -0700 | [diff] [blame] | 252 | "$$hashKey": "object:295", |
| 253 | "expr": "sum(tx_packets_total{title=\"Ethernet\"})by(device_id)", |
Matteo Scandolo | d28ec7b | 2018-08-21 12:58:04 -0700 | [diff] [blame] | 254 | "format": "time_series", |
| 255 | "intervalFactor": 1, |
| 256 | "refId": "A" |
| 257 | } |
| 258 | ], |
| 259 | "thresholds": [], |
| 260 | "timeFrom": null, |
| 261 | "timeShift": null, |
| 262 | "title": "Transmitted packets by device", |
| 263 | "tooltip": { |
| 264 | "shared": true, |
| 265 | "sort": 0, |
| 266 | "value_type": "individual" |
| 267 | }, |
| 268 | "type": "graph", |
| 269 | "xaxis": { |
| 270 | "buckets": null, |
| 271 | "mode": "time", |
| 272 | "name": null, |
| 273 | "show": true, |
| 274 | "values": [] |
| 275 | }, |
| 276 | "yaxes": [ |
| 277 | { |
| 278 | "format": "short", |
| 279 | "label": null, |
| 280 | "logBase": 1, |
| 281 | "max": null, |
| 282 | "min": null, |
| 283 | "show": true |
| 284 | }, |
| 285 | { |
| 286 | "format": "short", |
| 287 | "label": null, |
| 288 | "logBase": 1, |
| 289 | "max": null, |
| 290 | "min": null, |
| 291 | "show": true |
| 292 | } |
| 293 | ], |
| 294 | "yaxis": { |
| 295 | "align": false, |
| 296 | "alignLevel": null |
| 297 | } |
| 298 | }, |
| 299 | { |
| 300 | "aliasColors": {}, |
| 301 | "bars": false, |
| 302 | "dashLength": 10, |
| 303 | "dashes": false, |
| 304 | "datasource": "Prometheus", |
| 305 | "description": "Count the rx packets on the NNI ports by device", |
| 306 | "fill": 1, |
| 307 | "gridPos": { |
| 308 | "h": 9, |
| 309 | "w": 12, |
| 310 | "x": 12, |
| 311 | "y": 11 |
| 312 | }, |
| 313 | "id": 5, |
| 314 | "legend": { |
| 315 | "avg": false, |
| 316 | "current": false, |
| 317 | "max": false, |
| 318 | "min": false, |
| 319 | "show": true, |
| 320 | "total": false, |
| 321 | "values": false |
| 322 | }, |
| 323 | "lines": true, |
| 324 | "linewidth": 1, |
| 325 | "links": [], |
| 326 | "nullPointMode": "null", |
| 327 | "percentage": false, |
| 328 | "pointradius": 5, |
| 329 | "points": false, |
| 330 | "renderer": "flot", |
| 331 | "seriesOverrides": [], |
| 332 | "spaceLength": 10, |
| 333 | "stack": false, |
| 334 | "steppedLine": false, |
| 335 | "targets": [ |
| 336 | { |
Matteo Scandolo | 29acf19 | 2018-09-13 13:35:46 -0700 | [diff] [blame] | 337 | "$$hashKey": "object:349", |
| 338 | "expr": "sum(rx_packets_total{title=\"Ethernet\"})by(device_id)", |
Matteo Scandolo | d28ec7b | 2018-08-21 12:58:04 -0700 | [diff] [blame] | 339 | "format": "time_series", |
| 340 | "intervalFactor": 1, |
| 341 | "refId": "A" |
| 342 | } |
| 343 | ], |
| 344 | "thresholds": [], |
| 345 | "timeFrom": null, |
| 346 | "timeShift": null, |
| 347 | "title": "Received packets by device", |
| 348 | "tooltip": { |
| 349 | "shared": true, |
| 350 | "sort": 0, |
| 351 | "value_type": "individual" |
| 352 | }, |
| 353 | "type": "graph", |
| 354 | "xaxis": { |
| 355 | "buckets": null, |
| 356 | "mode": "time", |
| 357 | "name": null, |
| 358 | "show": true, |
| 359 | "values": [] |
| 360 | }, |
| 361 | "yaxes": [ |
| 362 | { |
| 363 | "format": "short", |
| 364 | "label": null, |
| 365 | "logBase": 1, |
| 366 | "max": null, |
| 367 | "min": null, |
| 368 | "show": true |
| 369 | }, |
| 370 | { |
| 371 | "format": "short", |
| 372 | "label": null, |
| 373 | "logBase": 1, |
| 374 | "max": null, |
| 375 | "min": null, |
| 376 | "show": true |
| 377 | } |
| 378 | ], |
| 379 | "yaxis": { |
| 380 | "align": false, |
| 381 | "alignLevel": null |
| 382 | } |
| 383 | }, |
| 384 | { |
Matteo Scandolo | 29acf19 | 2018-09-13 13:35:46 -0700 | [diff] [blame] | 385 | "collapsed": false, |
Matteo Scandolo | d28ec7b | 2018-08-21 12:58:04 -0700 | [diff] [blame] | 386 | "gridPos": { |
| 387 | "h": 1, |
| 388 | "w": 24, |
| 389 | "x": 0, |
| 390 | "y": 20 |
| 391 | }, |
| 392 | "id": 14, |
Matteo Scandolo | 29acf19 | 2018-09-13 13:35:46 -0700 | [diff] [blame] | 393 | "panels": [], |
Matteo Scandolo | d28ec7b | 2018-08-21 12:58:04 -0700 | [diff] [blame] | 394 | "title": "Realtime Traffic Data", |
| 395 | "type": "row" |
Matteo Scandolo | 29acf19 | 2018-09-13 13:35:46 -0700 | [diff] [blame] | 396 | }, |
| 397 | { |
| 398 | "alert": { |
| 399 | "conditions": [ |
| 400 | { |
| 401 | "evaluator": { |
| 402 | "params": [ |
| 403 | 5 |
| 404 | ], |
| 405 | "type": "gt" |
| 406 | }, |
| 407 | "operator": { |
| 408 | "type": "and" |
| 409 | }, |
| 410 | "query": { |
| 411 | "params": [ |
| 412 | "A", |
| 413 | "1m", |
| 414 | "now" |
| 415 | ] |
| 416 | }, |
| 417 | "reducer": { |
| 418 | "params": [], |
| 419 | "type": "sum" |
| 420 | }, |
| 421 | "type": "query" |
| 422 | } |
| 423 | ], |
| 424 | "executionErrorState": "alerting", |
| 425 | "frequency": "60s", |
| 426 | "handler": 1, |
| 427 | "name": "Realtime Incoming MB by NNI port alert", |
| 428 | "noDataState": "no_data", |
| 429 | "notifications": [] |
| 430 | }, |
| 431 | "aliasColors": {}, |
| 432 | "bars": false, |
| 433 | "dashLength": 10, |
| 434 | "dashes": false, |
| 435 | "datasource": null, |
| 436 | "fill": 1, |
| 437 | "gridPos": { |
| 438 | "h": 10, |
| 439 | "w": 24, |
| 440 | "x": 0, |
| 441 | "y": 21 |
| 442 | }, |
| 443 | "id": 12, |
| 444 | "legend": { |
| 445 | "avg": false, |
| 446 | "current": false, |
| 447 | "hideEmpty": true, |
| 448 | "hideZero": true, |
| 449 | "max": false, |
| 450 | "min": false, |
| 451 | "show": true, |
| 452 | "total": false, |
| 453 | "values": false |
| 454 | }, |
| 455 | "lines": true, |
| 456 | "linewidth": 1, |
| 457 | "links": [], |
| 458 | "nullPointMode": "null", |
| 459 | "percentage": false, |
| 460 | "pointradius": 5, |
| 461 | "points": false, |
| 462 | "renderer": "flot", |
| 463 | "seriesOverrides": [], |
| 464 | "spaceLength": 10, |
| 465 | "stack": false, |
| 466 | "steppedLine": false, |
| 467 | "targets": [ |
| 468 | { |
| 469 | "$$hashKey": "object:362", |
| 470 | "expr": "delta(rx_bytes_total{title=\"Ethernet\"}[30s]) / 1024 / 1024", |
| 471 | "format": "time_series", |
| 472 | "intervalFactor": 1, |
| 473 | "refId": "A" |
| 474 | } |
| 475 | ], |
| 476 | "thresholds": [ |
| 477 | { |
| 478 | "colorMode": "critical", |
| 479 | "fill": true, |
| 480 | "line": true, |
| 481 | "op": "gt", |
| 482 | "value": 5 |
| 483 | } |
| 484 | ], |
| 485 | "timeFrom": null, |
| 486 | "timeShift": null, |
| 487 | "title": "Realtime Incoming MB by NNI port", |
| 488 | "tooltip": { |
| 489 | "shared": true, |
| 490 | "sort": 0, |
| 491 | "value_type": "individual" |
| 492 | }, |
| 493 | "type": "graph", |
| 494 | "xaxis": { |
| 495 | "buckets": null, |
| 496 | "mode": "time", |
| 497 | "name": null, |
| 498 | "show": true, |
| 499 | "values": [] |
| 500 | }, |
| 501 | "yaxes": [ |
| 502 | { |
| 503 | "$$hashKey": "object:421", |
| 504 | "format": "short", |
| 505 | "label": null, |
| 506 | "logBase": 1, |
| 507 | "max": null, |
| 508 | "min": null, |
| 509 | "show": true |
| 510 | }, |
| 511 | { |
| 512 | "$$hashKey": "object:422", |
| 513 | "format": "short", |
| 514 | "label": null, |
| 515 | "logBase": 1, |
| 516 | "max": null, |
| 517 | "min": null, |
| 518 | "show": true |
| 519 | } |
| 520 | ], |
| 521 | "yaxis": { |
| 522 | "align": false, |
| 523 | "alignLevel": null |
| 524 | } |
Matteo Scandolo | d28ec7b | 2018-08-21 12:58:04 -0700 | [diff] [blame] | 525 | } |
| 526 | ], |
| 527 | "refresh": "15s", |
| 528 | "schemaVersion": 16, |
| 529 | "style": "dark", |
| 530 | "tags": [], |
| 531 | "templating": { |
| 532 | "list": [] |
| 533 | }, |
| 534 | "time": { |
| 535 | "from": "now-5m", |
| 536 | "to": "now" |
| 537 | }, |
| 538 | "timepicker": { |
| 539 | "refresh_intervals": [ |
| 540 | "5s", |
| 541 | "10s", |
| 542 | "30s", |
| 543 | "1m", |
| 544 | "5m", |
| 545 | "15m", |
| 546 | "30m", |
| 547 | "1h", |
| 548 | "2h", |
| 549 | "1d" |
| 550 | ], |
| 551 | "time_options": [ |
| 552 | "5m", |
| 553 | "15m", |
| 554 | "1h", |
| 555 | "6h", |
| 556 | "12h", |
| 557 | "24h", |
| 558 | "2d", |
| 559 | "7d", |
| 560 | "30d" |
| 561 | ] |
| 562 | }, |
| 563 | "timezone": "", |
| 564 | "title": "Voltha", |
| 565 | "uid": "i9V9JtOmz", |
| 566 | "version": 1 |
| 567 | } |