blob: 2f8823c396464b8a30a453005e710b61b04db5a6 [file] [log] [blame]
Matteo Scandolod28ec7b2018-08-21 12:58:04 -07001{
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 Scandolo29acf192018-09-13 13:35:46 -070069 "$$hashKey": "object:187",
Matteo Scandolobe2f8ce2018-09-26 13:20:51 +020070 "expr": "sum(tx_bytes_total{title=\"Ethernet\"})by(logical_device_id) / 1024 / 1024",
Matteo Scandolod28ec7b2018-08-21 12:58:04 -070071 "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 Scandolo29acf192018-09-13 13:35:46 -0700154 "$$hashKey": "object:241",
Matteo Scandolobe2f8ce2018-09-26 13:20:51 +0200155 "expr": "sum(rx_bytes_total{title=\"Ethernet\"})by(logical_device_id) / 1024 / 1024",
Matteo Scandolod28ec7b2018-08-21 12:58:04 -0700156 "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 Scandolo29acf192018-09-13 13:35:46 -0700252 "$$hashKey": "object:295",
Matteo Scandolobe2f8ce2018-09-26 13:20:51 +0200253 "expr": "sum(tx_packets_total{title=\"Ethernet\"})by(logical_device_id)",
Matteo Scandolod28ec7b2018-08-21 12:58:04 -0700254 "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 Scandolo29acf192018-09-13 13:35:46 -0700337 "$$hashKey": "object:349",
Matteo Scandolobe2f8ce2018-09-26 13:20:51 +0200338 "expr": "sum(rx_packets_total{title=\"Ethernet\"})by(logical_device_id)",
Matteo Scandolod28ec7b2018-08-21 12:58:04 -0700339 "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 Scandolo29acf192018-09-13 13:35:46 -0700385 "collapsed": false,
Matteo Scandolod28ec7b2018-08-21 12:58:04 -0700386 "gridPos": {
387 "h": 1,
388 "w": 24,
389 "x": 0,
390 "y": 20
391 },
392 "id": 14,
Matteo Scandolo29acf192018-09-13 13:35:46 -0700393 "panels": [],
Matteo Scandolod28ec7b2018-08-21 12:58:04 -0700394 "title": "Realtime Traffic Data",
395 "type": "row"
Matteo Scandolo29acf192018-09-13 13:35:46 -0700396 },
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 Scandolobe2f8ce2018-09-26 13:20:51 +0200525 },
526 {
527 "aliasColors": {},
528 "bars": false,
529 "dashLength": 10,
530 "dashes": false,
531 "datasource": null,
532 "fill": 1,
533 "gridPos": {
534 "h": 10,
535 "w": 12,
536 "x": 0,
537 "y": 31
538 },
539 "id": 16,
540 "legend": {
541 "avg": false,
542 "current": false,
543 "max": false,
544 "min": false,
545 "show": true,
546 "total": false,
547 "values": false
548 },
549 "lines": true,
550 "linewidth": 1,
551 "links": [],
552 "nullPointMode": "null",
553 "percentage": false,
554 "pointradius": 5,
555 "points": false,
556 "renderer": "flot",
557 "seriesOverrides": [],
558 "spaceLength": 10,
559 "stack": false,
560 "steppedLine": false,
561 "targets": [
562 {
563 "$$hashKey": "object:162",
564 "expr": "sum(rx_bytes_total{}) by (title, pon_id) / 1024 / 1024",
565 "format": "time_series",
566 "intervalFactor": 1,
567 "refId": "A"
568 }
569 ],
570 "thresholds": [],
571 "timeFrom": null,
572 "timeShift": null,
573 "title": "Rx bytes total by PON ID",
574 "tooltip": {
575 "shared": true,
576 "sort": 0,
577 "value_type": "individual"
578 },
579 "type": "graph",
580 "xaxis": {
581 "buckets": null,
582 "mode": "time",
583 "name": null,
584 "show": true,
585 "values": []
586 },
587 "yaxes": [
588 {
589 "format": "short",
590 "label": null,
591 "logBase": 1,
592 "max": null,
593 "min": null,
594 "show": true
595 },
596 {
597 "format": "short",
598 "label": null,
599 "logBase": 1,
600 "max": null,
601 "min": null,
602 "show": true
603 }
604 ],
605 "yaxis": {
606 "align": false,
607 "alignLevel": null
608 }
609 },
610 {
611 "aliasColors": {},
612 "bars": false,
613 "dashLength": 10,
614 "dashes": false,
615 "datasource": null,
616 "fill": 1,
617 "gridPos": {
618 "h": 10,
619 "w": 12,
620 "x": 12,
621 "y": 31
622 },
623 "id": 17,
624 "legend": {
625 "avg": false,
626 "current": false,
627 "max": false,
628 "min": false,
629 "show": true,
630 "total": false,
631 "values": false
632 },
633 "lines": true,
634 "linewidth": 1,
635 "links": [],
636 "nullPointMode": "null",
637 "percentage": false,
638 "pointradius": 5,
639 "points": false,
640 "renderer": "flot",
641 "seriesOverrides": [],
642 "spaceLength": 10,
643 "stack": false,
644 "steppedLine": false,
645 "targets": [
646 {
647 "$$hashKey": "object:162",
648 "expr": "sum(tx_bytes_total{}) by (title, pon_id) / 1024 / 1024",
649 "format": "time_series",
650 "intervalFactor": 1,
651 "refId": "A"
652 }
653 ],
654 "thresholds": [],
655 "timeFrom": null,
656 "timeShift": null,
657 "title": "Tx bytes total by PON ID",
658 "tooltip": {
659 "shared": true,
660 "sort": 0,
661 "value_type": "individual"
662 },
663 "type": "graph",
664 "xaxis": {
665 "buckets": null,
666 "mode": "time",
667 "name": null,
668 "show": true,
669 "values": []
670 },
671 "yaxes": [
672 {
673 "format": "short",
674 "label": null,
675 "logBase": 1,
676 "max": null,
677 "min": null,
678 "show": true
679 },
680 {
681 "format": "short",
682 "label": null,
683 "logBase": 1,
684 "max": null,
685 "min": null,
686 "show": true
687 }
688 ],
689 "yaxis": {
690 "align": false,
691 "alignLevel": null
692 }
Matteo Scandolod28ec7b2018-08-21 12:58:04 -0700693 }
694 ],
695 "refresh": "15s",
696 "schemaVersion": 16,
697 "style": "dark",
698 "tags": [],
699 "templating": {
700 "list": []
701 },
702 "time": {
703 "from": "now-5m",
704 "to": "now"
705 },
706 "timepicker": {
707 "refresh_intervals": [
708 "5s",
709 "10s",
710 "30s",
711 "1m",
712 "5m",
713 "15m",
714 "30m",
715 "1h",
716 "2h",
717 "1d"
718 ],
719 "time_options": [
720 "5m",
721 "15m",
722 "1h",
723 "6h",
724 "12h",
725 "24h",
726 "2d",
727 "7d",
728 "30d"
729 ]
730 },
731 "timezone": "",
732 "title": "Voltha",
733 "uid": "i9V9JtOmz",
734 "version": 1
735}