Matteo Scandolo | 374d309 | 2018-10-09 19:56:16 -0700 | [diff] [blame] | 1 | { |
| 2 | "annotations": { |
| 3 | "list": [ |
| 4 | { |
| 5 | "$$hashKey": "object:204", |
| 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": true, |
| 17 | "gnetId": null, |
| 18 | "graphTooltip": 0, |
| 19 | "iteration": 1541038643440, |
| 20 | "links": [], |
| 21 | "panels": [ |
| 22 | { |
| 23 | "collapsed": false, |
| 24 | "gridPos": { |
| 25 | "h": 1, |
| 26 | "w": 24, |
| 27 | "x": 0, |
| 28 | "y": 0 |
| 29 | }, |
| 30 | "id": 5, |
| 31 | "panels": [], |
| 32 | "repeat": "device", |
| 33 | "scopedVars": { |
| 34 | "device": { |
| 35 | "$$hashKey": "object:861", |
| 36 | "selected": false, |
| 37 | "text": "of:0000000000000001", |
| 38 | "value": "of:0000000000000001" |
| 39 | } |
| 40 | }, |
| 41 | "title": "Device $device", |
| 42 | "type": "row" |
| 43 | }, |
| 44 | { |
| 45 | "aliasColors": {}, |
| 46 | "bars": false, |
| 47 | "dashLength": 10, |
| 48 | "dashes": false, |
| 49 | "datasource": "Prometheus", |
| 50 | "fill": 1, |
| 51 | "gridPos": { |
| 52 | "h": 8, |
| 53 | "w": 12, |
| 54 | "x": 0, |
| 55 | "y": 1 |
| 56 | }, |
| 57 | "id": 6, |
| 58 | "legend": { |
| 59 | "avg": false, |
| 60 | "current": false, |
| 61 | "max": false, |
| 62 | "min": false, |
| 63 | "show": true, |
| 64 | "total": false, |
| 65 | "values": false |
| 66 | }, |
| 67 | "lines": true, |
| 68 | "linewidth": 1, |
| 69 | "links": [], |
| 70 | "minSpan": 6, |
| 71 | "nullPointMode": "null", |
| 72 | "percentage": false, |
| 73 | "pointradius": 5, |
| 74 | "points": false, |
| 75 | "renderer": "flot", |
| 76 | "repeatDirection": "h", |
| 77 | "seriesOverrides": [], |
| 78 | "spaceLength": 10, |
| 79 | "stack": false, |
| 80 | "steppedLine": false, |
| 81 | "targets": [ |
| 82 | { |
| 83 | "$$hashKey": "object:335", |
| 84 | "expr": "onos_rx_bytes_total{device_id=\"$device\"} / 1024 / 1024", |
| 85 | "format": "time_series", |
| 86 | "intervalFactor": 1, |
| 87 | "legendFormat": "{{ device_id }}:{{ port_id }}", |
| 88 | "refId": "A" |
| 89 | } |
| 90 | ], |
| 91 | "thresholds": [], |
| 92 | "timeFrom": null, |
| 93 | "timeShift": null, |
| 94 | "title": "Received MB", |
| 95 | "tooltip": { |
| 96 | "shared": true, |
| 97 | "sort": 0, |
| 98 | "value_type": "individual" |
| 99 | }, |
| 100 | "type": "graph", |
| 101 | "xaxis": { |
| 102 | "buckets": null, |
| 103 | "mode": "time", |
| 104 | "name": null, |
| 105 | "show": true, |
| 106 | "values": [] |
| 107 | }, |
| 108 | "yaxes": [ |
| 109 | { |
| 110 | "format": "short", |
| 111 | "label": null, |
| 112 | "logBase": 1, |
| 113 | "max": null, |
| 114 | "min": null, |
| 115 | "show": true |
| 116 | }, |
| 117 | { |
| 118 | "format": "short", |
| 119 | "label": null, |
| 120 | "logBase": 1, |
| 121 | "max": null, |
| 122 | "min": null, |
| 123 | "show": true |
| 124 | } |
| 125 | ], |
| 126 | "yaxis": { |
| 127 | "align": false, |
| 128 | "alignLevel": null |
| 129 | } |
| 130 | }, |
| 131 | { |
| 132 | "aliasColors": {}, |
| 133 | "bars": false, |
| 134 | "dashLength": 10, |
| 135 | "dashes": false, |
| 136 | "datasource": "Prometheus", |
| 137 | "fill": 1, |
| 138 | "gridPos": { |
| 139 | "h": 8, |
| 140 | "w": 12, |
| 141 | "x": 12, |
| 142 | "y": 1 |
| 143 | }, |
| 144 | "id": 7, |
| 145 | "legend": { |
| 146 | "avg": false, |
| 147 | "current": false, |
| 148 | "max": false, |
| 149 | "min": false, |
| 150 | "show": true, |
| 151 | "total": false, |
| 152 | "values": false |
| 153 | }, |
| 154 | "lines": true, |
| 155 | "linewidth": 1, |
| 156 | "links": [], |
| 157 | "minSpan": 6, |
| 158 | "nullPointMode": "null", |
| 159 | "percentage": false, |
| 160 | "pointradius": 5, |
| 161 | "points": false, |
| 162 | "renderer": "flot", |
| 163 | "repeatDirection": "h", |
| 164 | "seriesOverrides": [], |
| 165 | "spaceLength": 10, |
| 166 | "stack": false, |
| 167 | "steppedLine": false, |
| 168 | "targets": [ |
| 169 | { |
| 170 | "$$hashKey": "object:335", |
| 171 | "expr": "onos_tx_bytes_total{device_id=\"$device\"} / 1024 / 1024", |
| 172 | "format": "time_series", |
| 173 | "intervalFactor": 1, |
| 174 | "legendFormat": "{{ device_id }}:{{ port_id }}", |
| 175 | "refId": "A" |
| 176 | } |
| 177 | ], |
| 178 | "thresholds": [], |
| 179 | "timeFrom": null, |
| 180 | "timeShift": null, |
| 181 | "title": "Transmitted MB", |
| 182 | "tooltip": { |
| 183 | "shared": true, |
| 184 | "sort": 0, |
| 185 | "value_type": "individual" |
| 186 | }, |
| 187 | "type": "graph", |
| 188 | "xaxis": { |
| 189 | "buckets": null, |
| 190 | "mode": "time", |
| 191 | "name": null, |
| 192 | "show": true, |
| 193 | "values": [] |
| 194 | }, |
| 195 | "yaxes": [ |
| 196 | { |
| 197 | "format": "short", |
| 198 | "label": null, |
| 199 | "logBase": 1, |
| 200 | "max": null, |
| 201 | "min": null, |
| 202 | "show": true |
| 203 | }, |
| 204 | { |
| 205 | "format": "short", |
| 206 | "label": null, |
| 207 | "logBase": 1, |
| 208 | "max": null, |
| 209 | "min": null, |
| 210 | "show": true |
| 211 | } |
| 212 | ], |
| 213 | "yaxis": { |
| 214 | "align": false, |
| 215 | "alignLevel": null |
| 216 | } |
| 217 | }, |
| 218 | { |
| 219 | "aliasColors": {}, |
| 220 | "bars": false, |
| 221 | "dashLength": 10, |
| 222 | "dashes": false, |
| 223 | "datasource": "Prometheus", |
| 224 | "fill": 1, |
| 225 | "gridPos": { |
| 226 | "h": 8, |
| 227 | "w": 12, |
| 228 | "x": 0, |
| 229 | "y": 9 |
| 230 | }, |
| 231 | "id": 2, |
| 232 | "legend": { |
| 233 | "avg": false, |
| 234 | "current": false, |
| 235 | "max": false, |
| 236 | "min": false, |
| 237 | "show": true, |
| 238 | "total": false, |
| 239 | "values": false |
| 240 | }, |
| 241 | "lines": true, |
| 242 | "linewidth": 1, |
| 243 | "links": [], |
| 244 | "minSpan": 6, |
| 245 | "nullPointMode": "null", |
| 246 | "percentage": false, |
| 247 | "pointradius": 5, |
| 248 | "points": false, |
| 249 | "renderer": "flot", |
| 250 | "repeat": null, |
| 251 | "repeatDirection": "h", |
| 252 | "scopedVars": { |
| 253 | "device": { |
| 254 | "$$hashKey": "object:861", |
| 255 | "selected": false, |
| 256 | "text": "of:0000000000000001", |
| 257 | "value": "of:0000000000000001" |
| 258 | } |
| 259 | }, |
| 260 | "seriesOverrides": [], |
| 261 | "spaceLength": 10, |
| 262 | "stack": false, |
| 263 | "steppedLine": false, |
| 264 | "targets": [ |
| 265 | { |
| 266 | "$$hashKey": "object:335", |
| 267 | "expr": "onos_rx_packets_total{device_id=\"$device\"}", |
| 268 | "format": "time_series", |
| 269 | "intervalFactor": 1, |
| 270 | "legendFormat": "{{ device_id }}:{{ port_id }}", |
| 271 | "refId": "A" |
| 272 | } |
| 273 | ], |
| 274 | "thresholds": [], |
| 275 | "timeFrom": null, |
| 276 | "timeShift": null, |
| 277 | "title": "Received Packets", |
| 278 | "tooltip": { |
| 279 | "shared": true, |
| 280 | "sort": 0, |
| 281 | "value_type": "individual" |
| 282 | }, |
| 283 | "type": "graph", |
| 284 | "xaxis": { |
| 285 | "buckets": null, |
| 286 | "mode": "time", |
| 287 | "name": null, |
| 288 | "show": true, |
| 289 | "values": [] |
| 290 | }, |
| 291 | "yaxes": [ |
| 292 | { |
| 293 | "format": "short", |
| 294 | "label": null, |
| 295 | "logBase": 1, |
| 296 | "max": null, |
| 297 | "min": null, |
| 298 | "show": true |
| 299 | }, |
| 300 | { |
| 301 | "format": "short", |
| 302 | "label": null, |
| 303 | "logBase": 1, |
| 304 | "max": null, |
| 305 | "min": null, |
| 306 | "show": true |
| 307 | } |
| 308 | ], |
| 309 | "yaxis": { |
| 310 | "align": false, |
| 311 | "alignLevel": null |
| 312 | } |
| 313 | }, |
| 314 | { |
| 315 | "aliasColors": {}, |
| 316 | "bars": false, |
| 317 | "dashLength": 10, |
| 318 | "dashes": false, |
| 319 | "datasource": "Prometheus", |
| 320 | "fill": 1, |
| 321 | "gridPos": { |
| 322 | "h": 8, |
| 323 | "w": 12, |
| 324 | "x": 12, |
| 325 | "y": 9 |
| 326 | }, |
| 327 | "id": 3, |
| 328 | "legend": { |
| 329 | "avg": false, |
| 330 | "current": false, |
| 331 | "max": false, |
| 332 | "min": false, |
| 333 | "show": true, |
| 334 | "total": false, |
| 335 | "values": false |
| 336 | }, |
| 337 | "lines": true, |
| 338 | "linewidth": 1, |
| 339 | "links": [], |
| 340 | "minSpan": 6, |
| 341 | "nullPointMode": "null", |
| 342 | "percentage": false, |
| 343 | "pointradius": 5, |
| 344 | "points": false, |
| 345 | "renderer": "flot", |
| 346 | "repeat": null, |
| 347 | "repeatDirection": "h", |
| 348 | "scopedVars": { |
| 349 | "device": { |
| 350 | "$$hashKey": "object:861", |
| 351 | "selected": false, |
| 352 | "text": "of:0000000000000001", |
| 353 | "value": "of:0000000000000001" |
| 354 | } |
| 355 | }, |
| 356 | "seriesOverrides": [], |
| 357 | "spaceLength": 10, |
| 358 | "stack": false, |
| 359 | "steppedLine": false, |
| 360 | "targets": [ |
| 361 | { |
| 362 | "$$hashKey": "object:335", |
| 363 | "expr": "onos_tx_packets_total{device_id=\"$device\"}", |
| 364 | "format": "time_series", |
| 365 | "intervalFactor": 1, |
| 366 | "legendFormat": "{{ device_id }}:{{ port_id }}", |
| 367 | "refId": "A" |
| 368 | } |
| 369 | ], |
| 370 | "thresholds": [], |
| 371 | "timeFrom": null, |
| 372 | "timeShift": null, |
| 373 | "title": "Transmitted Packets", |
| 374 | "tooltip": { |
| 375 | "shared": true, |
| 376 | "sort": 0, |
| 377 | "value_type": "individual" |
| 378 | }, |
| 379 | "type": "graph", |
| 380 | "xaxis": { |
| 381 | "buckets": null, |
| 382 | "mode": "time", |
| 383 | "name": null, |
| 384 | "show": true, |
| 385 | "values": [] |
| 386 | }, |
| 387 | "yaxes": [ |
| 388 | { |
| 389 | "format": "short", |
| 390 | "label": null, |
| 391 | "logBase": 1, |
| 392 | "max": null, |
| 393 | "min": null, |
| 394 | "show": true |
| 395 | }, |
| 396 | { |
| 397 | "format": "short", |
| 398 | "label": null, |
| 399 | "logBase": 1, |
| 400 | "max": null, |
| 401 | "min": null, |
| 402 | "show": true |
| 403 | } |
| 404 | ], |
| 405 | "yaxis": { |
| 406 | "align": false, |
| 407 | "alignLevel": null |
| 408 | } |
| 409 | }, |
| 410 | { |
| 411 | "aliasColors": {}, |
| 412 | "bars": false, |
| 413 | "dashLength": 10, |
| 414 | "dashes": false, |
| 415 | "datasource": "Prometheus", |
| 416 | "fill": 1, |
| 417 | "gridPos": { |
| 418 | "h": 8, |
| 419 | "w": 12, |
| 420 | "x": 0, |
| 421 | "y": 17 |
| 422 | }, |
| 423 | "id": 8, |
| 424 | "legend": { |
| 425 | "avg": false, |
| 426 | "current": false, |
| 427 | "max": false, |
| 428 | "min": false, |
| 429 | "show": true, |
| 430 | "total": false, |
| 431 | "values": false |
| 432 | }, |
| 433 | "lines": true, |
| 434 | "linewidth": 1, |
| 435 | "links": [], |
| 436 | "minSpan": 6, |
| 437 | "nullPointMode": "null", |
| 438 | "percentage": false, |
| 439 | "pointradius": 5, |
| 440 | "points": false, |
| 441 | "renderer": "flot", |
| 442 | "repeatDirection": "h", |
| 443 | "seriesOverrides": [], |
| 444 | "spaceLength": 10, |
| 445 | "stack": false, |
| 446 | "steppedLine": false, |
| 447 | "targets": [ |
| 448 | { |
| 449 | "$$hashKey": "object:335", |
| 450 | "expr": "onos_rx_drop_packets_total{device_id=\"$device\"}", |
| 451 | "format": "time_series", |
| 452 | "intervalFactor": 1, |
| 453 | "legendFormat": "{{ device_id }}:{{ port_id }}", |
| 454 | "refId": "A" |
| 455 | } |
| 456 | ], |
| 457 | "thresholds": [], |
| 458 | "timeFrom": null, |
| 459 | "timeShift": null, |
| 460 | "title": "Received Packets Dropped", |
| 461 | "tooltip": { |
| 462 | "shared": true, |
| 463 | "sort": 0, |
| 464 | "value_type": "individual" |
| 465 | }, |
| 466 | "type": "graph", |
| 467 | "xaxis": { |
| 468 | "buckets": null, |
| 469 | "mode": "time", |
| 470 | "name": null, |
| 471 | "show": true, |
| 472 | "values": [] |
| 473 | }, |
| 474 | "yaxes": [ |
| 475 | { |
| 476 | "format": "short", |
| 477 | "label": null, |
| 478 | "logBase": 1, |
| 479 | "max": null, |
| 480 | "min": null, |
| 481 | "show": true |
| 482 | }, |
| 483 | { |
| 484 | "format": "short", |
| 485 | "label": null, |
| 486 | "logBase": 1, |
| 487 | "max": null, |
| 488 | "min": null, |
| 489 | "show": true |
| 490 | } |
| 491 | ], |
| 492 | "yaxis": { |
| 493 | "align": false, |
| 494 | "alignLevel": null |
| 495 | } |
| 496 | }, |
| 497 | { |
| 498 | "aliasColors": {}, |
| 499 | "bars": false, |
| 500 | "dashLength": 10, |
| 501 | "dashes": false, |
| 502 | "datasource": "Prometheus", |
| 503 | "fill": 1, |
| 504 | "gridPos": { |
| 505 | "h": 8, |
| 506 | "w": 12, |
| 507 | "x": 12, |
| 508 | "y": 17 |
| 509 | }, |
| 510 | "id": 9, |
| 511 | "legend": { |
| 512 | "avg": false, |
| 513 | "current": false, |
| 514 | "max": false, |
| 515 | "min": false, |
| 516 | "show": true, |
| 517 | "total": false, |
| 518 | "values": false |
| 519 | }, |
| 520 | "lines": true, |
| 521 | "linewidth": 1, |
| 522 | "links": [], |
| 523 | "minSpan": 6, |
| 524 | "nullPointMode": "null", |
| 525 | "percentage": false, |
| 526 | "pointradius": 5, |
| 527 | "points": false, |
| 528 | "renderer": "flot", |
| 529 | "repeatDirection": "h", |
| 530 | "seriesOverrides": [], |
| 531 | "spaceLength": 10, |
| 532 | "stack": false, |
| 533 | "steppedLine": false, |
| 534 | "targets": [ |
| 535 | { |
| 536 | "$$hashKey": "object:335", |
| 537 | "expr": "onos_tx_drop_packets_total{device_id=\"$device\"}", |
| 538 | "format": "time_series", |
| 539 | "intervalFactor": 1, |
| 540 | "legendFormat": "{{ device_id }}:{{ port_id }}", |
| 541 | "refId": "A" |
| 542 | } |
| 543 | ], |
| 544 | "thresholds": [], |
| 545 | "timeFrom": null, |
| 546 | "timeShift": null, |
| 547 | "title": "Transmitted Packets Dropped", |
| 548 | "tooltip": { |
| 549 | "shared": true, |
| 550 | "sort": 0, |
| 551 | "value_type": "individual" |
| 552 | }, |
| 553 | "type": "graph", |
| 554 | "xaxis": { |
| 555 | "buckets": null, |
| 556 | "mode": "time", |
| 557 | "name": null, |
| 558 | "show": true, |
| 559 | "values": [] |
| 560 | }, |
| 561 | "yaxes": [ |
| 562 | { |
| 563 | "format": "short", |
| 564 | "label": null, |
| 565 | "logBase": 1, |
| 566 | "max": null, |
| 567 | "min": null, |
| 568 | "show": true |
| 569 | }, |
| 570 | { |
| 571 | "format": "short", |
| 572 | "label": null, |
| 573 | "logBase": 1, |
| 574 | "max": null, |
| 575 | "min": null, |
| 576 | "show": true |
| 577 | } |
| 578 | ], |
| 579 | "yaxis": { |
| 580 | "align": false, |
| 581 | "alignLevel": null |
| 582 | } |
| 583 | } |
| 584 | ], |
| 585 | "refresh": "10s", |
| 586 | "schemaVersion": 16, |
| 587 | "style": "dark", |
| 588 | "tags": [], |
| 589 | "templating": { |
| 590 | "list": [ |
| 591 | { |
| 592 | "allValue": null, |
| 593 | "current": { |
| 594 | "tags": [], |
| 595 | "text": "All", |
| 596 | "value": [ |
| 597 | "$__all" |
| 598 | ] |
| 599 | }, |
| 600 | "datasource": "Prometheus", |
| 601 | "hide": 0, |
| 602 | "includeAll": true, |
| 603 | "label": null, |
| 604 | "multi": true, |
| 605 | "name": "device", |
| 606 | "options": [], |
| 607 | "query": "label_values(onos_rx_packets_total, device_id)", |
| 608 | "refresh": 1, |
| 609 | "regex": "", |
| 610 | "sort": 0, |
| 611 | "tagValuesQuery": "", |
| 612 | "tags": [], |
| 613 | "tagsQuery": "", |
| 614 | "type": "query", |
| 615 | "useTags": false |
| 616 | } |
| 617 | ] |
| 618 | }, |
| 619 | "time": { |
| 620 | "from": "now-5m", |
| 621 | "to": "now" |
| 622 | }, |
| 623 | "timepicker": { |
| 624 | "refresh_intervals": [ |
| 625 | "5s", |
| 626 | "10s", |
| 627 | "30s", |
| 628 | "1m", |
| 629 | "5m", |
| 630 | "15m", |
| 631 | "30m", |
| 632 | "1h", |
| 633 | "2h", |
| 634 | "1d" |
| 635 | ], |
| 636 | "time_options": [ |
| 637 | "5m", |
| 638 | "15m", |
| 639 | "1h", |
| 640 | "6h", |
| 641 | "12h", |
| 642 | "24h", |
| 643 | "2d", |
| 644 | "7d", |
| 645 | "30d" |
| 646 | ] |
| 647 | }, |
| 648 | "timezone": "", |
| 649 | "title": "ONOS KPIs", |
| 650 | "uid": "kqqYHvaiz", |
| 651 | "version": 1 |
| 652 | } |