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