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