blob: b57b6f1a2c6568afd300d6e798ee125fa7e7865e [file] [log] [blame]
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001{
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,
Hung-Wei Chiubbc1bfd2021-04-15 10:08:02 -070018 "id": 17,
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -070019 "iteration": 1618505885629,
Hung-Wei Chiu04446442021-03-04 14:50:46 -080020 "links": [],
21 "panels": [
22 {
23 "aliasColors": {},
24 "bars": false,
25 "dashLength": 10,
26 "dashes": false,
27 "datasource": "ace-menlo",
28 "fieldConfig": {
29 "defaults": {
30 "custom": {}
31 },
32 "overrides": []
33 },
34 "fill": 1,
35 "fillGradient": 0,
36 "gridPos": {
37 "h": 6,
38 "w": 12,
39 "x": 0,
40 "y": 0
41 },
42 "hiddenSeries": false,
43 "id": 4,
44 "legend": {
45 "avg": false,
46 "current": false,
47 "max": false,
48 "min": false,
49 "show": true,
50 "total": false,
51 "values": false
52 },
53 "lines": true,
54 "linewidth": 1,
55 "nullPointMode": "null",
56 "percentage": false,
57 "pluginVersion": "7.1.5",
58 "pointradius": 2,
59 "points": false,
60 "renderer": "flot",
61 "seriesOverrides": [],
62 "spaceLength": 10,
63 "stack": false,
64 "steppedLine": false,
65 "targets": [
66 {
67 "expr": "sum(ping_average_response_ms{namespace=\"tost\"}) by (url)",
68 "interval": "",
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -070069 "legendFormat": "average_{{ url }} ",
Hung-Wei Chiu04446442021-03-04 14:50:46 -080070 "refId": "A"
71 },
72 {
73 "expr": "sum(ping_maximum_response_ms{namespace=\"tost\"}) by (url)",
74 "interval": "",
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -070075 "legendFormat": "max_{{ url }} ",
Hung-Wei Chiu04446442021-03-04 14:50:46 -080076 "refId": "B"
77 },
78 {
79 "expr": "sum(ping_minimum_response_ms{namespace=\"tost\"}) by (url)",
80 "interval": "",
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -070081 "legendFormat": "min_{{ url }} ",
Hung-Wei Chiu04446442021-03-04 14:50:46 -080082 "refId": "C"
83 }
84 ],
85 "thresholds": [],
86 "timeFrom": null,
87 "timeRegions": [],
88 "timeShift": null,
89 "title": "Ping Response Time (MS)",
90 "tooltip": {
91 "shared": true,
92 "sort": 0,
93 "value_type": "individual"
94 },
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -070095 "transformations": [
96 {
97 "id": "seriesToColumns",
98 "options": {}
99 },
100 {
101 "id": "organize",
102 "options": {
103 "excludeByName": {},
104 "indexByName": {},
105 "renameByName": {
106 "average_10.32.5.129 ": "average_mgmt",
107 "average_10.32.5.5 ": "average_eNB",
108 "max_10.32.5.129 ": "max_mgmt",
109 "max_10.32.5.5 ": "max_eNB",
110 "min_10.32.5.129 ": "min_mgmt",
111 "min_10.32.5.5 ": "min_eNB"
112 }
113 }
114 }
115 ],
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800116 "type": "graph",
117 "xaxis": {
118 "buckets": null,
119 "mode": "time",
120 "name": null,
121 "show": true,
122 "values": []
123 },
124 "yaxes": [
125 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800126 "format": "short",
127 "label": null,
128 "logBase": 1,
129 "max": null,
130 "min": null,
131 "show": true
132 },
133 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800134 "format": "short",
135 "label": null,
136 "logBase": 1,
137 "max": null,
138 "min": null,
139 "show": true
140 }
141 ],
142 "yaxis": {
143 "align": false,
144 "alignLevel": null
145 }
146 },
147 {
148 "aliasColors": {},
149 "bars": false,
150 "dashLength": 10,
151 "dashes": false,
152 "datasource": "ace-menlo",
153 "fieldConfig": {
154 "defaults": {
155 "custom": {}
156 },
157 "overrides": []
158 },
159 "fill": 1,
160 "fillGradient": 0,
161 "gridPos": {
162 "h": 6,
163 "w": 12,
164 "x": 12,
165 "y": 0
166 },
167 "hiddenSeries": false,
168 "id": 2,
169 "legend": {
170 "avg": false,
171 "current": false,
172 "max": false,
173 "min": false,
174 "show": true,
175 "total": false,
176 "values": false
177 },
178 "lines": true,
179 "linewidth": 1,
180 "nullPointMode": "null",
181 "percentage": false,
182 "pluginVersion": "7.1.5",
183 "pointradius": 2,
184 "points": false,
185 "renderer": "flot",
186 "seriesOverrides": [],
187 "spaceLength": 10,
188 "stack": false,
189 "steppedLine": false,
190 "targets": [
191 {
192 "expr": "sum(ping_percent_packet_loss{namespace=\"tost\"}) by (url)",
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700193 "instant": false,
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800194 "interval": "",
Hung-Wei Chiubccf71d2021-03-08 14:31:33 -0800195 "legendFormat": "{{ url }} ",
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800196 "refId": "A"
197 }
198 ],
199 "thresholds": [],
200 "timeFrom": null,
201 "timeRegions": [],
202 "timeShift": null,
203 "title": "Ping packet loss (%)",
204 "tooltip": {
205 "shared": true,
206 "sort": 0,
207 "value_type": "individual"
208 },
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700209 "transformations": [
210 {
211 "id": "seriesToColumns",
212 "options": {
213 "byField": "Time"
214 }
215 },
216 {
217 "id": "organize",
218 "options": {
219 "excludeByName": {},
220 "indexByName": {},
221 "renameByName": {
222 "10.32.5.129 ": "mgmt",
223 "10.32.5.5 ": "eNB",
224 "Time": ""
225 }
226 }
227 }
228 ],
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800229 "type": "graph",
230 "xaxis": {
231 "buckets": null,
232 "mode": "time",
233 "name": null,
234 "show": true,
235 "values": []
236 },
237 "yaxes": [
238 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800239 "format": "percent",
240 "label": null,
241 "logBase": 1,
242 "max": "100",
243 "min": "0",
244 "show": true
245 },
246 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800247 "format": "short",
248 "label": null,
249 "logBase": 1,
250 "max": null,
251 "min": null,
252 "show": true
253 }
254 ],
255 "yaxis": {
256 "align": false,
257 "alignLevel": null
258 }
259 },
260 {
261 "aliasColors": {},
262 "bars": false,
263 "dashLength": 10,
264 "dashes": false,
265 "datasource": "$es_datasource",
266 "description": "",
267 "fieldConfig": {
268 "defaults": {
269 "custom": {
270 "align": null
271 },
272 "mappings": [],
273 "thresholds": {
274 "mode": "absolute",
275 "steps": [
276 {
277 "color": "green",
278 "value": null
279 },
280 {
281 "color": "red",
282 "value": 80
283 }
284 ]
285 }
286 },
287 "overrides": []
288 },
289 "fill": 10,
290 "fillGradient": 0,
291 "gridPos": {
292 "h": 5,
293 "w": 12,
294 "x": 0,
295 "y": 6
296 },
297 "hiddenSeries": false,
298 "id": 6,
299 "legend": {
300 "avg": false,
301 "current": false,
302 "hideEmpty": false,
303 "hideZero": false,
304 "max": false,
305 "min": false,
306 "show": false,
307 "total": false,
308 "values": false
309 },
310 "lines": true,
311 "linewidth": 1,
312 "nullPointMode": "null",
313 "percentage": false,
314 "pluginVersion": "7.1.5",
315 "pointradius": 2,
316 "points": false,
317 "renderer": "flot",
318 "repeat": "pod",
319 "repeatDirection": "v",
320 "seriesOverrides": [],
321 "spaceLength": 10,
322 "stack": true,
323 "steppedLine": false,
324 "targets": [
325 {
326 "bucketAggs": [
327 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800328 "fake": true,
329 "field": "kubernetes.pod_name.keyword",
330 "id": "3",
331 "settings": {
332 "min_doc_count": "1",
333 "order": "desc",
334 "orderBy": "_term",
335 "size": "0"
336 },
337 "type": "terms"
338 },
339 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800340 "field": "@timestamp",
341 "id": "2",
342 "settings": {
343 "interval": "1m",
344 "min_doc_count": "0",
345 "trimEdges": 0
346 },
347 "type": "date_histogram"
348 }
349 ],
350 "metrics": [
351 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800352 "field": "select field",
353 "id": "1",
354 "meta": {},
355 "settings": {},
356 "type": "count"
357 }
358 ],
359 "query": "kubernetes.namespace_name.keyword:$es_namespace",
360 "refId": "A",
361 "timeField": "@timestamp"
362 }
363 ],
364 "thresholds": [],
365 "timeFrom": null,
366 "timeRegions": [],
367 "timeShift": null,
368 "title": "Namespace $es_namespace: Log Messages Per Minute",
369 "tooltip": {
370 "shared": true,
371 "sort": 0,
372 "value_type": "individual"
373 },
374 "transformations": [],
375 "type": "graph",
376 "xaxis": {
377 "buckets": null,
378 "mode": "time",
379 "name": null,
380 "show": true,
381 "values": []
382 },
383 "yaxes": [
384 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800385 "format": "short",
386 "label": null,
387 "logBase": 1,
388 "max": null,
389 "min": null,
390 "show": true
391 },
392 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800393 "format": "short",
394 "label": null,
395 "logBase": 1,
396 "max": null,
397 "min": null,
398 "show": true
399 }
400 ],
401 "yaxis": {
402 "align": false,
403 "alignLevel": null
404 }
405 },
406 {
407 "aliasColors": {},
408 "bars": false,
409 "dashLength": 10,
410 "dashes": false,
411 "datasource": "$es_datasource",
412 "description": "",
413 "fieldConfig": {
414 "defaults": {
415 "custom": {}
416 },
417 "overrides": []
418 },
419 "fill": 10,
420 "fillGradient": 0,
421 "gridPos": {
422 "h": 5,
423 "w": 12,
424 "x": 12,
425 "y": 6
426 },
427 "hiddenSeries": false,
428 "id": 8,
429 "legend": {
430 "avg": false,
431 "current": false,
432 "max": false,
433 "min": false,
434 "show": false,
435 "total": false,
436 "values": false
437 },
438 "lines": true,
439 "linewidth": 1,
440 "nullPointMode": "null",
441 "percentage": false,
442 "pluginVersion": "7.1.5",
443 "pointradius": 2,
444 "points": false,
445 "renderer": "flot",
446 "repeatDirection": "v",
447 "seriesOverrides": [],
448 "spaceLength": 10,
449 "stack": true,
450 "steppedLine": false,
451 "targets": [
452 {
453 "bucketAggs": [
454 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800455 "fake": true,
456 "field": "kubernetes.container_name.keyword",
457 "id": "3",
458 "settings": {
459 "min_doc_count": "1",
460 "order": "desc",
461 "orderBy": "_term",
462 "size": "0"
463 },
464 "type": "terms"
465 },
466 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800467 "field": "@timestamp",
468 "id": "2",
469 "settings": {
470 "interval": "1m",
471 "min_doc_count": "0",
472 "trimEdges": 0
473 },
474 "type": "date_histogram"
475 }
476 ],
477 "metrics": [
478 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800479 "field": "select field",
480 "id": "1",
481 "type": "count"
482 }
483 ],
484 "query": "kubernetes.pod_name.keyword:$es_pod AND kubernetes.namespace_name.keyword:$es_namespace AND (logLevel.keyword:$es_loglevel)",
485 "refId": "A",
486 "timeField": "@timestamp"
487 }
488 ],
489 "thresholds": [],
490 "timeFrom": null,
491 "timeRegions": [],
492 "timeShift": null,
493 "title": "Pod $es_pod: Log Messages per Minute",
494 "tooltip": {
495 "shared": true,
496 "sort": 0,
497 "value_type": "individual"
498 },
499 "type": "graph",
500 "xaxis": {
501 "buckets": null,
502 "mode": "time",
503 "name": null,
504 "show": true,
505 "values": []
506 },
507 "yaxes": [
508 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800509 "format": "short",
510 "label": null,
511 "logBase": 1,
512 "max": null,
513 "min": null,
514 "show": true
515 },
516 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800517 "format": "short",
518 "label": null,
519 "logBase": 1,
520 "max": null,
521 "min": null,
522 "show": true
523 }
524 ],
525 "yaxis": {
526 "align": false,
527 "alignLevel": null
528 }
529 },
530 {
531 "datasource": "$es_datasource",
532 "description": "",
533 "fieldConfig": {
534 "defaults": {
535 "custom": {
536 "align": null
537 },
538 "mappings": [],
539 "thresholds": {
540 "mode": "absolute",
541 "steps": [
542 {
543 "color": "green",
544 "value": null
545 },
546 {
547 "color": "red",
548 "value": 80
549 }
550 ]
551 }
552 },
553 "overrides": [
554 {
555 "matcher": {
556 "id": "byName",
557 "options": "_source"
558 },
559 "properties": [
560 {
561 "id": "custom.width",
562 "value": 218
563 }
564 ]
565 },
566 {
567 "matcher": {
568 "id": "byName",
569 "options": "kubernetes.container_hash"
570 },
571 "properties": [
572 {
573 "id": "custom.width",
574 "value": 235
575 }
576 ]
577 },
578 {
579 "matcher": {
580 "id": "byName",
581 "options": "kubernetes.container_image"
582 },
583 "properties": [
584 {
585 "id": "custom.width",
586 "value": 178
587 }
588 ]
589 },
590 {
591 "matcher": {
592 "id": "byName",
593 "options": "kubernetes.labels.release"
594 },
595 "properties": [
596 {
597 "id": "custom.width",
598 "value": 168
599 }
600 ]
601 }
602 ]
603 },
604 "gridPos": {
605 "h": 14,
606 "w": 24,
607 "x": 0,
608 "y": 11
609 },
610 "id": 10,
611 "options": {
612 "showLabels": false,
613 "showTime": true,
Hung-Wei Chiubbc1bfd2021-04-15 10:08:02 -0700614 "sortOrder": "Ascending",
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800615 "wrapLogMessage": false
616 },
617 "pluginVersion": "7.1.5",
618 "repeatDirection": "v",
619 "targets": [
620 {
621 "bucketAggs": [
622 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800623 "field": "@timestamp",
624 "id": "2",
625 "settings": {
626 "interval": "auto",
627 "min_doc_count": 0,
628 "trimEdges": 0
629 },
630 "type": "date_histogram"
631 }
632 ],
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700633 "hide": false,
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800634 "metrics": [
635 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800636 "field": "select field",
637 "id": "1",
638 "meta": {},
639 "settings": {},
640 "type": "logs"
641 }
642 ],
643 "query": "kubernetes.container_name.keyword:$es_container AND kubernetes.pod_name.keyword:$es_pod AND kubernetes.namespace_name.keyword:$es_namespace AND (logLevel.keyword:$es_loglevel)",
644 "refId": "A",
645 "timeField": "@timestamp"
646 }
647 ],
648 "timeFrom": null,
649 "timeShift": null,
650 "title": "$es_pod Logs ($es_container)",
651 "transparent": true,
652 "type": "logs"
653 }
654 ],
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700655 "refresh": false,
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800656 "schemaVersion": 26,
657 "style": "dark",
658 "tags": [],
659 "templating": {
660 "list": [
661 {
662 "current": {
663 "selected": false,
664 "text": "ace-menlo-es",
665 "value": "ace-menlo-es"
666 },
667 "hide": 2,
668 "includeAll": false,
669 "label": "Datasource",
670 "multi": false,
671 "name": "es_datasource",
672 "options": [],
673 "query": "elasticsearch",
674 "refresh": 1,
675 "regex": "ace-menlo-es",
676 "skipUrlSync": false,
677 "type": "datasource"
678 },
679 {
680 "current": {
Hung-Wei Chiubccf71d2021-03-08 14:31:33 -0800681 "selected": true,
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800682 "text": "tost",
683 "value": "tost"
684 },
685 "hide": 2,
686 "label": null,
687 "name": "es_namespace",
688 "options": [
689 {
690 "selected": true,
691 "text": "tost",
692 "value": "tost"
693 }
694 ],
695 "query": "tost",
696 "skipUrlSync": false,
697 "type": "constant"
698 },
699 {
700 "allValue": "stratum*",
701 "current": {
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700702 "selected": false,
Hung-Wei Chiubbc1bfd2021-04-15 10:08:02 -0700703 "text": "onos-tost-onos-classic-0",
704 "value": "onos-tost-onos-classic-0"
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800705 },
706 "datasource": "$es_datasource",
707 "definition": "{\"find\": \"terms\", \"field\": \"kubernetes.pod_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace\"}",
708 "hide": 0,
709 "includeAll": false,
710 "label": "Pod",
711 "multi": false,
712 "name": "es_pod",
713 "options": [],
714 "query": "{\"find\": \"terms\", \"field\": \"kubernetes.pod_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace\"}",
715 "refresh": 2,
716 "regex": "",
717 "skipUrlSync": false,
718 "sort": 0,
719 "tagValuesQuery": "",
720 "tags": [],
721 "tagsQuery": "",
722 "type": "query",
723 "useTags": false
724 },
725 {
726 "allValue": null,
727 "current": {
Hung-Wei Chiubbc1bfd2021-04-15 10:08:02 -0700728 "selected": true,
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800729 "text": [
Hung-Wei Chiubccf71d2021-03-08 14:31:33 -0800730 "onos-classic"
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800731 ],
732 "value": [
Hung-Wei Chiubccf71d2021-03-08 14:31:33 -0800733 "onos-classic"
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800734 ]
735 },
736 "datasource": "$es_datasource",
737 "definition": "{\"find\": \"terms\", \"field\": \"kubernetes.container_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace AND kubernetes.pod_name.keyword:$es_pod\"}\t",
738 "hide": 0,
739 "includeAll": true,
740 "label": "Container",
741 "multi": true,
742 "name": "es_container",
743 "options": [],
744 "query": "{\"find\": \"terms\", \"field\": \"kubernetes.container_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace AND kubernetes.pod_name.keyword:$es_pod\"}\t",
745 "refresh": 2,
746 "regex": "",
747 "skipUrlSync": false,
748 "sort": 0,
749 "tagValuesQuery": "",
750 "tags": [],
751 "tagsQuery": "",
752 "type": "query",
753 "useTags": false
754 },
755 {
756 "allValue": "null OR *",
757 "current": {
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700758 "selected": false,
759 "text": "All",
760 "value": "$__all"
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800761 },
762 "datasource": "$es_datasource",
763 "definition": "{\"find\": \"terms\", \"field\": \"logLevel.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace AND kubernetes.pod_name.keyword:$es_pod AND kubernetes.container_name.keyword:$es_container\"}\t",
764 "hide": 0,
765 "includeAll": true,
766 "label": "Log Level",
767 "multi": true,
768 "name": "es_loglevel",
769 "options": [],
770 "query": "{\"find\": \"terms\", \"field\": \"logLevel.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace AND kubernetes.pod_name.keyword:$es_pod AND kubernetes.container_name.keyword:$es_container\"}\t",
771 "refresh": 2,
772 "regex": "",
773 "skipUrlSync": false,
774 "sort": 0,
775 "tagValuesQuery": "",
776 "tags": [],
777 "tagsQuery": "",
778 "type": "query",
779 "useTags": false
780 }
781 ]
782 },
783 "time": {
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700784 "from": "now-6h",
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800785 "to": "now"
786 },
787 "timepicker": {
788 "refresh_intervals": [
789 "5s",
790 "10s",
791 "30s",
792 "1m",
793 "5m",
794 "15m",
795 "30m",
796 "1h",
797 "2h",
798 "1d"
799 ]
800 },
801 "timezone": "",
802 "title": "TOST Metrics",
803 "uid": "fVcZZm8Gk",
Hung-Wei Chiubbc1bfd2021-04-15 10:08:02 -0700804 "version": 1
805}