blob: 6286e279ad9f06ea9fa05f2db82d860272694705 [file] [log] [blame]
Daniele Morof6dfb902020-01-15 15:00:36 -08001{
2 "annotations": {
3 "list": [
4 {
5 "$$hashKey": "object:467",
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 "id": 4,
20 "iteration": 1570580684209,
21 "links": [],
22 "panels": [
23 {
24 "collapsed": false,
25 "gridPos": {
26 "h": 1,
27 "w": 24,
28 "x": 0,
29 "y": 0
30 },
31 "id": 15,
32 "panels": [],
33 "repeat": "onuSerial",
34 "title": "ONU: $onuSerial",
35 "type": "row"
36 },
37 {
38 "cacheTimeout": null,
39 "colorBackground": false,
40 "colorValue": true,
41 "colors": [
42 "#b7dbab",
43 "#629e51",
44 "#d44a3a"
45 ],
46 "datasource": "Prometheus",
47 "format": "decmbytes",
48 "gauge": {
49 "maxValue": 100,
50 "minValue": 0,
51 "show": false,
52 "thresholdLabels": false,
53 "thresholdMarkers": true
54 },
55 "gridPos": {
56 "h": 5,
57 "w": 4,
58 "x": 0,
59 "y": 1
60 },
61 "id": 33,
62 "interval": null,
63 "links": [],
64 "mappingType": 1,
65 "mappingTypes": [
66 {
67 "name": "value to text",
68 "value": 1
69 },
70 {
71 "name": "range to text",
72 "value": 2
73 }
74 ],
75 "maxDataPoints": 100,
76 "nullPointMode": "connected",
77 "nullText": null,
78 "postfix": "",
79 "postfixFontSize": "50%",
80 "prefix": "",
81 "prefixFontSize": "100%",
82 "rangeMaps": [
83 {
84 "from": "null",
85 "text": "N/A",
86 "to": "null"
87 }
88 ],
89 "sparkline": {
90 "fillColor": "rgba(31, 118, 189, 0.18)",
91 "full": false,
92 "lineColor": "rgb(31, 120, 193)",
93 "show": false
94 },
95 "tableColumn": "",
96 "targets": [
97 {
98 "expr": "sum(delta(onosBngDownTxBytes{onu_serial=\"$onuSerial\"}[24h])) / 1024 / 1024",
99 "format": "time_series",
100 "hide": false,
101 "intervalFactor": 1,
102 "legendFormat": "Downloaded",
103 "refId": "A"
104 },
105 {
106 "expr": "",
107 "format": "time_series",
108 "intervalFactor": 1,
109 "refId": "B"
110 }
111 ],
112 "thresholds": "0",
113 "title": "Total Download (24h)",
114 "type": "singlestat",
115 "valueFontSize": "100%",
116 "valueMaps": [
117 {
118 "op": "=",
119 "text": "N/A",
120 "value": "null"
121 }
122 ],
123 "valueName": "current"
124 },
125 {
126 "aliasColors": {
127 "Download": "#629e51",
128 "Upload": "#bf1b00"
129 },
130 "bars": false,
131 "dashLength": 10,
132 "dashes": false,
133 "datasource": "Prometheus",
134 "fill": 2,
135 "gridPos": {
136 "h": 10,
137 "w": 20,
138 "x": 4,
139 "y": 1
140 },
141 "hideTimeOverride": false,
142 "id": 26,
143 "legend": {
144 "alignAsTable": true,
145 "avg": false,
146 "current": false,
147 "max": false,
148 "min": false,
149 "rightSide": false,
150 "show": true,
151 "total": false,
152 "values": false
153 },
154 "lines": true,
155 "linewidth": 3,
156 "links": [],
157 "nullPointMode": "null",
158 "percentage": false,
159 "pointradius": 5,
160 "points": false,
161 "renderer": "flot",
162 "seriesOverrides": [],
163 "spaceLength": 10,
164 "stack": false,
165 "steppedLine": false,
166 "targets": [
167 {
168 "expr": "sum(delta(onosBngDownTxBytes{onu_serial=\"$onuSerial\"}[$TimeDeltaS])) * 8 / 1024 / 1024 / $TimeDelta",
169 "format": "time_series",
170 "hide": false,
171 "instant": false,
172 "interval": "1s",
173 "intervalFactor": 1,
174 "legendFormat": "Download",
175 "refId": "A"
176 },
177 {
178 "expr": "sum(delta(onosBngUpTxBytes{onu_serial=\"$onuSerial\"}[$TimeDeltaS])) * 8 / 1024 / 1024 / $TimeDelta",
179 "format": "time_series",
180 "instant": false,
181 "interval": "1s",
182 "intervalFactor": 1,
183 "legendFormat": "Upload",
184 "refId": "B"
185 }
186 ],
187 "thresholds": [],
188 "timeFrom": null,
189 "timeShift": null,
190 "title": "User Plane (Mbit/s)",
191 "tooltip": {
192 "shared": true,
193 "sort": 0,
194 "value_type": "individual"
195 },
196 "transparent": false,
197 "type": "graph",
198 "xaxis": {
199 "buckets": null,
200 "mode": "time",
201 "name": null,
202 "show": true,
203 "values": []
204 },
205 "yaxes": [
206 {
207 "format": "Mbits",
208 "label": null,
209 "logBase": 1,
210 "max": null,
211 "min": "0",
212 "show": true
213 },
214 {
215 "format": "short",
216 "label": null,
217 "logBase": 1,
218 "max": null,
219 "min": null,
220 "show": false
221 }
222 ],
223 "yaxis": {
224 "align": false,
225 "alignLevel": null
226 }
227 },
228 {
229 "cacheTimeout": null,
230 "colorBackground": false,
231 "colorValue": true,
232 "colors": [
233 "#299c46",
234 "#bf1b00",
235 "#d44a3a"
236 ],
237 "datasource": null,
238 "format": "decmbytes",
239 "gauge": {
240 "maxValue": 100,
241 "minValue": 0,
242 "show": false,
243 "thresholdLabels": false,
244 "thresholdMarkers": true
245 },
246 "gridPos": {
247 "h": 5,
248 "w": 4,
249 "x": 0,
250 "y": 6
251 },
252 "id": 41,
253 "interval": null,
254 "links": [],
255 "mappingType": 1,
256 "mappingTypes": [
257 {
258 "name": "value to text",
259 "value": 1
260 },
261 {
262 "name": "range to text",
263 "value": 2
264 }
265 ],
266 "maxDataPoints": 100,
267 "nullPointMode": "connected",
268 "nullText": null,
269 "postfix": "",
270 "postfixFontSize": "50%",
271 "prefix": "",
272 "prefixFontSize": "50%",
273 "rangeMaps": [
274 {
275 "from": "null",
276 "text": "N/A",
277 "to": "null"
278 }
279 ],
280 "sparkline": {
281 "fillColor": "rgba(31, 118, 189, 0.18)",
282 "full": false,
283 "lineColor": "rgb(31, 120, 193)",
284 "show": false
285 },
286 "tableColumn": "",
287 "targets": [
288 {
289 "expr": "sum(delta(onosBngUpTxBytes{onu_serial=\"$onuSerial\"}[24h])) / 1024 / 1024",
290 "format": "time_series",
291 "intervalFactor": 1,
292 "refId": "A"
293 }
294 ],
295 "thresholds": "0",
296 "title": "Total Upload (24h)",
297 "type": "singlestat",
298 "valueFontSize": "100%",
299 "valueMaps": [
300 {
301 "op": "=",
302 "text": "N/A",
303 "value": "null"
304 }
305 ],
306 "valueName": "current"
307 },
308 {
309 "cacheTimeout": null,
310 "colorBackground": false,
311 "colorValue": false,
312 "colors": [
313 "#299c46",
314 "rgba(237, 129, 40, 0.89)",
315 "#d44a3a"
316 ],
317 "datasource": null,
318 "format": "none",
319 "gauge": {
320 "maxValue": 100,
321 "minValue": 0,
322 "show": false,
323 "thresholdLabels": false,
324 "thresholdMarkers": true
325 },
326 "gridPos": {
327 "h": 6,
328 "w": 4,
329 "x": 0,
330 "y": 11
331 },
332 "id": 48,
333 "interval": null,
334 "links": [],
335 "mappingType": 1,
336 "mappingTypes": [
337 {
338 "name": "value to text",
339 "value": 1
340 },
341 {
342 "name": "range to text",
343 "value": 2
344 }
345 ],
346 "maxDataPoints": 100,
347 "nullPointMode": "connected",
348 "nullText": null,
349 "postfix": "",
350 "postfixFontSize": "50%",
351 "prefix": "",
352 "prefixFontSize": "50%",
353 "rangeMaps": [
354 {
355 "from": "null",
356 "text": "N/A",
357 "to": "null"
358 }
359 ],
360 "sparkline": {
361 "fillColor": "rgba(31, 118, 189, 0.18)",
362 "full": false,
363 "lineColor": "rgb(31, 120, 193)",
364 "show": false
365 },
366 "tableColumn": "",
367 "targets": [
368 {
369 "expr": "count(delta(onosBngControlPackets{onu_serial=\"$onuSerial\"}[24h]))",
370 "format": "time_series",
371 "instant": true,
372 "intervalFactor": 1,
373 "refId": "A"
374 }
375 ],
376 "thresholds": "",
377 "title": "Connection Count (24h)",
378 "type": "singlestat",
379 "valueFontSize": "100%",
380 "valueMaps": [
381 {
382 "op": "=",
383 "text": "N/A",
384 "value": "null"
385 }
386 ],
387 "valueName": "current"
388 },
389 {
390 "aliasColors": {
391 "Upstream Control Packets": "#65c5db"
392 },
393 "bars": false,
394 "dashLength": 10,
395 "dashes": false,
396 "datasource": null,
397 "fill": 2,
398 "gridPos": {
399 "h": 6,
400 "w": 20,
401 "x": 4,
402 "y": 11
403 },
404 "id": 6,
405 "legend": {
406 "avg": false,
407 "current": false,
408 "max": false,
409 "min": false,
410 "show": false,
411 "total": false,
412 "values": false
413 },
414 "lines": true,
415 "linewidth": 3,
416 "links": [],
417 "minSpan": 4,
418 "nullPointMode": "null",
419 "percentage": true,
420 "pointradius": 5,
421 "points": false,
422 "renderer": "flot",
423 "repeat": null,
424 "repeatDirection": "v",
425 "seriesOverrides": [],
426 "spaceLength": 10,
427 "stack": false,
428 "steppedLine": false,
429 "targets": [
430 {
431 "expr": "sum(delta(onosBngControlPackets{onu_serial=\"$onuSerial\"}[$TimeDeltaS])) / $TimeDelta",
432 "format": "time_series",
433 "interval": "1s",
434 "intervalFactor": 1,
435 "legendFormat": "Upstream Control Packets",
436 "refId": "A"
437 }
438 ],
439 "thresholds": [],
440 "timeFrom": null,
441 "timeShift": null,
442 "title": "Control Plane (PPPoE control pkt/s)",
443 "tooltip": {
444 "shared": true,
445 "sort": 0,
446 "value_type": "individual"
447 },
448 "type": "graph",
449 "xaxis": {
450 "buckets": null,
451 "mode": "time",
452 "name": null,
453 "show": true,
454 "values": []
455 },
456 "yaxes": [
457 {
458 "format": "pps",
459 "label": null,
460 "logBase": 1,
461 "max": "0.5",
462 "min": "0",
463 "show": true
464 },
465 {
466 "format": "short",
467 "label": null,
468 "logBase": 1,
469 "max": null,
470 "min": null,
471 "show": false
472 }
473 ],
474 "yaxis": {
475 "align": false,
476 "alignLevel": null
477 }
478 }
479 ],
480 "refresh": "15s",
481 "schemaVersion": 16,
482 "style": "dark",
Daniele Moro32f19802020-02-05 14:29:28 -0800483 "tags": [
484 "seba"
485 ],
Daniele Morof6dfb902020-01-15 15:00:36 -0800486 "templating": {
487 "list": [
488 {
489 "allValue": null,
490 "current": {
491 "text": "All",
492 "value": "$__all"
493 },
494 "datasource": "Prometheus",
495 "hide": 0,
496 "includeAll": true,
497 "label": "ONU Serial",
498 "multi": true,
499 "name": "onuSerial",
500 "options": [],
501 "query": "label_values(onosBngControlPackets, onu_serial)",
502 "refresh": 2,
503 "regex": "",
504 "sort": 1,
505 "tagValuesQuery": "",
506 "tags": [],
507 "tagsQuery": "",
508 "type": "query",
509 "useTags": false
510 },
511 {
512 "allValue": null,
513 "current": {
514 "selected": true,
515 "text": "30",
516 "value": "30"
517 },
518 "hide": 0,
519 "includeAll": false,
520 "label": null,
521 "multi": true,
522 "name": "TimeDelta",
523 "options": [
524 {
525 "selected": true,
526 "text": "30",
527 "value": "30"
528 },
529 {
530 "selected": false,
531 "text": "20",
532 "value": "20"
533 },
534 {
535 "selected": false,
536 "text": "10",
537 "value": "10"
538 }
539 ],
540 "query": "30, 20, 10",
541 "type": "custom"
542 },
543 {
544 "allValue": null,
545 "current": {
546 "selected": true,
547 "text": "30s",
548 "value": "30s"
549 },
550 "hide": 0,
551 "includeAll": false,
552 "label": null,
553 "multi": true,
554 "name": "TimeDeltaS",
555 "options": [
556 {
557 "selected": true,
558 "text": "30s",
559 "value": "30s"
560 },
561 {
562 "selected": false,
563 "text": "20s",
564 "value": "20s"
565 },
566 {
567 "selected": false,
568 "text": "10s",
569 "value": "10s"
570 }
571 ],
572 "query": "30s, 20s, 10s",
573 "type": "custom"
574 }
575 ]
576 },
577 "time": {
578 "from": "now-15m",
579 "to": "now"
580 },
581 "timepicker": {
582 "refresh_intervals": [
583 "1s",
584 "5s",
585 "15s",
586 "30s",
587 "1m"
588 ],
589 "time_options": [
590 "5m",
591 "15m",
592 "1h",
593 "6h",
594 "12h",
595 "24h",
596 "2d",
597 "7d",
598 "30d"
599 ]
600 },
601 "timezone": "",
602 "title": "BNG Accounting Dashboard",
603 "uid": "i5ZrLw2Wz",
604 "version": 1
605}