blob: 0e2488db8069211ebe7e68a4998e5d015335b656 [file] [log] [blame]
Hyunsun Mooncd58a7b2019-12-08 03:37:13 -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,
18 "id": 3,
19 "links": [],
20 "panels": [
21 {
22 "collapsed": false,
23 "datasource": null,
24 "gridPos": {
25 "h": 1,
26 "w": 24,
27 "x": 0,
28 "y": 0
29 },
30 "id": 25,
31 "panels": [],
32 "repeat": "pod",
33 "title": "$pod usage",
34 "type": "row"
35 },
36 {
37 "cacheTimeout": null,
38 "colorBackground": false,
39 "colorValue": true,
40 "colors": [
41 "rgba(50, 172, 45, 0.97)",
42 "rgba(237, 129, 40, 0.89)",
43 "rgba(245, 54, 54, 0.9)"
44 ],
45 "datasource": "Prometheus",
46 "decimals": null,
47 "description": "",
48 "format": "percent",
49 "gauge": {
50 "maxValue": 100,
51 "minValue": 0,
52 "show": true,
53 "thresholdLabels": false,
54 "thresholdMarkers": true
55 },
56 "gridPos": {
57 "h": 5,
58 "w": 6,
59 "x": 0,
60 "y": 1
61 },
62 "id": 10,
63 "interval": null,
64 "links": [],
65 "mappingType": 1,
66 "mappingTypes": [
67 {
68 "name": "value to text",
69 "value": 1
70 },
71 {
72 "name": "range to text",
73 "value": 2
74 }
75 ],
76 "maxDataPoints": 100,
77 "maxPerRow": 12,
78 "nullPointMode": "null",
79 "nullText": null,
80 "options": {},
81 "postfix": "",
82 "postfixFontSize": "50%",
83 "prefix": "",
84 "prefixFontSize": "50%",
85 "rangeMaps": [
86 {
87 "from": "null",
88 "text": "N/A",
89 "to": "null"
90 }
91 ],
92 "repeat": null,
93 "repeatDirection": "v",
94 "scopedVars": {
95 "pod": {
96 "selected": false,
97 "text": "mme",
98 "value": "mme"
99 }
100 },
101 "sparkline": {
102 "fillColor": "rgba(31, 118, 189, 0.18)",
103 "full": false,
104 "lineColor": "rgb(31, 120, 193)",
105 "show": true
106 },
107 "tableColumn": "",
108 "targets": [
109 {
110 "expr": "100 * sum(irate(container_cpu_usage_seconds_total{pod_name=\"$pod-0\", image!=\"\", container_name!=\"POD\"}[3m])) by (pod_name) / sum(container_spec_cpu_quota{image!=\"\", container_name!=\"POD\"} / container_spec_cpu_period{image!=\"\", container_name!=\"POD\"}) by (pod_name)",
111 "format": "time_series",
112 "interval": "10s",
113 "intervalFactor": 1,
114 "legendFormat": "",
115 "refId": "A"
116 }
117 ],
118 "thresholds": "85,95",
119 "title": "CPU usage",
120 "type": "singlestat",
121 "valueFontSize": "80%",
122 "valueMaps": [
123 {
124 "op": "=",
125 "text": "N/A",
126 "value": "null"
127 }
128 ],
129 "valueName": "current"
130 },
131 {
132 "cacheTimeout": null,
133 "colorBackground": false,
134 "colorValue": true,
135 "colors": [
136 "rgba(50, 172, 45, 0.97)",
137 "rgba(237, 129, 40, 0.89)",
138 "rgba(245, 54, 54, 0.9)"
139 ],
140 "datasource": "Prometheus",
141 "decimals": null,
142 "description": "",
143 "format": "percent",
144 "gauge": {
145 "maxValue": 100,
146 "minValue": 0,
147 "show": true,
148 "thresholdLabels": false,
149 "thresholdMarkers": true
150 },
151 "gridPos": {
152 "h": 5,
153 "w": 6,
154 "x": 6,
155 "y": 1
156 },
157 "id": 12,
158 "interval": null,
159 "links": [],
160 "mappingType": 1,
161 "mappingTypes": [
162 {
163 "name": "value to text",
164 "value": 1
165 },
166 {
167 "name": "range to text",
168 "value": 2
169 }
170 ],
171 "maxDataPoints": 100,
172 "maxPerRow": 12,
173 "nullPointMode": "null",
174 "nullText": null,
175 "options": {},
176 "postfix": "",
177 "postfixFontSize": "50%",
178 "prefix": "",
179 "prefixFontSize": "50%",
180 "rangeMaps": [
181 {
182 "from": "null",
183 "text": "N/A",
184 "to": "null"
185 }
186 ],
187 "repeat": null,
188 "repeatDirection": "v",
189 "sparkline": {
190 "fillColor": "rgba(31, 118, 189, 0.18)",
191 "full": false,
192 "lineColor": "rgb(31, 120, 193)",
193 "show": true
194 },
195 "tableColumn": "",
196 "targets": [
197 {
198 "expr": "100 * (sum(container_memory_usage_bytes{pod_name=\"$pod-0\", container_name!=\"POD\"}) / sum(container_spec_memory_limit_bytes{pod_name=\"$pod-0\", container_name!=\"POD\"}))",
199 "format": "time_series",
200 "hide": false,
201 "instant": false,
202 "interval": "10s",
203 "intervalFactor": 1,
204 "refId": "A"
205 }
206 ],
207 "thresholds": "85,95",
208 "title": "Memory usage",
209 "type": "singlestat",
210 "valueFontSize": "80%",
211 "valueMaps": [
212 {
213 "op": "=",
214 "text": "N/A",
215 "value": "null"
216 }
217 ],
218 "valueName": "current"
219 },
220 {
221 "aliasColors": {},
222 "bars": false,
223 "dashLength": 10,
224 "dashes": false,
225 "datasource": null,
226 "fill": 2,
227 "fillGradient": 0,
228 "gridPos": {
229 "h": 9,
230 "w": 12,
231 "x": 12,
232 "y": 1
233 },
234 "id": 2,
235 "legend": {
236 "alignAsTable": true,
237 "avg": true,
238 "current": true,
239 "max": false,
240 "min": false,
241 "rightSide": true,
242 "show": true,
243 "total": false,
244 "values": true
245 },
246 "lines": true,
247 "linewidth": 2,
248 "links": [],
249 "nullPointMode": "null",
250 "options": {
251 "dataLinks": []
252 },
253 "percentage": false,
254 "pointradius": 5,
255 "points": false,
256 "renderer": "flot",
257 "repeat": null,
258 "repeatDirection": "v",
259 "seriesOverrides": [],
260 "spaceLength": 10,
261 "stack": false,
262 "steppedLine": false,
263 "targets": [
264 {
265 "expr": "sum(rate(container_network_receive_bytes_total{pod_name=\"$pod-0\", interface!=\"tunl0\"}[3m]))by (interface)",
266 "format": "time_series",
267 "interval": "10s",
268 "intervalFactor": 1,
269 "legendFormat": "rx: {{ interface }}",
270 "refId": "B"
271 },
272 {
273 "expr": "-sum(rate(container_network_transmit_bytes_total{pod_name=\"$pod-0\", interface!=\"tunl0\"}[3m]))by (interface)",
274 "format": "time_series",
275 "interval": "10s",
276 "intervalFactor": 1,
277 "legendFormat": "tx: {{ interface }}",
278 "refId": "A"
279 }
280 ],
281 "thresholds": [],
282 "timeFrom": null,
283 "timeRegions": [],
284 "timeShift": null,
285 "title": "Network I/O",
286 "tooltip": {
287 "shared": true,
288 "sort": 1,
289 "value_type": "individual"
290 },
291 "type": "graph",
292 "xaxis": {
293 "buckets": null,
294 "mode": "time",
295 "name": null,
296 "show": true,
297 "values": []
298 },
299 "yaxes": [
300 {
301 "format": "Bps",
302 "label": null,
303 "logBase": 1,
304 "max": null,
305 "min": null,
306 "show": true
307 },
308 {
309 "format": "Bps",
310 "label": null,
311 "logBase": 1,
312 "max": null,
313 "min": null,
314 "show": false
315 }
316 ],
317 "yaxis": {
318 "align": false,
319 "alignLevel": null
320 }
321 },
322 {
323 "cacheTimeout": null,
324 "colorBackground": false,
325 "colorValue": false,
326 "colors": [
327 "#299c46",
328 "rgba(237, 129, 40, 0.89)",
329 "#d44a3a"
330 ],
331 "datasource": null,
332 "format": "none",
333 "gauge": {
334 "maxValue": 100,
335 "minValue": 0,
336 "show": false,
337 "thresholdLabels": false,
338 "thresholdMarkers": true
339 },
340 "gridPos": {
341 "h": 4,
342 "w": 3,
343 "x": 0,
344 "y": 6
345 },
346 "id": 20,
347 "interval": null,
348 "links": [],
349 "mappingType": 1,
350 "mappingTypes": [
351 {
352 "name": "value to text",
353 "value": 1
354 },
355 {
356 "name": "range to text",
357 "value": 2
358 }
359 ],
360 "maxDataPoints": 100,
361 "nullPointMode": "connected",
362 "nullText": null,
363 "options": {},
364 "postfix": "",
365 "postfixFontSize": "50%",
366 "prefix": "",
367 "prefixFontSize": "50%",
368 "rangeMaps": [
369 {
370 "from": "null",
371 "text": "N/A",
372 "to": "null"
373 }
374 ],
375 "repeat": null,
376 "repeatDirection": "v",
377 "sparkline": {
378 "fillColor": "rgba(31, 118, 189, 0.18)",
379 "full": false,
380 "lineColor": "rgb(31, 120, 193)",
381 "show": false,
382 "ymax": null,
383 "ymin": null
384 },
385 "tableColumn": "",
386 "targets": [
387 {
388 "expr": "sum(kube_pod_container_resource_limits_cpu_cores{pod=\"$pod-0\"})",
389 "interval": "10s",
390 "refId": "A"
391 }
392 ],
393 "thresholds": "",
394 "timeFrom": null,
395 "timeShift": null,
396 "title": "CPU limits",
397 "type": "singlestat",
398 "valueFontSize": "80%",
399 "valueMaps": [
400 {
401 "op": "=",
402 "text": "N/A",
403 "value": "null"
404 }
405 ],
406 "valueName": "avg"
407 },
408 {
409 "cacheTimeout": null,
410 "colorBackground": false,
411 "colorValue": false,
412 "colors": [
413 "#299c46",
414 "rgba(237, 129, 40, 0.89)",
415 "#d44a3a"
416 ],
417 "datasource": null,
418 "format": "none",
419 "gauge": {
420 "maxValue": 100,
421 "minValue": 0,
422 "show": false,
423 "thresholdLabels": false,
424 "thresholdMarkers": true
425 },
426 "gridPos": {
427 "h": 4,
428 "w": 3,
429 "x": 3,
430 "y": 6
431 },
432 "id": 21,
433 "interval": null,
434 "links": [],
435 "mappingType": 1,
436 "mappingTypes": [
437 {
438 "name": "value to text",
439 "value": 1
440 },
441 {
442 "name": "range to text",
443 "value": 2
444 }
445 ],
446 "maxDataPoints": 100,
447 "nullPointMode": "connected",
448 "nullText": null,
449 "options": {},
450 "postfix": "",
451 "postfixFontSize": "50%",
452 "prefix": "",
453 "prefixFontSize": "50%",
454 "rangeMaps": [
455 {
456 "from": "null",
457 "text": "N/A",
458 "to": "null"
459 }
460 ],
461 "repeat": null,
462 "repeatDirection": "v",
463 "sparkline": {
464 "fillColor": "rgba(31, 118, 189, 0.18)",
465 "full": false,
466 "lineColor": "rgb(31, 120, 193)",
467 "show": false,
468 "ymax": null,
469 "ymin": null
470 },
471 "tableColumn": "",
472 "targets": [
473 {
474 "expr": "sum (rate (container_cpu_usage_seconds_total{image!=\"\", container_name!=\"POD\", pod_name=\"$pod-0\"}[5m]))",
475 "interval": "10s",
476 "refId": "A"
477 }
478 ],
479 "thresholds": "",
480 "timeFrom": null,
481 "timeShift": null,
482 "title": "CPU used (5m avg)",
483 "type": "singlestat",
484 "valueFontSize": "80%",
485 "valueMaps": [
486 {
487 "op": "=",
488 "text": "N/A",
489 "value": "null"
490 }
491 ],
492 "valueName": "avg"
493 },
494 {
495 "cacheTimeout": null,
496 "colorBackground": false,
497 "colorValue": false,
498 "colors": [
499 "#299c46",
500 "rgba(237, 129, 40, 0.89)",
501 "#d44a3a"
502 ],
503 "datasource": null,
504 "decimals": 2,
505 "format": "decbytes",
506 "gauge": {
507 "maxValue": 100,
508 "minValue": 0,
509 "show": false,
510 "thresholdLabels": false,
511 "thresholdMarkers": true
512 },
513 "gridPos": {
514 "h": 4,
515 "w": 3,
516 "x": 6,
517 "y": 6
518 },
519 "id": 22,
520 "interval": null,
521 "links": [],
522 "mappingType": 1,
523 "mappingTypes": [
524 {
525 "name": "value to text",
526 "value": 1
527 },
528 {
529 "name": "range to text",
530 "value": 2
531 }
532 ],
533 "maxDataPoints": 100,
534 "nullPointMode": "connected",
535 "nullText": null,
536 "options": {},
537 "postfix": "",
538 "postfixFontSize": "50%",
539 "prefix": "",
540 "prefixFontSize": "50%",
541 "rangeMaps": [
542 {
543 "from": "null",
544 "text": "N/A",
545 "to": "null"
546 }
547 ],
548 "repeat": null,
549 "repeatDirection": "v",
550 "sparkline": {
551 "fillColor": "rgba(31, 118, 189, 0.18)",
552 "full": false,
553 "lineColor": "rgb(31, 120, 193)",
554 "show": false,
555 "ymax": null,
556 "ymin": null
557 },
558 "tableColumn": "",
559 "targets": [
560 {
561 "expr": "sum(kube_pod_container_resource_limits_memory_bytes{pod=\"$pod-0\"})",
562 "refId": "A"
563 }
564 ],
565 "thresholds": "",
566 "timeFrom": null,
567 "timeShift": null,
568 "title": "Memory limits",
569 "type": "singlestat",
570 "valueFontSize": "80%",
571 "valueMaps": [
572 {
573 "op": "=",
574 "text": "N/A",
575 "value": "null"
576 }
577 ],
578 "valueName": "avg"
579 },
580 {
581 "cacheTimeout": null,
582 "colorBackground": false,
583 "colorValue": false,
584 "colors": [
585 "#299c46",
586 "rgba(237, 129, 40, 0.89)",
587 "#d44a3a"
588 ],
589 "datasource": null,
590 "format": "decbytes",
591 "gauge": {
592 "maxValue": 100,
593 "minValue": 0,
594 "show": false,
595 "thresholdLabels": false,
596 "thresholdMarkers": true
597 },
598 "gridPos": {
599 "h": 4,
600 "w": 3,
601 "x": 9,
602 "y": 6
603 },
604 "id": 23,
605 "interval": null,
606 "links": [],
607 "mappingType": 1,
608 "mappingTypes": [
609 {
610 "name": "value to text",
611 "value": 1
612 },
613 {
614 "name": "range to text",
615 "value": 2
616 }
617 ],
618 "maxDataPoints": 100,
619 "nullPointMode": "connected",
620 "nullText": null,
621 "options": {},
622 "postfix": "",
623 "postfixFontSize": "50%",
624 "prefix": "",
625 "prefixFontSize": "50%",
626 "rangeMaps": [
627 {
628 "from": "null",
629 "text": "N/A",
630 "to": "null"
631 }
632 ],
633 "repeat": null,
634 "repeatDirection": "v",
635 "sparkline": {
636 "fillColor": "rgba(31, 118, 189, 0.18)",
637 "full": false,
638 "lineColor": "rgb(31, 120, 193)",
639 "show": false,
640 "ymax": null,
641 "ymin": null
642 },
643 "tableColumn": "",
644 "targets": [
645 {
646 "expr": "sum(container_memory_working_set_bytes{container_name!=\"POD\", container_name!=\"\", pod_name=\"$pod-0\"})",
647 "interval": "10s",
648 "refId": "A"
649 }
650 ],
651 "thresholds": "",
652 "timeFrom": null,
653 "timeShift": null,
654 "title": "Memory used",
655 "type": "singlestat",
656 "valueFontSize": "80%",
657 "valueMaps": [
658 {
659 "op": "=",
660 "text": "N/A",
661 "value": "null"
662 }
663 ],
664 "valueName": "avg"
665 }
666 ],
667 "refresh": "5s",
668 "schemaVersion": 20,
669 "style": "dark",
670 "tags": [
671 "aether"
672 ],
673 "templating": {
674 "list": [
675 {
676 "allValue": ".*",
677 "current": {
678 "tags": [],
679 "text": "All",
680 "value": [
681 "$__all"
682 ]
683 },
684 "hide": 0,
685 "includeAll": true,
686 "label": "Pod",
687 "multi": true,
688 "name": "pod",
689 "options": [
690 {
691 "selected": true,
692 "text": "All",
693 "value": "$__all"
694 },
695 {
696 "selected": false,
697 "text": "mme",
698 "value": "mme"
699 },
700 {
701 "selected": false,
702 "text": "hss",
703 "value": "hss"
704 },
705 {
706 "selected": false,
707 "text": "spgwc",
708 "value": "spgwc"
709 }
710 ],
711 "query": "mme,hss,spgwc",
712 "skipUrlSync": false,
713 "type": "custom"
714 }
715 ]
716 },
717 "time": {
718 "from": "now-5m",
719 "to": "now"
720 },
721 "timepicker": {
722 "hidden": false,
723 "refresh_intervals": [
724 "5s",
725 "10s",
726 "30s",
727 "1m",
728 "5m",
729 "15m",
730 "30m",
731 "1h",
732 "2h",
733 "1d"
734 ],
735 "time_options": [
736 "5m",
737 "15m",
738 "1h",
739 "6h",
740 "12h",
741 "24h",
742 "2d",
743 "7d",
744 "30d"
745 ]
746 },
747 "timezone": "",
748 "title": "Aether Central Pods",
749 "uid": "gKU2e27Zb",
750 "version": 1
751}