blob: 06b60dbfcedfa0f216ed51948326228fd4707b7c [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 Chiu0009caa2021-05-05 15:09:16 -070018 "id": 28,
19 "iteration": 1620252734676,
Hung-Wei Chiu04446442021-03-04 14:50:46 -080020 "links": [],
21 "panels": [
22 {
23 "aliasColors": {},
24 "bars": false,
25 "dashLength": 10,
26 "dashes": false,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -070027 "datasource": "$datasource",
28 "fieldConfig": {
29 "defaults": {
30 "custom": {}
31 },
32 "overrides": []
33 },
34 "fill": 1,
35 "fillGradient": 0,
36 "gridPos": {
37 "h": 8,
38 "w": 12,
39 "x": 0,
40 "y": 0
41 },
42 "hiddenSeries": false,
43 "id": 14,
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": "stratum_counters_in_octets",
68 "interval": "",
69 "legendFormat": "in-{{ source }}:{{ name }} ",
70 "refId": "A"
71 },
72 {
73 "expr": "stratum_counters_out_octets",
74 "interval": "",
75 "legendFormat": "out-{{ source }}:{{ name }}",
76 "refId": "B"
77 }
78 ],
79 "thresholds": [],
80 "timeFrom": null,
81 "timeRegions": [],
82 "timeShift": null,
83 "title": "Stratum Couter (octect)",
84 "tooltip": {
85 "shared": true,
86 "sort": 0,
87 "value_type": "individual"
88 },
89 "type": "graph",
90 "xaxis": {
91 "buckets": null,
92 "mode": "time",
93 "name": null,
94 "show": true,
95 "values": []
96 },
97 "yaxes": [
98 {
99 "$$hashKey": "object:162",
100 "format": "short",
101 "label": null,
102 "logBase": 1,
103 "max": null,
104 "min": null,
105 "show": true
106 },
107 {
108 "$$hashKey": "object:163",
109 "format": "short",
110 "label": null,
111 "logBase": 1,
112 "max": null,
113 "min": null,
114 "show": true
115 }
116 ],
117 "yaxis": {
118 "align": false,
119 "alignLevel": null
120 }
121 },
122 {
123 "aliasColors": {},
124 "bars": false,
125 "dashLength": 10,
126 "dashes": false,
127 "datasource": "$datasource",
128 "fieldConfig": {
129 "defaults": {
130 "custom": {}
131 },
132 "overrides": []
133 },
134 "fill": 1,
135 "fillGradient": 0,
136 "gridPos": {
137 "h": 8,
138 "w": 12,
139 "x": 12,
140 "y": 0
141 },
142 "hiddenSeries": false,
143 "id": 15,
144 "legend": {
145 "avg": false,
146 "current": false,
147 "max": false,
148 "min": false,
149 "show": true,
150 "total": false,
151 "values": false
152 },
153 "lines": true,
154 "linewidth": 1,
155 "nullPointMode": "null",
156 "percentage": false,
157 "pluginVersion": "7.1.5",
158 "pointradius": 2,
159 "points": false,
160 "renderer": "flot",
161 "seriesOverrides": [],
162 "spaceLength": 10,
163 "stack": false,
164 "steppedLine": false,
165 "targets": [
166 {
167 "expr": "stratum_counters_in_errors",
168 "interval": "",
169 "legendFormat": "in-{{ source }}:{{ name }} ",
170 "refId": "A"
171 },
172 {
173 "expr": "stratum_counters_out_errors",
174 "interval": "",
175 "legendFormat": "out-{{ source }}:{{ name }}",
176 "refId": "B"
177 }
178 ],
179 "thresholds": [],
180 "timeFrom": null,
181 "timeRegions": [],
182 "timeShift": null,
183 "title": "Stratum Counter (errors)",
184 "tooltip": {
185 "shared": true,
186 "sort": 0,
187 "value_type": "individual"
188 },
189 "type": "graph",
190 "xaxis": {
191 "buckets": null,
192 "mode": "time",
193 "name": null,
194 "show": true,
195 "values": []
196 },
197 "yaxes": [
198 {
199 "$$hashKey": "object:162",
200 "format": "short",
201 "label": null,
202 "logBase": 1,
203 "max": null,
204 "min": "0",
205 "show": true
206 },
207 {
208 "$$hashKey": "object:163",
209 "format": "short",
210 "label": null,
211 "logBase": 1,
212 "max": null,
213 "min": null,
214 "show": true
215 }
216 ],
217 "yaxis": {
218 "align": false,
219 "alignLevel": null
220 }
221 },
222 {
223 "aliasColors": {},
224 "bars": false,
225 "dashLength": 10,
226 "dashes": false,
227 "datasource": "$datasource",
228 "fieldConfig": {
229 "defaults": {
230 "custom": {}
231 },
232 "overrides": []
233 },
234 "fill": 1,
235 "fillGradient": 0,
236 "gridPos": {
237 "h": 6,
238 "w": 24,
239 "x": 0,
240 "y": 8
241 },
242 "hiddenSeries": false,
243 "id": 12,
244 "legend": {
245 "avg": false,
246 "current": false,
247 "max": false,
248 "min": false,
249 "show": true,
250 "total": false,
251 "values": false
252 },
253 "lines": true,
254 "linewidth": 1,
255 "nullPointMode": "null",
256 "percentage": false,
257 "pluginVersion": "7.1.5",
258 "pointradius": 2,
259 "points": false,
260 "renderer": "flot",
261 "seriesOverrides": [],
262 "spaceLength": 10,
263 "stack": false,
264 "steppedLine": false,
265 "targets": [
266 {
267 "expr": "onos_telegraf_active_links",
268 "interval": "",
269 "legendFormat": "Active Links",
270 "refId": "A"
271 },
272 {
273 "expr": "onos_telegraf_devices",
274 "interval": "",
275 "legendFormat": "Devies",
276 "refId": "B"
277 },
278 {
279 "expr": "onos_telegraf_enable_device_ports",
280 "interval": "",
281 "legendFormat": "Enabled Device Ports",
282 "refId": "C"
283 }
284 ],
285 "thresholds": [],
286 "timeFrom": null,
287 "timeRegions": [],
288 "timeShift": null,
289 "title": "Topology Metrics",
290 "tooltip": {
291 "shared": true,
292 "sort": 0,
293 "value_type": "individual"
294 },
295 "type": "graph",
296 "xaxis": {
297 "buckets": null,
298 "mode": "time",
299 "name": null,
300 "show": true,
301 "values": []
302 },
303 "yaxes": [
304 {
305 "$$hashKey": "object:99",
306 "decimals": null,
307 "format": "locale",
308 "label": null,
309 "logBase": 1,
310 "max": null,
311 "min": null,
312 "show": true
313 },
314 {
315 "$$hashKey": "object:100",
316 "format": "short",
317 "label": null,
318 "logBase": 1,
319 "max": null,
320 "min": null,
321 "show": true
322 }
323 ],
324 "yaxis": {
325 "align": false,
326 "alignLevel": null
327 }
328 },
329 {
330 "aliasColors": {},
331 "bars": false,
332 "dashLength": 10,
333 "dashes": false,
334 "datasource": "$datasource",
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800335 "fieldConfig": {
336 "defaults": {
337 "custom": {}
338 },
339 "overrides": []
340 },
341 "fill": 1,
342 "fillGradient": 0,
343 "gridPos": {
344 "h": 6,
345 "w": 12,
346 "x": 0,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700347 "y": 14
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800348 },
349 "hiddenSeries": false,
350 "id": 4,
351 "legend": {
352 "avg": false,
353 "current": false,
354 "max": false,
355 "min": false,
356 "show": true,
357 "total": false,
358 "values": false
359 },
360 "lines": true,
361 "linewidth": 1,
362 "nullPointMode": "null",
363 "percentage": false,
364 "pluginVersion": "7.1.5",
365 "pointradius": 2,
366 "points": false,
367 "renderer": "flot",
368 "seriesOverrides": [],
369 "spaceLength": 10,
370 "stack": false,
371 "steppedLine": false,
372 "targets": [
373 {
374 "expr": "sum(ping_average_response_ms{namespace=\"tost\"}) by (url)",
375 "interval": "",
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700376 "legendFormat": "average_{{ url }} ",
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800377 "refId": "A"
378 },
379 {
380 "expr": "sum(ping_maximum_response_ms{namespace=\"tost\"}) by (url)",
381 "interval": "",
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700382 "legendFormat": "max_{{ url }} ",
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800383 "refId": "B"
384 },
385 {
386 "expr": "sum(ping_minimum_response_ms{namespace=\"tost\"}) by (url)",
387 "interval": "",
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700388 "legendFormat": "min_{{ url }} ",
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800389 "refId": "C"
390 }
391 ],
392 "thresholds": [],
393 "timeFrom": null,
394 "timeRegions": [],
395 "timeShift": null,
396 "title": "Ping Response Time (MS)",
397 "tooltip": {
398 "shared": true,
399 "sort": 0,
400 "value_type": "individual"
401 },
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700402 "transformations": [
403 {
404 "id": "seriesToColumns",
405 "options": {}
406 },
407 {
408 "id": "organize",
409 "options": {
410 "excludeByName": {},
411 "indexByName": {},
412 "renameByName": {
413 "average_10.32.5.129 ": "average_mgmt",
414 "average_10.32.5.5 ": "average_eNB",
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700415 "average_10.32.7.1 ": "average_mgmt",
416 "average_10.32.7.10 ": "average_eNB",
417 "average_10.32.9.10 ": "average_eNB",
418 "average_10.64.1.10 ": "average_eNB",
419 "average_10.64.1.129 ": "average_mgmt",
420 "average_10.64.11.129 ": "average_mgmt",
421 "average_10.64.11.140 ": "average_eNB",
422 "average_10.64.13.1 ": "average_mgmt",
423 "average_10.64.13.10 ": "average_eNB",
424 "average_10.64.3.1 ": "average_mgmt",
425 "average_10.64.3.10 ": "average_eNB",
426 "average_10.64.5.1 ": "average_mgmt",
427 "average_10.64.5.10 ": "average_eNB",
428 "average_10.64.7.10 ": "average_eNB",
429 "average_10.64.7.129 ": "average_mgmt",
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700430 "max_10.32.5.129 ": "max_mgmt",
431 "max_10.32.5.5 ": "max_eNB",
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700432 "max_10.32.7.1 ": "max_mgmt",
433 "max_10.32.7.10 ": "max_eNB",
434 "max_10.32.9.10 ": "max_eNB",
435 "max_10.64.1.10 ": "max_eNB",
436 "max_10.64.1.129 ": "max_mgmt",
437 "max_10.64.11.129 ": "max_mgmt",
438 "max_10.64.11.140 ": "max_eNB",
439 "max_10.64.13.1 ": "max_mgmt",
440 "max_10.64.13.10 ": "max_eNB",
441 "max_10.64.3.1 ": "max_mgmt",
442 "max_10.64.3.10 ": "max_eNB",
443 "max_10.64.5.1 ": "max_mgmt",
444 "max_10.64.5.10 ": "max_eNB",
445 "max_10.64.7.10 ": "max_eNB",
446 "max_10.64.7.129 ": "max_mgmt",
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700447 "min_10.32.5.129 ": "min_mgmt",
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700448 "min_10.32.5.5 ": "min_eNB",
449 "min_10.32.7.1 ": "min_mgmt",
450 "min_10.32.7.10 ": "min_eNB",
451 "min_10.32.9.10 ": "min_eNB",
452 "min_10.64.1.10 ": "min_eNB",
453 "min_10.64.1.129 ": "min_mgmt",
454 "min_10.64.11.129 ": "min_mgmt",
455 "min_10.64.11.140 ": "min_eNB",
456 "min_10.64.13.1 ": "min_mgmt",
457 "min_10.64.13.10 ": "min_eNB",
458 "min_10.64.3.1 ": "min_mgmt",
459 "min_10.64.3.10 ": "min_eNB",
460 "min_10.64.5.1 ": "min_mgmt",
461 "min_10.64.5.10 ": "min_eNB",
462 "min_10.64.7.10 ": "min_eNB",
463 "min_10.64.7.129 ": "min_mgmt"
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700464 }
465 }
466 }
467 ],
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800468 "type": "graph",
469 "xaxis": {
470 "buckets": null,
471 "mode": "time",
472 "name": null,
473 "show": true,
474 "values": []
475 },
476 "yaxes": [
477 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800478 "format": "short",
479 "label": null,
480 "logBase": 1,
481 "max": null,
482 "min": null,
483 "show": true
484 },
485 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800486 "format": "short",
487 "label": null,
488 "logBase": 1,
489 "max": null,
490 "min": null,
491 "show": true
492 }
493 ],
494 "yaxis": {
495 "align": false,
496 "alignLevel": null
497 }
498 },
499 {
500 "aliasColors": {},
501 "bars": false,
502 "dashLength": 10,
503 "dashes": false,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700504 "datasource": "$datasource",
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800505 "fieldConfig": {
506 "defaults": {
507 "custom": {}
508 },
509 "overrides": []
510 },
511 "fill": 1,
512 "fillGradient": 0,
513 "gridPos": {
514 "h": 6,
515 "w": 12,
516 "x": 12,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700517 "y": 14
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800518 },
519 "hiddenSeries": false,
520 "id": 2,
521 "legend": {
522 "avg": false,
523 "current": false,
524 "max": false,
525 "min": false,
526 "show": true,
527 "total": false,
528 "values": false
529 },
530 "lines": true,
531 "linewidth": 1,
532 "nullPointMode": "null",
533 "percentage": false,
534 "pluginVersion": "7.1.5",
535 "pointradius": 2,
536 "points": false,
537 "renderer": "flot",
538 "seriesOverrides": [],
539 "spaceLength": 10,
540 "stack": false,
541 "steppedLine": false,
542 "targets": [
543 {
544 "expr": "sum(ping_percent_packet_loss{namespace=\"tost\"}) by (url)",
545 "interval": "",
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700546 "legendFormat": "{{ url }}",
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800547 "refId": "A"
548 }
549 ],
550 "thresholds": [],
551 "timeFrom": null,
552 "timeRegions": [],
553 "timeShift": null,
554 "title": "Ping packet loss (%)",
555 "tooltip": {
556 "shared": true,
557 "sort": 0,
558 "value_type": "individual"
559 },
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700560 "transformations": [
561 {
562 "id": "seriesToColumns",
563 "options": {
564 "byField": "Time"
565 }
566 },
567 {
568 "id": "organize",
569 "options": {
570 "excludeByName": {},
571 "indexByName": {},
572 "renameByName": {
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700573 "10.32.5.129": "mgmt",
574 "10.32.5.5": "eNB",
575 "10.32.7.1": "mgmt",
576 "10.32.7.10": "eNB",
577 "10.32.9.10": "eNB",
578 "10.64.1.10": "eNB",
579 "10.64.1.129": "mgmt",
580 "10.64.11.129": "mgmt",
581 "10.64.11.140": "eNB",
582 "10.64.13.1": "mgmt",
583 "10.64.13.10": "eNB",
584 "10.64.3.1": "mgmt",
585 "10.64.3.10": "eNB",
586 "10.64.5.1": "eNB",
587 "10.64.5.129": "mgmt",
588 "10.64.7.10": "eNB",
589 "10.64.7.129": "mgmt",
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700590 "Time": ""
591 }
592 }
593 }
594 ],
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800595 "type": "graph",
596 "xaxis": {
597 "buckets": null,
598 "mode": "time",
599 "name": null,
600 "show": true,
601 "values": []
602 },
603 "yaxes": [
604 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800605 "format": "percent",
606 "label": null,
607 "logBase": 1,
608 "max": "100",
609 "min": "0",
610 "show": true
611 },
612 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800613 "format": "short",
614 "label": null,
615 "logBase": 1,
616 "max": null,
617 "min": null,
618 "show": true
619 }
620 ],
621 "yaxis": {
622 "align": false,
623 "alignLevel": null
624 }
625 },
626 {
627 "aliasColors": {},
628 "bars": false,
629 "dashLength": 10,
630 "dashes": false,
631 "datasource": "$es_datasource",
632 "description": "",
633 "fieldConfig": {
634 "defaults": {
635 "custom": {
636 "align": null
637 },
638 "mappings": [],
639 "thresholds": {
640 "mode": "absolute",
641 "steps": [
642 {
643 "color": "green",
644 "value": null
645 },
646 {
647 "color": "red",
648 "value": 80
649 }
650 ]
651 }
652 },
653 "overrides": []
654 },
655 "fill": 10,
656 "fillGradient": 0,
657 "gridPos": {
658 "h": 5,
659 "w": 12,
660 "x": 0,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700661 "y": 20
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800662 },
663 "hiddenSeries": false,
664 "id": 6,
665 "legend": {
666 "avg": false,
667 "current": false,
668 "hideEmpty": false,
669 "hideZero": false,
670 "max": false,
671 "min": false,
672 "show": false,
673 "total": false,
674 "values": false
675 },
676 "lines": true,
677 "linewidth": 1,
678 "nullPointMode": "null",
679 "percentage": false,
680 "pluginVersion": "7.1.5",
681 "pointradius": 2,
682 "points": false,
683 "renderer": "flot",
684 "repeat": "pod",
685 "repeatDirection": "v",
686 "seriesOverrides": [],
687 "spaceLength": 10,
688 "stack": true,
689 "steppedLine": false,
690 "targets": [
691 {
692 "bucketAggs": [
693 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800694 "fake": true,
695 "field": "kubernetes.pod_name.keyword",
696 "id": "3",
697 "settings": {
698 "min_doc_count": "1",
699 "order": "desc",
700 "orderBy": "_term",
701 "size": "0"
702 },
703 "type": "terms"
704 },
705 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800706 "field": "@timestamp",
707 "id": "2",
708 "settings": {
709 "interval": "1m",
710 "min_doc_count": "0",
711 "trimEdges": 0
712 },
713 "type": "date_histogram"
714 }
715 ],
716 "metrics": [
717 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800718 "field": "select field",
719 "id": "1",
720 "meta": {},
721 "settings": {},
722 "type": "count"
723 }
724 ],
725 "query": "kubernetes.namespace_name.keyword:$es_namespace",
726 "refId": "A",
727 "timeField": "@timestamp"
728 }
729 ],
730 "thresholds": [],
731 "timeFrom": null,
732 "timeRegions": [],
733 "timeShift": null,
734 "title": "Namespace $es_namespace: Log Messages Per Minute",
735 "tooltip": {
736 "shared": true,
737 "sort": 0,
738 "value_type": "individual"
739 },
740 "transformations": [],
741 "type": "graph",
742 "xaxis": {
743 "buckets": null,
744 "mode": "time",
745 "name": null,
746 "show": true,
747 "values": []
748 },
749 "yaxes": [
750 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800751 "format": "short",
752 "label": null,
753 "logBase": 1,
754 "max": null,
755 "min": null,
756 "show": true
757 },
758 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800759 "format": "short",
760 "label": null,
761 "logBase": 1,
762 "max": null,
763 "min": null,
764 "show": true
765 }
766 ],
767 "yaxis": {
768 "align": false,
769 "alignLevel": null
770 }
771 },
772 {
773 "aliasColors": {},
774 "bars": false,
775 "dashLength": 10,
776 "dashes": false,
777 "datasource": "$es_datasource",
778 "description": "",
779 "fieldConfig": {
780 "defaults": {
781 "custom": {}
782 },
783 "overrides": []
784 },
785 "fill": 10,
786 "fillGradient": 0,
787 "gridPos": {
788 "h": 5,
789 "w": 12,
790 "x": 12,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700791 "y": 20
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800792 },
793 "hiddenSeries": false,
794 "id": 8,
795 "legend": {
796 "avg": false,
797 "current": false,
798 "max": false,
799 "min": false,
800 "show": false,
801 "total": false,
802 "values": false
803 },
804 "lines": true,
805 "linewidth": 1,
806 "nullPointMode": "null",
807 "percentage": false,
808 "pluginVersion": "7.1.5",
809 "pointradius": 2,
810 "points": false,
811 "renderer": "flot",
812 "repeatDirection": "v",
813 "seriesOverrides": [],
814 "spaceLength": 10,
815 "stack": true,
816 "steppedLine": false,
817 "targets": [
818 {
819 "bucketAggs": [
820 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800821 "fake": true,
822 "field": "kubernetes.container_name.keyword",
823 "id": "3",
824 "settings": {
825 "min_doc_count": "1",
826 "order": "desc",
827 "orderBy": "_term",
828 "size": "0"
829 },
830 "type": "terms"
831 },
832 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800833 "field": "@timestamp",
834 "id": "2",
835 "settings": {
836 "interval": "1m",
837 "min_doc_count": "0",
838 "trimEdges": 0
839 },
840 "type": "date_histogram"
841 }
842 ],
843 "metrics": [
844 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800845 "field": "select field",
846 "id": "1",
847 "type": "count"
848 }
849 ],
850 "query": "kubernetes.pod_name.keyword:$es_pod AND kubernetes.namespace_name.keyword:$es_namespace AND (logLevel.keyword:$es_loglevel)",
851 "refId": "A",
852 "timeField": "@timestamp"
853 }
854 ],
855 "thresholds": [],
856 "timeFrom": null,
857 "timeRegions": [],
858 "timeShift": null,
859 "title": "Pod $es_pod: Log Messages per Minute",
860 "tooltip": {
861 "shared": true,
862 "sort": 0,
863 "value_type": "individual"
864 },
865 "type": "graph",
866 "xaxis": {
867 "buckets": null,
868 "mode": "time",
869 "name": null,
870 "show": true,
871 "values": []
872 },
873 "yaxes": [
874 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800875 "format": "short",
876 "label": null,
877 "logBase": 1,
878 "max": null,
879 "min": null,
880 "show": true
881 },
882 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800883 "format": "short",
884 "label": null,
885 "logBase": 1,
886 "max": null,
887 "min": null,
888 "show": true
889 }
890 ],
891 "yaxis": {
892 "align": false,
893 "alignLevel": null
894 }
895 },
896 {
897 "datasource": "$es_datasource",
898 "description": "",
899 "fieldConfig": {
900 "defaults": {
901 "custom": {
902 "align": null
903 },
904 "mappings": [],
905 "thresholds": {
906 "mode": "absolute",
907 "steps": [
908 {
909 "color": "green",
910 "value": null
911 },
912 {
913 "color": "red",
914 "value": 80
915 }
916 ]
917 }
918 },
919 "overrides": [
920 {
921 "matcher": {
922 "id": "byName",
923 "options": "_source"
924 },
925 "properties": [
926 {
927 "id": "custom.width",
928 "value": 218
929 }
930 ]
931 },
932 {
933 "matcher": {
934 "id": "byName",
935 "options": "kubernetes.container_hash"
936 },
937 "properties": [
938 {
939 "id": "custom.width",
940 "value": 235
941 }
942 ]
943 },
944 {
945 "matcher": {
946 "id": "byName",
947 "options": "kubernetes.container_image"
948 },
949 "properties": [
950 {
951 "id": "custom.width",
952 "value": 178
953 }
954 ]
955 },
956 {
957 "matcher": {
958 "id": "byName",
959 "options": "kubernetes.labels.release"
960 },
961 "properties": [
962 {
963 "id": "custom.width",
964 "value": 168
965 }
966 ]
967 }
968 ]
969 },
970 "gridPos": {
971 "h": 14,
972 "w": 24,
973 "x": 0,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700974 "y": 25
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800975 },
976 "id": 10,
977 "options": {
978 "showLabels": false,
979 "showTime": true,
Hung-Wei Chiubbc1bfd2021-04-15 10:08:02 -0700980 "sortOrder": "Ascending",
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800981 "wrapLogMessage": false
982 },
983 "pluginVersion": "7.1.5",
984 "repeatDirection": "v",
985 "targets": [
986 {
987 "bucketAggs": [
988 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800989 "field": "@timestamp",
990 "id": "2",
991 "settings": {
992 "interval": "auto",
993 "min_doc_count": 0,
994 "trimEdges": 0
995 },
996 "type": "date_histogram"
997 }
998 ],
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700999 "hide": false,
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001000 "metrics": [
1001 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001002 "field": "select field",
1003 "id": "1",
1004 "meta": {},
1005 "settings": {},
1006 "type": "logs"
1007 }
1008 ],
1009 "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)",
1010 "refId": "A",
1011 "timeField": "@timestamp"
1012 }
1013 ],
1014 "timeFrom": null,
1015 "timeShift": null,
1016 "title": "$es_pod Logs ($es_container)",
1017 "transparent": true,
1018 "type": "logs"
1019 }
1020 ],
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -07001021 "refresh": false,
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001022 "schemaVersion": 26,
1023 "style": "dark",
1024 "tags": [],
1025 "templating": {
1026 "list": [
1027 {
1028 "current": {
1029 "selected": false,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -07001030 "text": "ace-menlo",
1031 "value": "ace-menlo"
1032 },
1033 "hide": 0,
1034 "includeAll": false,
1035 "label": "Datasource",
1036 "multi": false,
1037 "name": "datasource",
1038 "options": [],
1039 "query": "prometheus",
1040 "queryValue": "",
1041 "refresh": 1,
1042 "regex": "ace.*",
1043 "skipUrlSync": false,
1044 "type": "datasource"
1045 },
1046 {
1047 "current": {
1048 "selected": false,
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001049 "text": "ace-menlo-es",
1050 "value": "ace-menlo-es"
1051 },
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -07001052 "hide": 0,
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001053 "includeAll": false,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -07001054 "label": "Log_Datasource",
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001055 "multi": false,
1056 "name": "es_datasource",
1057 "options": [],
1058 "query": "elasticsearch",
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -07001059 "queryValue": "",
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001060 "refresh": 1,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -07001061 "regex": "ace.*",
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001062 "skipUrlSync": false,
1063 "type": "datasource"
1064 },
1065 {
1066 "current": {
Hung-Wei Chiubccf71d2021-03-08 14:31:33 -08001067 "selected": true,
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001068 "text": "tost",
1069 "value": "tost"
1070 },
1071 "hide": 2,
1072 "label": null,
1073 "name": "es_namespace",
1074 "options": [
1075 {
1076 "selected": true,
1077 "text": "tost",
1078 "value": "tost"
1079 }
1080 ],
1081 "query": "tost",
1082 "skipUrlSync": false,
1083 "type": "constant"
1084 },
1085 {
1086 "allValue": "stratum*",
1087 "current": {
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -07001088 "selected": false,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -07001089 "text": "config",
1090 "value": "config"
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001091 },
1092 "datasource": "$es_datasource",
1093 "definition": "{\"find\": \"terms\", \"field\": \"kubernetes.pod_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace\"}",
1094 "hide": 0,
1095 "includeAll": false,
1096 "label": "Pod",
1097 "multi": false,
1098 "name": "es_pod",
1099 "options": [],
1100 "query": "{\"find\": \"terms\", \"field\": \"kubernetes.pod_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace\"}",
1101 "refresh": 2,
1102 "regex": "",
1103 "skipUrlSync": false,
1104 "sort": 0,
1105 "tagValuesQuery": "",
1106 "tags": [],
1107 "tagsQuery": "",
1108 "type": "query",
1109 "useTags": false
1110 },
1111 {
1112 "allValue": null,
1113 "current": {
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -07001114 "selected": false,
1115 "text": "All",
1116 "value": "$__all"
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001117 },
1118 "datasource": "$es_datasource",
1119 "definition": "{\"find\": \"terms\", \"field\": \"kubernetes.container_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace AND kubernetes.pod_name.keyword:$es_pod\"}\t",
1120 "hide": 0,
1121 "includeAll": true,
1122 "label": "Container",
1123 "multi": true,
1124 "name": "es_container",
1125 "options": [],
1126 "query": "{\"find\": \"terms\", \"field\": \"kubernetes.container_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace AND kubernetes.pod_name.keyword:$es_pod\"}\t",
1127 "refresh": 2,
1128 "regex": "",
1129 "skipUrlSync": false,
1130 "sort": 0,
1131 "tagValuesQuery": "",
1132 "tags": [],
1133 "tagsQuery": "",
1134 "type": "query",
1135 "useTags": false
1136 },
1137 {
1138 "allValue": "null OR *",
1139 "current": {
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -07001140 "selected": false,
1141 "text": "All",
1142 "value": "$__all"
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001143 },
1144 "datasource": "$es_datasource",
1145 "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",
1146 "hide": 0,
1147 "includeAll": true,
1148 "label": "Log Level",
1149 "multi": true,
1150 "name": "es_loglevel",
1151 "options": [],
1152 "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",
1153 "refresh": 2,
1154 "regex": "",
1155 "skipUrlSync": false,
1156 "sort": 0,
1157 "tagValuesQuery": "",
1158 "tags": [],
1159 "tagsQuery": "",
1160 "type": "query",
1161 "useTags": false
1162 }
1163 ]
1164 },
1165 "time": {
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -07001166 "from": "now-3h",
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001167 "to": "now"
1168 },
1169 "timepicker": {
1170 "refresh_intervals": [
1171 "5s",
1172 "10s",
1173 "30s",
1174 "1m",
1175 "5m",
1176 "15m",
1177 "30m",
1178 "1h",
1179 "2h",
1180 "1d"
1181 ]
1182 },
1183 "timezone": "",
1184 "title": "TOST Metrics",
1185 "uid": "fVcZZm8Gk",
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -07001186 "version": 6
Hung-Wei Chiubbc1bfd2021-04-15 10:08:02 -07001187}