blob: 291dfa345622bc1e00244fa4b749b9a82e99b03b [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 Chiu1f95e932021-05-24 12:12:23 -070018 "id": 25,
19 "iteration": 1621883007099,
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": {
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -070030 "custom": {
31 "align": null
32 },
33 "mappings": [],
34 "thresholds": {
35 "mode": "absolute",
36 "steps": [
37 {
38 "color": "green",
39 "value": null
40 },
41 {
42 "color": "red",
43 "value": 80
44 }
45 ]
46 }
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -070047 },
48 "overrides": []
49 },
50 "fill": 1,
51 "fillGradient": 0,
52 "gridPos": {
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -070053 "h": 7,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -070054 "w": 12,
55 "x": 0,
56 "y": 0
57 },
58 "hiddenSeries": false,
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -070059 "id": 17,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -070060 "legend": {
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -070061 "alignAsTable": false,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -070062 "avg": false,
63 "current": false,
64 "max": false,
65 "min": false,
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -070066 "rightSide": false,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -070067 "show": true,
68 "total": false,
69 "values": false
70 },
71 "lines": true,
72 "linewidth": 1,
73 "nullPointMode": "null",
74 "percentage": false,
75 "pluginVersion": "7.1.5",
76 "pointradius": 2,
77 "points": false,
78 "renderer": "flot",
79 "seriesOverrides": [],
80 "spaceLength": 10,
81 "stack": false,
82 "steppedLine": false,
83 "targets": [
84 {
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -070085 "expr": "onos_telegraf_ready",
86 "format": "time_series",
87 "instant": false,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -070088 "interval": "",
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -070089 "legendFormat": "Ready",
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -070090 "refId": "A"
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -070091 }
92 ],
93 "thresholds": [],
94 "timeFrom": null,
95 "timeRegions": [],
96 "timeShift": null,
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -070097 "title": "ONOS Cluster Ready",
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -070098 "tooltip": {
99 "shared": true,
100 "sort": 0,
101 "value_type": "individual"
102 },
103 "type": "graph",
104 "xaxis": {
105 "buckets": null,
106 "mode": "time",
107 "name": null,
108 "show": true,
109 "values": []
110 },
111 "yaxes": [
112 {
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -0700113 "$$hashKey": "object:231",
114 "format": "none",
115 "label": "",
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700116 "logBase": 1,
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -0700117 "max": "1",
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700118 "min": "0",
119 "show": true
120 },
121 {
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -0700122 "$$hashKey": "object:232",
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700123 "format": "short",
124 "label": null,
125 "logBase": 1,
126 "max": null,
127 "min": null,
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -0700128 "show": false
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700129 }
130 ],
131 "yaxis": {
132 "align": false,
133 "alignLevel": null
134 }
135 },
136 {
137 "aliasColors": {},
138 "bars": false,
139 "dashLength": 10,
140 "dashes": false,
141 "datasource": "$datasource",
142 "fieldConfig": {
143 "defaults": {
144 "custom": {}
145 },
146 "overrides": []
147 },
148 "fill": 1,
149 "fillGradient": 0,
150 "gridPos": {
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -0700151 "h": 7,
152 "w": 12,
153 "x": 12,
154 "y": 0
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700155 },
156 "hiddenSeries": false,
157 "id": 12,
158 "legend": {
159 "avg": false,
160 "current": false,
161 "max": false,
162 "min": false,
163 "show": true,
164 "total": false,
165 "values": false
166 },
167 "lines": true,
168 "linewidth": 1,
169 "nullPointMode": "null",
170 "percentage": false,
171 "pluginVersion": "7.1.5",
172 "pointradius": 2,
173 "points": false,
174 "renderer": "flot",
175 "seriesOverrides": [],
176 "spaceLength": 10,
177 "stack": false,
178 "steppedLine": false,
179 "targets": [
180 {
181 "expr": "onos_telegraf_active_links",
182 "interval": "",
183 "legendFormat": "Active Links",
184 "refId": "A"
185 },
186 {
187 "expr": "onos_telegraf_devices",
188 "interval": "",
189 "legendFormat": "Devies",
190 "refId": "B"
191 },
192 {
193 "expr": "onos_telegraf_enable_device_ports",
194 "interval": "",
195 "legendFormat": "Enabled Device Ports",
196 "refId": "C"
197 }
198 ],
199 "thresholds": [],
200 "timeFrom": null,
201 "timeRegions": [],
202 "timeShift": null,
203 "title": "Topology Metrics",
204 "tooltip": {
205 "shared": true,
206 "sort": 0,
207 "value_type": "individual"
208 },
209 "type": "graph",
210 "xaxis": {
211 "buckets": null,
212 "mode": "time",
213 "name": null,
214 "show": true,
215 "values": []
216 },
217 "yaxes": [
218 {
219 "$$hashKey": "object:99",
220 "decimals": null,
221 "format": "locale",
222 "label": null,
223 "logBase": 1,
224 "max": null,
225 "min": null,
226 "show": true
227 },
228 {
229 "$$hashKey": "object:100",
230 "format": "short",
231 "label": null,
232 "logBase": 1,
233 "max": null,
234 "min": null,
235 "show": true
236 }
237 ],
238 "yaxis": {
239 "align": false,
240 "alignLevel": null
241 }
242 },
243 {
244 "aliasColors": {},
245 "bars": false,
246 "dashLength": 10,
247 "dashes": false,
248 "datasource": "$datasource",
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800249 "fieldConfig": {
250 "defaults": {
251 "custom": {}
252 },
253 "overrides": []
254 },
255 "fill": 1,
256 "fillGradient": 0,
257 "gridPos": {
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -0700258 "h": 8,
259 "w": 12,
260 "x": 0,
261 "y": 7
262 },
263 "hiddenSeries": false,
264 "id": 14,
265 "legend": {
266 "avg": false,
267 "current": false,
268 "max": false,
269 "min": false,
270 "show": true,
271 "total": false,
272 "values": false
273 },
274 "lines": true,
275 "linewidth": 1,
276 "nullPointMode": "null",
277 "percentage": false,
278 "pluginVersion": "7.1.5",
279 "pointradius": 2,
280 "points": false,
281 "renderer": "flot",
282 "seriesOverrides": [],
283 "spaceLength": 10,
284 "stack": false,
285 "steppedLine": false,
286 "targets": [
287 {
288 "expr": "stratum_counters_in_octets",
289 "interval": "",
290 "legendFormat": "in-{{ source }}:{{ name }} ",
291 "refId": "A"
292 },
293 {
294 "expr": "stratum_counters_out_octets",
295 "interval": "",
296 "legendFormat": "out-{{ source }}:{{ name }}",
297 "refId": "B"
298 }
299 ],
300 "thresholds": [],
301 "timeFrom": null,
302 "timeRegions": [],
303 "timeShift": null,
304 "title": "Stratum Couter (octect)",
305 "tooltip": {
306 "shared": true,
307 "sort": 0,
308 "value_type": "individual"
309 },
310 "type": "graph",
311 "xaxis": {
312 "buckets": null,
313 "mode": "time",
314 "name": null,
315 "show": true,
316 "values": []
317 },
318 "yaxes": [
319 {
320 "$$hashKey": "object:162",
321 "format": "short",
322 "label": null,
323 "logBase": 1,
324 "max": null,
325 "min": null,
326 "show": true
327 },
328 {
329 "$$hashKey": "object:163",
330 "format": "short",
331 "label": null,
332 "logBase": 1,
333 "max": null,
334 "min": null,
335 "show": true
336 }
337 ],
338 "yaxis": {
339 "align": false,
340 "alignLevel": null
341 }
342 },
343 {
344 "aliasColors": {},
345 "bars": false,
346 "dashLength": 10,
347 "dashes": false,
348 "datasource": "$datasource",
349 "fieldConfig": {
350 "defaults": {
351 "custom": {}
352 },
353 "overrides": []
354 },
355 "fill": 1,
356 "fillGradient": 0,
357 "gridPos": {
358 "h": 8,
359 "w": 12,
360 "x": 12,
361 "y": 7
362 },
363 "hiddenSeries": false,
364 "id": 15,
365 "legend": {
366 "avg": false,
367 "current": false,
368 "max": false,
369 "min": false,
370 "show": true,
371 "total": false,
372 "values": false
373 },
374 "lines": true,
375 "linewidth": 1,
376 "nullPointMode": "null",
377 "percentage": false,
378 "pluginVersion": "7.1.5",
379 "pointradius": 2,
380 "points": false,
381 "renderer": "flot",
382 "seriesOverrides": [],
383 "spaceLength": 10,
384 "stack": false,
385 "steppedLine": false,
386 "targets": [
387 {
388 "expr": "stratum_counters_in_errors",
389 "interval": "",
390 "legendFormat": "in-{{ source }}:{{ name }} ",
391 "refId": "A"
392 },
393 {
394 "expr": "stratum_counters_out_errors",
395 "interval": "",
396 "legendFormat": "out-{{ source }}:{{ name }}",
397 "refId": "B"
398 }
399 ],
400 "thresholds": [],
401 "timeFrom": null,
402 "timeRegions": [],
403 "timeShift": null,
404 "title": "Stratum Counter (errors)",
405 "tooltip": {
406 "shared": true,
407 "sort": 0,
408 "value_type": "individual"
409 },
410 "type": "graph",
411 "xaxis": {
412 "buckets": null,
413 "mode": "time",
414 "name": null,
415 "show": true,
416 "values": []
417 },
418 "yaxes": [
419 {
420 "$$hashKey": "object:162",
421 "format": "short",
422 "label": null,
423 "logBase": 1,
424 "max": null,
425 "min": "0",
426 "show": true
427 },
428 {
429 "$$hashKey": "object:163",
430 "format": "short",
431 "label": null,
432 "logBase": 1,
433 "max": null,
434 "min": null,
435 "show": true
436 }
437 ],
438 "yaxis": {
439 "align": false,
440 "alignLevel": null
441 }
442 },
443 {
444 "aliasColors": {},
445 "bars": false,
446 "dashLength": 10,
447 "dashes": false,
448 "datasource": "$datasource",
449 "fieldConfig": {
450 "defaults": {
451 "custom": {}
452 },
453 "overrides": []
454 },
455 "fill": 1,
456 "fillGradient": 0,
457 "gridPos": {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800458 "h": 6,
459 "w": 12,
460 "x": 0,
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -0700461 "y": 15
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800462 },
463 "hiddenSeries": false,
464 "id": 4,
465 "legend": {
466 "avg": false,
467 "current": false,
468 "max": false,
469 "min": false,
470 "show": true,
471 "total": false,
472 "values": false
473 },
474 "lines": true,
475 "linewidth": 1,
476 "nullPointMode": "null",
477 "percentage": false,
478 "pluginVersion": "7.1.5",
479 "pointradius": 2,
480 "points": false,
481 "renderer": "flot",
482 "seriesOverrides": [],
483 "spaceLength": 10,
484 "stack": false,
485 "steppedLine": false,
486 "targets": [
487 {
488 "expr": "sum(ping_average_response_ms{namespace=\"tost\"}) by (url)",
489 "interval": "",
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700490 "legendFormat": "average_{{ url }} ",
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800491 "refId": "A"
492 },
493 {
494 "expr": "sum(ping_maximum_response_ms{namespace=\"tost\"}) by (url)",
495 "interval": "",
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700496 "legendFormat": "max_{{ url }} ",
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800497 "refId": "B"
498 },
499 {
500 "expr": "sum(ping_minimum_response_ms{namespace=\"tost\"}) by (url)",
501 "interval": "",
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700502 "legendFormat": "min_{{ url }} ",
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800503 "refId": "C"
504 }
505 ],
506 "thresholds": [],
507 "timeFrom": null,
508 "timeRegions": [],
509 "timeShift": null,
510 "title": "Ping Response Time (MS)",
511 "tooltip": {
512 "shared": true,
513 "sort": 0,
514 "value_type": "individual"
515 },
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700516 "transformations": [
517 {
518 "id": "seriesToColumns",
519 "options": {}
520 },
521 {
522 "id": "organize",
523 "options": {
524 "excludeByName": {},
525 "indexByName": {},
526 "renameByName": {
527 "average_10.32.5.129 ": "average_mgmt",
528 "average_10.32.5.5 ": "average_eNB",
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700529 "average_10.32.7.1 ": "average_mgmt",
530 "average_10.32.7.10 ": "average_eNB",
531 "average_10.32.9.10 ": "average_eNB",
532 "average_10.64.1.10 ": "average_eNB",
533 "average_10.64.1.129 ": "average_mgmt",
534 "average_10.64.11.129 ": "average_mgmt",
535 "average_10.64.11.140 ": "average_eNB",
536 "average_10.64.13.1 ": "average_mgmt",
537 "average_10.64.13.10 ": "average_eNB",
538 "average_10.64.3.1 ": "average_mgmt",
539 "average_10.64.3.10 ": "average_eNB",
540 "average_10.64.5.1 ": "average_mgmt",
541 "average_10.64.5.10 ": "average_eNB",
542 "average_10.64.7.10 ": "average_eNB",
543 "average_10.64.7.129 ": "average_mgmt",
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700544 "max_10.32.5.129 ": "max_mgmt",
545 "max_10.32.5.5 ": "max_eNB",
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700546 "max_10.32.7.1 ": "max_mgmt",
547 "max_10.32.7.10 ": "max_eNB",
548 "max_10.32.9.10 ": "max_eNB",
549 "max_10.64.1.10 ": "max_eNB",
550 "max_10.64.1.129 ": "max_mgmt",
551 "max_10.64.11.129 ": "max_mgmt",
552 "max_10.64.11.140 ": "max_eNB",
553 "max_10.64.13.1 ": "max_mgmt",
554 "max_10.64.13.10 ": "max_eNB",
555 "max_10.64.3.1 ": "max_mgmt",
556 "max_10.64.3.10 ": "max_eNB",
557 "max_10.64.5.1 ": "max_mgmt",
558 "max_10.64.5.10 ": "max_eNB",
559 "max_10.64.7.10 ": "max_eNB",
560 "max_10.64.7.129 ": "max_mgmt",
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700561 "min_10.32.5.129 ": "min_mgmt",
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700562 "min_10.32.5.5 ": "min_eNB",
563 "min_10.32.7.1 ": "min_mgmt",
564 "min_10.32.7.10 ": "min_eNB",
565 "min_10.32.9.10 ": "min_eNB",
566 "min_10.64.1.10 ": "min_eNB",
567 "min_10.64.1.129 ": "min_mgmt",
568 "min_10.64.11.129 ": "min_mgmt",
569 "min_10.64.11.140 ": "min_eNB",
570 "min_10.64.13.1 ": "min_mgmt",
571 "min_10.64.13.10 ": "min_eNB",
572 "min_10.64.3.1 ": "min_mgmt",
573 "min_10.64.3.10 ": "min_eNB",
574 "min_10.64.5.1 ": "min_mgmt",
575 "min_10.64.5.10 ": "min_eNB",
576 "min_10.64.7.10 ": "min_eNB",
577 "min_10.64.7.129 ": "min_mgmt"
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700578 }
579 }
580 }
581 ],
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800582 "type": "graph",
583 "xaxis": {
584 "buckets": null,
585 "mode": "time",
586 "name": null,
587 "show": true,
588 "values": []
589 },
590 "yaxes": [
591 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800592 "format": "short",
593 "label": null,
594 "logBase": 1,
595 "max": null,
596 "min": null,
597 "show": true
598 },
599 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800600 "format": "short",
601 "label": null,
602 "logBase": 1,
603 "max": null,
604 "min": null,
605 "show": true
606 }
607 ],
608 "yaxis": {
609 "align": false,
610 "alignLevel": null
611 }
612 },
613 {
614 "aliasColors": {},
615 "bars": false,
616 "dashLength": 10,
617 "dashes": false,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700618 "datasource": "$datasource",
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800619 "fieldConfig": {
620 "defaults": {
621 "custom": {}
622 },
623 "overrides": []
624 },
625 "fill": 1,
626 "fillGradient": 0,
627 "gridPos": {
628 "h": 6,
629 "w": 12,
630 "x": 12,
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -0700631 "y": 15
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800632 },
633 "hiddenSeries": false,
634 "id": 2,
635 "legend": {
636 "avg": false,
637 "current": false,
638 "max": false,
639 "min": false,
640 "show": true,
641 "total": false,
642 "values": false
643 },
644 "lines": true,
645 "linewidth": 1,
646 "nullPointMode": "null",
647 "percentage": false,
648 "pluginVersion": "7.1.5",
649 "pointradius": 2,
650 "points": false,
651 "renderer": "flot",
652 "seriesOverrides": [],
653 "spaceLength": 10,
654 "stack": false,
655 "steppedLine": false,
656 "targets": [
657 {
658 "expr": "sum(ping_percent_packet_loss{namespace=\"tost\"}) by (url)",
659 "interval": "",
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700660 "legendFormat": "{{ url }}",
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800661 "refId": "A"
662 }
663 ],
664 "thresholds": [],
665 "timeFrom": null,
666 "timeRegions": [],
667 "timeShift": null,
668 "title": "Ping packet loss (%)",
669 "tooltip": {
670 "shared": true,
671 "sort": 0,
672 "value_type": "individual"
673 },
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700674 "transformations": [
675 {
676 "id": "seriesToColumns",
677 "options": {
678 "byField": "Time"
679 }
680 },
681 {
682 "id": "organize",
683 "options": {
684 "excludeByName": {},
685 "indexByName": {},
686 "renameByName": {
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -0700687 "10.32.5.129": "mgmt",
688 "10.32.5.5": "eNB",
689 "10.32.7.1": "mgmt",
690 "10.32.7.10": "eNB",
691 "10.32.9.10": "eNB",
692 "10.64.1.10": "eNB",
693 "10.64.1.129": "mgmt",
694 "10.64.11.129": "mgmt",
695 "10.64.11.140": "eNB",
696 "10.64.13.1": "mgmt",
697 "10.64.13.10": "eNB",
698 "10.64.3.1": "mgmt",
699 "10.64.3.10": "eNB",
700 "10.64.5.1": "eNB",
701 "10.64.5.129": "mgmt",
702 "10.64.7.10": "eNB",
703 "10.64.7.129": "mgmt",
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -0700704 "Time": ""
705 }
706 }
707 }
708 ],
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800709 "type": "graph",
710 "xaxis": {
711 "buckets": null,
712 "mode": "time",
713 "name": null,
714 "show": true,
715 "values": []
716 },
717 "yaxes": [
718 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800719 "format": "percent",
720 "label": null,
721 "logBase": 1,
722 "max": "100",
723 "min": "0",
724 "show": true
725 },
726 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800727 "format": "short",
728 "label": null,
729 "logBase": 1,
730 "max": null,
731 "min": null,
732 "show": true
733 }
734 ],
735 "yaxis": {
736 "align": false,
737 "alignLevel": null
738 }
739 },
740 {
741 "aliasColors": {},
742 "bars": false,
743 "dashLength": 10,
744 "dashes": false,
745 "datasource": "$es_datasource",
746 "description": "",
747 "fieldConfig": {
748 "defaults": {
749 "custom": {
750 "align": null
751 },
752 "mappings": [],
753 "thresholds": {
754 "mode": "absolute",
755 "steps": [
756 {
757 "color": "green",
758 "value": null
759 },
760 {
761 "color": "red",
762 "value": 80
763 }
764 ]
765 }
766 },
767 "overrides": []
768 },
769 "fill": 10,
770 "fillGradient": 0,
771 "gridPos": {
772 "h": 5,
773 "w": 12,
774 "x": 0,
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -0700775 "y": 21
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800776 },
777 "hiddenSeries": false,
778 "id": 6,
779 "legend": {
780 "avg": false,
781 "current": false,
782 "hideEmpty": false,
783 "hideZero": false,
784 "max": false,
785 "min": false,
786 "show": false,
787 "total": false,
788 "values": false
789 },
790 "lines": true,
791 "linewidth": 1,
792 "nullPointMode": "null",
793 "percentage": false,
794 "pluginVersion": "7.1.5",
795 "pointradius": 2,
796 "points": false,
797 "renderer": "flot",
798 "repeat": "pod",
799 "repeatDirection": "v",
800 "seriesOverrides": [],
801 "spaceLength": 10,
802 "stack": true,
803 "steppedLine": false,
804 "targets": [
805 {
806 "bucketAggs": [
807 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800808 "fake": true,
809 "field": "kubernetes.pod_name.keyword",
810 "id": "3",
811 "settings": {
812 "min_doc_count": "1",
813 "order": "desc",
814 "orderBy": "_term",
815 "size": "0"
816 },
817 "type": "terms"
818 },
819 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800820 "field": "@timestamp",
821 "id": "2",
822 "settings": {
823 "interval": "1m",
824 "min_doc_count": "0",
825 "trimEdges": 0
826 },
827 "type": "date_histogram"
828 }
829 ],
830 "metrics": [
831 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800832 "field": "select field",
833 "id": "1",
834 "meta": {},
835 "settings": {},
836 "type": "count"
837 }
838 ],
839 "query": "kubernetes.namespace_name.keyword:$es_namespace",
840 "refId": "A",
841 "timeField": "@timestamp"
842 }
843 ],
844 "thresholds": [],
845 "timeFrom": null,
846 "timeRegions": [],
847 "timeShift": null,
848 "title": "Namespace $es_namespace: Log Messages Per Minute",
849 "tooltip": {
850 "shared": true,
851 "sort": 0,
852 "value_type": "individual"
853 },
854 "transformations": [],
855 "type": "graph",
856 "xaxis": {
857 "buckets": null,
858 "mode": "time",
859 "name": null,
860 "show": true,
861 "values": []
862 },
863 "yaxes": [
864 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800865 "format": "short",
866 "label": null,
867 "logBase": 1,
868 "max": null,
869 "min": null,
870 "show": true
871 },
872 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800873 "format": "short",
874 "label": null,
875 "logBase": 1,
876 "max": null,
877 "min": null,
878 "show": true
879 }
880 ],
881 "yaxis": {
882 "align": false,
883 "alignLevel": null
884 }
885 },
886 {
887 "aliasColors": {},
888 "bars": false,
889 "dashLength": 10,
890 "dashes": false,
891 "datasource": "$es_datasource",
892 "description": "",
893 "fieldConfig": {
894 "defaults": {
895 "custom": {}
896 },
897 "overrides": []
898 },
899 "fill": 10,
900 "fillGradient": 0,
901 "gridPos": {
902 "h": 5,
903 "w": 12,
904 "x": 12,
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -0700905 "y": 21
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800906 },
907 "hiddenSeries": false,
908 "id": 8,
909 "legend": {
910 "avg": false,
911 "current": false,
912 "max": false,
913 "min": false,
914 "show": false,
915 "total": false,
916 "values": false
917 },
918 "lines": true,
919 "linewidth": 1,
920 "nullPointMode": "null",
921 "percentage": false,
922 "pluginVersion": "7.1.5",
923 "pointradius": 2,
924 "points": false,
925 "renderer": "flot",
926 "repeatDirection": "v",
927 "seriesOverrides": [],
928 "spaceLength": 10,
929 "stack": true,
930 "steppedLine": false,
931 "targets": [
932 {
933 "bucketAggs": [
934 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800935 "fake": true,
936 "field": "kubernetes.container_name.keyword",
937 "id": "3",
938 "settings": {
939 "min_doc_count": "1",
940 "order": "desc",
941 "orderBy": "_term",
942 "size": "0"
943 },
944 "type": "terms"
945 },
946 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800947 "field": "@timestamp",
948 "id": "2",
949 "settings": {
950 "interval": "1m",
951 "min_doc_count": "0",
952 "trimEdges": 0
953 },
954 "type": "date_histogram"
955 }
956 ],
957 "metrics": [
958 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800959 "field": "select field",
960 "id": "1",
961 "type": "count"
962 }
963 ],
964 "query": "kubernetes.pod_name.keyword:$es_pod AND kubernetes.namespace_name.keyword:$es_namespace AND (logLevel.keyword:$es_loglevel)",
965 "refId": "A",
966 "timeField": "@timestamp"
967 }
968 ],
969 "thresholds": [],
970 "timeFrom": null,
971 "timeRegions": [],
972 "timeShift": null,
973 "title": "Pod $es_pod: Log Messages per Minute",
974 "tooltip": {
975 "shared": true,
976 "sort": 0,
977 "value_type": "individual"
978 },
979 "type": "graph",
980 "xaxis": {
981 "buckets": null,
982 "mode": "time",
983 "name": null,
984 "show": true,
985 "values": []
986 },
987 "yaxes": [
988 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800989 "format": "short",
990 "label": null,
991 "logBase": 1,
992 "max": null,
993 "min": null,
994 "show": true
995 },
996 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -0800997 "format": "short",
998 "label": null,
999 "logBase": 1,
1000 "max": null,
1001 "min": null,
1002 "show": true
1003 }
1004 ],
1005 "yaxis": {
1006 "align": false,
1007 "alignLevel": null
1008 }
1009 },
1010 {
1011 "datasource": "$es_datasource",
1012 "description": "",
1013 "fieldConfig": {
1014 "defaults": {
1015 "custom": {
1016 "align": null
1017 },
1018 "mappings": [],
1019 "thresholds": {
1020 "mode": "absolute",
1021 "steps": [
1022 {
1023 "color": "green",
1024 "value": null
1025 },
1026 {
1027 "color": "red",
1028 "value": 80
1029 }
1030 ]
1031 }
1032 },
1033 "overrides": [
1034 {
1035 "matcher": {
1036 "id": "byName",
1037 "options": "_source"
1038 },
1039 "properties": [
1040 {
1041 "id": "custom.width",
1042 "value": 218
1043 }
1044 ]
1045 },
1046 {
1047 "matcher": {
1048 "id": "byName",
1049 "options": "kubernetes.container_hash"
1050 },
1051 "properties": [
1052 {
1053 "id": "custom.width",
1054 "value": 235
1055 }
1056 ]
1057 },
1058 {
1059 "matcher": {
1060 "id": "byName",
1061 "options": "kubernetes.container_image"
1062 },
1063 "properties": [
1064 {
1065 "id": "custom.width",
1066 "value": 178
1067 }
1068 ]
1069 },
1070 {
1071 "matcher": {
1072 "id": "byName",
1073 "options": "kubernetes.labels.release"
1074 },
1075 "properties": [
1076 {
1077 "id": "custom.width",
1078 "value": 168
1079 }
1080 ]
1081 }
1082 ]
1083 },
1084 "gridPos": {
1085 "h": 14,
1086 "w": 24,
1087 "x": 0,
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -07001088 "y": 26
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001089 },
1090 "id": 10,
1091 "options": {
1092 "showLabels": false,
1093 "showTime": true,
Hung-Wei Chiubbc1bfd2021-04-15 10:08:02 -07001094 "sortOrder": "Ascending",
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001095 "wrapLogMessage": false
1096 },
1097 "pluginVersion": "7.1.5",
1098 "repeatDirection": "v",
1099 "targets": [
1100 {
1101 "bucketAggs": [
1102 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001103 "field": "@timestamp",
1104 "id": "2",
1105 "settings": {
1106 "interval": "auto",
1107 "min_doc_count": 0,
1108 "trimEdges": 0
1109 },
1110 "type": "date_histogram"
1111 }
1112 ],
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -07001113 "hide": false,
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001114 "metrics": [
1115 {
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001116 "field": "select field",
1117 "id": "1",
1118 "meta": {},
1119 "settings": {},
1120 "type": "logs"
1121 }
1122 ],
1123 "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)",
1124 "refId": "A",
1125 "timeField": "@timestamp"
1126 }
1127 ],
1128 "timeFrom": null,
1129 "timeShift": null,
1130 "title": "$es_pod Logs ($es_container)",
1131 "transparent": true,
1132 "type": "logs"
1133 }
1134 ],
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -07001135 "refresh": false,
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001136 "schemaVersion": 26,
1137 "style": "dark",
1138 "tags": [],
1139 "templating": {
1140 "list": [
1141 {
1142 "current": {
1143 "selected": false,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -07001144 "text": "ace-menlo",
1145 "value": "ace-menlo"
1146 },
1147 "hide": 0,
1148 "includeAll": false,
1149 "label": "Datasource",
1150 "multi": false,
1151 "name": "datasource",
1152 "options": [],
1153 "query": "prometheus",
1154 "queryValue": "",
1155 "refresh": 1,
1156 "regex": "ace.*",
1157 "skipUrlSync": false,
1158 "type": "datasource"
1159 },
1160 {
1161 "current": {
1162 "selected": false,
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001163 "text": "ace-menlo-es",
1164 "value": "ace-menlo-es"
1165 },
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -07001166 "hide": 0,
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001167 "includeAll": false,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -07001168 "label": "Log_Datasource",
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001169 "multi": false,
1170 "name": "es_datasource",
1171 "options": [],
1172 "query": "elasticsearch",
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -07001173 "queryValue": "",
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001174 "refresh": 1,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -07001175 "regex": "ace.*",
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001176 "skipUrlSync": false,
1177 "type": "datasource"
1178 },
1179 {
1180 "current": {
Hung-Wei Chiubccf71d2021-03-08 14:31:33 -08001181 "selected": true,
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001182 "text": "tost",
1183 "value": "tost"
1184 },
1185 "hide": 2,
1186 "label": null,
1187 "name": "es_namespace",
1188 "options": [
1189 {
1190 "selected": true,
1191 "text": "tost",
1192 "value": "tost"
1193 }
1194 ],
1195 "query": "tost",
1196 "skipUrlSync": false,
1197 "type": "constant"
1198 },
1199 {
1200 "allValue": "stratum*",
1201 "current": {
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -07001202 "selected": false,
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -07001203 "text": "config",
1204 "value": "config"
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001205 },
1206 "datasource": "$es_datasource",
1207 "definition": "{\"find\": \"terms\", \"field\": \"kubernetes.pod_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace\"}",
1208 "hide": 0,
1209 "includeAll": false,
1210 "label": "Pod",
1211 "multi": false,
1212 "name": "es_pod",
1213 "options": [],
1214 "query": "{\"find\": \"terms\", \"field\": \"kubernetes.pod_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace\"}",
1215 "refresh": 2,
1216 "regex": "",
1217 "skipUrlSync": false,
1218 "sort": 0,
1219 "tagValuesQuery": "",
1220 "tags": [],
1221 "tagsQuery": "",
1222 "type": "query",
1223 "useTags": false
1224 },
1225 {
1226 "allValue": null,
1227 "current": {
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -07001228 "selected": false,
1229 "text": "All",
1230 "value": "$__all"
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001231 },
1232 "datasource": "$es_datasource",
1233 "definition": "{\"find\": \"terms\", \"field\": \"kubernetes.container_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace AND kubernetes.pod_name.keyword:$es_pod\"}\t",
1234 "hide": 0,
1235 "includeAll": true,
1236 "label": "Container",
1237 "multi": true,
1238 "name": "es_container",
1239 "options": [],
1240 "query": "{\"find\": \"terms\", \"field\": \"kubernetes.container_name.keyword\",\"query\":\"kubernetes.namespace_name.keyword:$es_namespace AND kubernetes.pod_name.keyword:$es_pod\"}\t",
1241 "refresh": 2,
1242 "regex": "",
1243 "skipUrlSync": false,
1244 "sort": 0,
1245 "tagValuesQuery": "",
1246 "tags": [],
1247 "tagsQuery": "",
1248 "type": "query",
1249 "useTags": false
1250 },
1251 {
1252 "allValue": "null OR *",
1253 "current": {
Hung-Wei Chiubd2830d2021-04-15 14:58:54 -07001254 "selected": false,
1255 "text": "All",
1256 "value": "$__all"
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001257 },
1258 "datasource": "$es_datasource",
1259 "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",
1260 "hide": 0,
1261 "includeAll": true,
1262 "label": "Log Level",
1263 "multi": true,
1264 "name": "es_loglevel",
1265 "options": [],
1266 "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",
1267 "refresh": 2,
1268 "regex": "",
1269 "skipUrlSync": false,
1270 "sort": 0,
1271 "tagValuesQuery": "",
1272 "tags": [],
1273 "tagsQuery": "",
1274 "type": "query",
1275 "useTags": false
1276 }
1277 ]
1278 },
1279 "time": {
Hung-Wei Chiu0009caa2021-05-05 15:09:16 -07001280 "from": "now-3h",
Hung-Wei Chiu04446442021-03-04 14:50:46 -08001281 "to": "now"
1282 },
1283 "timepicker": {
1284 "refresh_intervals": [
1285 "5s",
1286 "10s",
1287 "30s",
1288 "1m",
1289 "5m",
1290 "15m",
1291 "30m",
1292 "1h",
1293 "2h",
1294 "1d"
1295 ]
1296 },
1297 "timezone": "",
1298 "title": "TOST Metrics",
1299 "uid": "fVcZZm8Gk",
Hung-Wei Chiu1f95e932021-05-24 12:12:23 -07001300 "version": 1
1301}