2919440382c511307a82fdb223fe26203887f3b2
[osm/devops.git] / installers / k8s / summary-dashboard.yaml
1 #   Copyright 2019 Minsait - Indra S.A.
2 #
3 #   Licensed under the Apache License, Version 2.0 (the "License");
4 #   you may not use this file except in compliance with the License.
5 #   You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 #   Unless required by applicable law or agreed to in writing, software
10 #   distributed under the License is distributed on an "AS IS" BASIS,
11 #   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 #   See the License for the specific language governing permissions and
13 #   limitations under the License.
14 #   Author: Jose Manuel Palacios (jmpalacios@minsait.com)
15 #   Author: Jose Antonio Martinez (jamartinezv@minsait.com)
16
17 apiVersion: v1
18 kind: ConfigMap
19 metadata:
20   labels:
21     grafana_dashboard: "1"
22   name: osm-monitoring-prometheus-summary-grafana
23   annotations:
24     k8s-sidecar-target-directory: "/tmp/dashboards/Summary"
25 data:
26   summary-dashboard.json: |-
27     {
28       "annotations": {
29         "list": [
30           {
31             "builtIn": 1,
32             "datasource": "-- Grafana --",
33             "enable": true,
34             "hide": true,
35             "iconColor": "rgba(0, 211, 255, 1)",
36             "name": "Annotations & Alerts",
37             "type": "dashboard"
38           }
39         ]
40       },
41       "description": "Summary metrics about containers running on Kubernetes nodes and OSM Modules",
42       "editable": true,
43       "gnetId": 6417,
44       "graphTooltip": 1,
45       "id": 28,
46       "iteration": 1574687594565,
47       "links": [
48         {
49           "asDropdown": true,
50           "icon": "external link",
51           "includeVars": true,
52           "keepTime": false,
53           "tags": [
54             "osm-third-party-modules",
55             "kubernetes-cluster"
56           ],
57           "title": "Dashboards",
58           "type": "dashboards"
59         }
60       ],
61       "panels": [
62         {
63           "collapsed": false,
64           "gridPos": {
65             "h": 1,
66             "w": 24,
67             "x": 0,
68             "y": 0
69           },
70           "id": 2,
71           "panels": [],
72           "title": "Cluster Health",
73           "type": "row"
74         },
75         {
76           "cacheTimeout": null,
77           "colorBackground": false,
78           "colorValue": false,
79           "colors": [
80             "#299c46",
81             "rgba(237, 129, 40, 0.89)",
82             "#d44a3a"
83           ],
84           "datasource": "Prometheus",
85           "format": "percentunit",
86           "gauge": {
87             "maxValue": 100,
88             "minValue": 0,
89             "show": true,
90             "thresholdLabels": false,
91             "thresholdMarkers": true
92           },
93           "gridPos": {
94             "h": 4,
95             "w": 6,
96             "x": 0,
97             "y": 1
98           },
99           "id": 4,
100           "interval": null,
101           "links": [],
102           "mappingType": 1,
103           "mappingTypes": [
104             {
105               "name": "value to text",
106               "value": 1
107             },
108             {
109               "name": "range to text",
110               "value": 2
111             }
112           ],
113           "maxDataPoints": 100,
114           "nullPointMode": "connected",
115           "nullText": null,
116           "options": {},
117           "postfix": "",
118           "postfixFontSize": "50%",
119           "prefix": "",
120           "prefixFontSize": "50%",
121           "rangeMaps": [
122             {
123               "from": "null",
124               "text": "N/A",
125               "to": "null"
126             }
127           ],
128           "sparkline": {
129             "fillColor": "rgba(31, 118, 189, 0.18)",
130             "full": false,
131             "lineColor": "rgb(31, 120, 193)",
132             "show": false
133           },
134           "tableColumn": "",
135           "targets": [
136             {
137               "expr": "sum(kube_pod_info{node=~\"$node\"}) / sum(kube_node_status_allocatable_pods{node=~\".*\"})",
138               "format": "time_series",
139               "intervalFactor": 1,
140               "refId": "A"
141             }
142           ],
143           "thresholds": "80,90",
144           "title": "Cluster Pod Usage",
145           "type": "singlestat",
146           "valueFontSize": "80%",
147           "valueMaps": [
148             {
149               "op": "=",
150               "text": "N/A",
151               "value": "null"
152             }
153           ],
154           "valueName": "current"
155         },
156         {
157           "cacheTimeout": null,
158           "colorBackground": false,
159           "colorValue": false,
160           "colors": [
161             "#299c46",
162             "rgba(237, 129, 40, 0.89)",
163             "#d44a3a"
164           ],
165           "datasource": "Prometheus",
166           "format": "percentunit",
167           "gauge": {
168             "maxValue": 100,
169             "minValue": 0,
170             "show": true,
171             "thresholdLabels": false,
172             "thresholdMarkers": true
173           },
174           "gridPos": {
175             "h": 4,
176             "w": 6,
177             "x": 6,
178             "y": 1
179           },
180           "id": 5,
181           "interval": null,
182           "links": [],
183           "mappingType": 1,
184           "mappingTypes": [
185             {
186               "name": "value to text",
187               "value": 1
188             },
189             {
190               "name": "range to text",
191               "value": 2
192             }
193           ],
194           "maxDataPoints": 100,
195           "nullPointMode": "connected",
196           "nullText": null,
197           "options": {},
198           "postfix": "",
199           "postfixFontSize": "50%",
200           "prefix": "",
201           "prefixFontSize": "50%",
202           "rangeMaps": [
203             {
204               "from": "null",
205               "text": "N/A",
206               "to": "null"
207             }
208           ],
209           "sparkline": {
210             "fillColor": "rgba(31, 118, 189, 0.18)",
211             "full": false,
212             "lineColor": "rgb(31, 120, 193)",
213             "show": false
214           },
215           "tableColumn": "",
216           "targets": [
217             {
218               "expr": "sum(kube_pod_container_resource_requests_cpu_cores{node=~\"$node\"}) / sum(kube_node_status_allocatable_cpu_cores{node=~\"$node\"})",
219               "format": "time_series",
220               "intervalFactor": 1,
221               "refId": "A"
222             }
223           ],
224           "thresholds": "80,90",
225           "title": "Cluster CPU Usage",
226           "type": "singlestat",
227           "valueFontSize": "80%",
228           "valueMaps": [
229             {
230               "op": "=",
231               "text": "N/A",
232               "value": "null"
233             }
234           ],
235           "valueName": "current"
236         },
237         {
238           "cacheTimeout": null,
239           "colorBackground": false,
240           "colorValue": false,
241           "colors": [
242             "#299c46",
243             "rgba(237, 129, 40, 0.89)",
244             "#d44a3a"
245           ],
246           "datasource": "Prometheus",
247           "format": "percentunit",
248           "gauge": {
249             "maxValue": 100,
250             "minValue": 0,
251             "show": true,
252             "thresholdLabels": false,
253             "thresholdMarkers": true
254           },
255           "gridPos": {
256             "h": 4,
257             "w": 6,
258             "x": 12,
259             "y": 1
260           },
261           "id": 6,
262           "interval": null,
263           "links": [],
264           "mappingType": 1,
265           "mappingTypes": [
266             {
267               "name": "value to text",
268               "value": 1
269             },
270             {
271               "name": "range to text",
272               "value": 2
273             }
274           ],
275           "maxDataPoints": 100,
276           "nullPointMode": "connected",
277           "nullText": null,
278           "options": {},
279           "postfix": "",
280           "postfixFontSize": "50%",
281           "prefix": "",
282           "prefixFontSize": "50%",
283           "rangeMaps": [
284             {
285               "from": "null",
286               "text": "N/A",
287               "to": "null"
288             }
289           ],
290           "sparkline": {
291             "fillColor": "rgba(31, 118, 189, 0.18)",
292             "full": false,
293             "lineColor": "rgb(31, 120, 193)",
294             "show": false
295           },
296           "tableColumn": "",
297           "targets": [
298             {
299               "expr": "sum(kube_pod_container_resource_requests_memory_bytes{node=~\"$node\"}) / sum(kube_node_status_allocatable_memory_bytes{node=~\"$node\"})",
300               "format": "time_series",
301               "intervalFactor": 1,
302               "refId": "A"
303             }
304           ],
305           "thresholds": "80,90",
306           "title": "Cluster Memory Usage",
307           "type": "singlestat",
308           "valueFontSize": "80%",
309           "valueMaps": [
310             {
311               "op": "=",
312               "text": "N/A",
313               "value": "null"
314             }
315           ],
316           "valueName": "current"
317         },
318         {
319           "cacheTimeout": null,
320           "colorBackground": false,
321           "colorValue": false,
322           "colors": [
323             "#299c46",
324             "rgba(237, 129, 40, 0.89)",
325             "#d44a3a"
326           ],
327           "datasource": "Prometheus",
328           "format": "percentunit",
329           "gauge": {
330             "maxValue": 100,
331             "minValue": 0,
332             "show": true,
333             "thresholdLabels": false,
334             "thresholdMarkers": true
335           },
336           "gridPos": {
337             "h": 4,
338             "w": 6,
339             "x": 18,
340             "y": 1
341           },
342           "id": 7,
343           "interval": null,
344           "links": [],
345           "mappingType": 1,
346           "mappingTypes": [
347             {
348               "name": "value to text",
349               "value": 1
350             },
351             {
352               "name": "range to text",
353               "value": 2
354             }
355           ],
356           "maxDataPoints": 100,
357           "nullPointMode": "connected",
358           "nullText": null,
359           "options": {},
360           "postfix": "",
361           "postfixFontSize": "50%",
362           "prefix": "",
363           "prefixFontSize": "50%",
364           "rangeMaps": [
365             {
366               "from": "null",
367               "text": "N/A",
368               "to": "null"
369             }
370           ],
371           "sparkline": {
372             "fillColor": "rgba(31, 118, 189, 0.18)",
373             "full": false,
374             "lineColor": "rgb(31, 120, 193)",
375             "show": false
376           },
377           "tableColumn": "",
378           "targets": [
379             {
380               "expr": "(sum (node_filesystem_size_bytes{nodename=~\"$node\"}) - sum (node_filesystem_free_bytes{nodename=~\"$node\"})) / sum (node_filesystem_size_bytes{nodename=~\"$node\"})",
381               "format": "time_series",
382               "intervalFactor": 1,
383               "refId": "A"
384             }
385           ],
386           "thresholds": "80,90",
387           "title": "Cluster Disk Usage",
388           "type": "singlestat",
389           "valueFontSize": "80%",
390           "valueMaps": [
391             {
392               "op": "=",
393               "text": "N/A",
394               "value": "null"
395             }
396           ],
397           "valueName": "current"
398         },
399         {
400           "aliasColors": {},
401           "bars": false,
402           "dashLength": 10,
403           "dashes": false,
404           "datasource": "Prometheus",
405           "fill": 1,
406           "fillGradient": 0,
407           "gridPos": {
408             "h": 5,
409             "w": 6,
410             "x": 0,
411             "y": 5
412           },
413           "id": 9,
414           "legend": {
415             "avg": false,
416             "current": false,
417             "max": false,
418             "min": false,
419             "show": true,
420             "total": false,
421             "values": false
422           },
423           "lines": true,
424           "linewidth": 1,
425           "links": [],
426           "nullPointMode": "null",
427           "options": {
428             "dataLinks": []
429           },
430           "percentage": false,
431           "pointradius": 5,
432           "points": false,
433           "renderer": "flot",
434           "seriesOverrides": [],
435           "spaceLength": 10,
436           "stack": false,
437           "steppedLine": false,
438           "targets": [
439             {
440               "expr": "sum(kube_node_status_allocatable_pods{node=~\"$node\"})",
441               "format": "time_series",
442               "intervalFactor": 1,
443               "legendFormat": "allocatable",
444               "refId": "A"
445             },
446             {
447               "expr": "sum(kube_node_status_capacity_pods{node=~\"$node\"})",
448               "format": "time_series",
449               "intervalFactor": 1,
450               "legendFormat": "capacity",
451               "refId": "B"
452             },
453             {
454               "expr": "sum(kube_pod_info{node=~\"$node\"})",
455               "format": "time_series",
456               "intervalFactor": 1,
457               "legendFormat": "requested",
458               "refId": "C"
459             }
460           ],
461           "thresholds": [],
462           "timeFrom": null,
463           "timeRegions": [],
464           "timeShift": null,
465           "title": "Cluster Pod Capacity",
466           "tooltip": {
467             "shared": true,
468             "sort": 0,
469             "value_type": "individual"
470           },
471           "type": "graph",
472           "xaxis": {
473             "buckets": null,
474             "mode": "time",
475             "name": null,
476             "show": true,
477             "values": []
478           },
479           "yaxes": [
480             {
481               "format": "short",
482               "label": "pods",
483               "logBase": 1,
484               "max": null,
485               "min": null,
486               "show": true
487             },
488             {
489               "format": "short",
490               "label": null,
491               "logBase": 1,
492               "max": null,
493               "min": null,
494               "show": true
495             }
496           ],
497           "yaxis": {
498             "align": false,
499             "alignLevel": null
500           }
501         },
502         {
503           "aliasColors": {},
504           "bars": false,
505           "dashLength": 10,
506           "dashes": false,
507           "datasource": "Prometheus",
508           "fill": 1,
509           "fillGradient": 0,
510           "gridPos": {
511             "h": 5,
512             "w": 6,
513             "x": 6,
514             "y": 5
515           },
516           "id": 10,
517           "legend": {
518             "avg": false,
519             "current": false,
520             "max": false,
521             "min": false,
522             "show": true,
523             "total": false,
524             "values": false
525           },
526           "lines": true,
527           "linewidth": 1,
528           "links": [],
529           "nullPointMode": "null",
530           "options": {
531             "dataLinks": []
532           },
533           "percentage": false,
534           "pointradius": 5,
535           "points": false,
536           "renderer": "flot",
537           "seriesOverrides": [],
538           "spaceLength": 10,
539           "stack": false,
540           "steppedLine": false,
541           "targets": [
542             {
543               "expr": "sum(kube_node_status_capacity_cpu_cores{node=~\"$node\"})",
544               "format": "time_series",
545               "intervalFactor": 1,
546               "legendFormat": "allocatable",
547               "refId": "A"
548             },
549             {
550               "expr": "sum(kube_node_status_allocatable_cpu_cores{node=~\"$node\"})",
551               "format": "time_series",
552               "intervalFactor": 1,
553               "legendFormat": "capacity",
554               "refId": "B"
555             },
556             {
557               "expr": "sum(kube_pod_container_resource_requests_cpu_cores{node=~\"$node\"})",
558               "format": "time_series",
559               "intervalFactor": 1,
560               "legendFormat": "requested",
561               "refId": "C"
562             }
563           ],
564           "thresholds": [],
565           "timeFrom": null,
566           "timeRegions": [],
567           "timeShift": null,
568           "title": "Cluster CPU Capacity",
569           "tooltip": {
570             "shared": true,
571             "sort": 0,
572             "value_type": "individual"
573           },
574           "type": "graph",
575           "xaxis": {
576             "buckets": null,
577             "mode": "time",
578             "name": null,
579             "show": true,
580             "values": []
581           },
582           "yaxes": [
583             {
584               "decimals": null,
585               "format": "none",
586               "label": "cores",
587               "logBase": 1,
588               "max": null,
589               "min": null,
590               "show": true
591             },
592             {
593               "format": "short",
594               "label": null,
595               "logBase": 1,
596               "max": null,
597               "min": null,
598               "show": true
599             }
600           ],
601           "yaxis": {
602             "align": false,
603             "alignLevel": null
604           }
605         },
606         {
607           "aliasColors": {},
608           "bars": false,
609           "dashLength": 10,
610           "dashes": false,
611           "datasource": "Prometheus",
612           "fill": 1,
613           "fillGradient": 0,
614           "gridPos": {
615             "h": 5,
616             "w": 6,
617             "x": 12,
618             "y": 5
619           },
620           "id": 11,
621           "legend": {
622             "avg": false,
623             "current": false,
624             "max": false,
625             "min": false,
626             "show": true,
627             "total": false,
628             "values": false
629           },
630           "lines": true,
631           "linewidth": 1,
632           "links": [],
633           "nullPointMode": "null",
634           "options": {
635             "dataLinks": []
636           },
637           "percentage": false,
638           "pointradius": 5,
639           "points": false,
640           "renderer": "flot",
641           "seriesOverrides": [],
642           "spaceLength": 10,
643           "stack": false,
644           "steppedLine": false,
645           "targets": [
646             {
647               "expr": "sum(kube_node_status_allocatable_memory_bytes{node=~\"$node\"})",
648               "format": "time_series",
649               "intervalFactor": 1,
650               "legendFormat": "allocatable",
651               "refId": "A"
652             },
653             {
654               "expr": "sum(kube_node_status_capacity_memory_bytes{node=~\"$node\"})",
655               "format": "time_series",
656               "intervalFactor": 1,
657               "legendFormat": "capacity",
658               "refId": "B"
659             },
660             {
661               "expr": "sum(kube_pod_container_resource_requests_memory_bytes{node=~\"$node\"})",
662               "format": "time_series",
663               "intervalFactor": 1,
664               "legendFormat": "requested",
665               "refId": "C"
666             }
667           ],
668           "thresholds": [],
669           "timeFrom": null,
670           "timeRegions": [],
671           "timeShift": null,
672           "title": "Cluster Mem Capacity",
673           "tooltip": {
674             "shared": true,
675             "sort": 0,
676             "value_type": "individual"
677           },
678           "type": "graph",
679           "xaxis": {
680             "buckets": null,
681             "mode": "time",
682             "name": null,
683             "show": true,
684             "values": []
685           },
686           "yaxes": [
687             {
688               "format": "decbytes",
689               "label": null,
690               "logBase": 1,
691               "max": null,
692               "min": null,
693               "show": true
694             },
695             {
696               "format": "short",
697               "label": null,
698               "logBase": 1,
699               "max": null,
700               "min": null,
701               "show": true
702             }
703           ],
704           "yaxis": {
705             "align": false,
706             "alignLevel": null
707           }
708         },
709         {
710           "aliasColors": {},
711           "bars": false,
712           "dashLength": 10,
713           "dashes": false,
714           "datasource": "Prometheus",
715           "fill": 1,
716           "fillGradient": 0,
717           "gridPos": {
718             "h": 5,
719             "w": 6,
720             "x": 18,
721             "y": 5
722           },
723           "id": 12,
724           "legend": {
725             "avg": false,
726             "current": false,
727             "max": false,
728             "min": false,
729             "show": true,
730             "total": false,
731             "values": false
732           },
733           "lines": true,
734           "linewidth": 1,
735           "links": [],
736           "nullPointMode": "null",
737           "options": {
738             "dataLinks": []
739           },
740           "percentage": false,
741           "pointradius": 5,
742           "points": false,
743           "renderer": "flot",
744           "seriesOverrides": [],
745           "spaceLength": 10,
746           "stack": false,
747           "steppedLine": false,
748           "targets": [
749             {
750               "expr": "sum(node_filesystem_size_bytes{nodename=~\"$node\"}) - sum(node_filesystem_free_bytes{nodename=~\"$node\"})",
751               "format": "time_series",
752               "intervalFactor": 1,
753               "legendFormat": "usage",
754               "refId": "A"
755             },
756             {
757               "expr": "sum(node_filesystem_size_bytes{nodename=~\"$node\"})",
758               "format": "time_series",
759               "intervalFactor": 1,
760               "legendFormat": "limit",
761               "refId": "B"
762             }
763           ],
764           "thresholds": [],
765           "timeFrom": null,
766           "timeRegions": [],
767           "timeShift": null,
768           "title": "Cluster Disk Capacity",
769           "tooltip": {
770             "shared": true,
771             "sort": 0,
772             "value_type": "individual"
773           },
774           "type": "graph",
775           "xaxis": {
776             "buckets": null,
777             "mode": "time",
778             "name": null,
779             "show": true,
780             "values": []
781           },
782           "yaxes": [
783             {
784               "format": "decbytes",
785               "label": null,
786               "logBase": 1,
787               "max": null,
788               "min": null,
789               "show": true
790             },
791             {
792               "format": "short",
793               "label": null,
794               "logBase": 1,
795               "max": null,
796               "min": null,
797               "show": true
798             }
799           ],
800           "yaxis": {
801             "align": false,
802             "alignLevel": null
803           }
804         },
805         {
806           "collapsed": false,
807           "gridPos": {
808             "h": 1,
809             "w": 24,
810             "x": 0,
811             "y": 10
812           },
813           "id": 14,
814           "panels": [],
815           "title": "Deployments",
816           "type": "row"
817         },
818         {
819           "columns": [
820             {
821               "text": "Current",
822               "value": "current"
823             }
824           ],
825           "datasource": "Prometheus",
826           "fontSize": "100%",
827           "gridPos": {
828             "h": 5,
829             "w": 6,
830             "x": 0,
831             "y": 11
832           },
833           "id": 16,
834           "links": [],
835           "options": {},
836           "pageSize": null,
837           "scroll": true,
838           "showHeader": true,
839           "sort": {
840             "col": 1,
841             "desc": true
842           },
843           "styles": [
844             {
845               "alias": "Time",
846               "dateFormat": "YYYY-MM-DD HH:mm:ss",
847               "pattern": "Time",
848               "type": "date"
849             },
850             {
851               "alias": "",
852               "colorMode": "row",
853               "colors": [
854                 "rgba(245, 54, 54, 0.9)",
855                 "rgba(237, 129, 40, 0.89)",
856                 "rgba(50, 172, 45, 0.97)"
857               ],
858               "decimals": 0,
859               "pattern": "Metric",
860               "thresholds": [
861                 "0",
862                 "0",
863                 ".9"
864               ],
865               "type": "string",
866               "unit": "none"
867             },
868             {
869               "alias": "",
870               "colorMode": "row",
871               "colors": [
872                 "rgba(245, 54, 54, 0.9)",
873                 "rgba(237, 129, 40, 0.89)",
874                 "rgba(50, 172, 45, 0.97)"
875               ],
876               "dateFormat": "YYYY-MM-DD HH:mm:ss",
877               "decimals": 0,
878               "link": false,
879               "pattern": "Value",
880               "thresholds": [
881                 "0",
882                 "1"
883               ],
884               "type": "number",
885               "unit": "none"
886             }
887           ],
888           "targets": [
889             {
890               "expr": "kube_deployment_status_replicas{namespace=~\"$namespace\"}",
891               "format": "time_series",
892               "instant": true,
893               "interval": "",
894               "intervalFactor": 1,
895               "legendFormat": "{{ deployment }}",
896               "refId": "A"
897             }
898           ],
899           "title": "Deployment Replicas - Up To Date",
900           "transform": "timeseries_to_rows",
901           "type": "table"
902         },
903         {
904           "cacheTimeout": null,
905           "colorBackground": false,
906           "colorValue": false,
907           "colors": [
908             "#299c46",
909             "rgba(237, 129, 40, 0.89)",
910             "#d44a3a"
911           ],
912           "datasource": "Prometheus",
913           "format": "none",
914           "gauge": {
915             "maxValue": 100,
916             "minValue": 0,
917             "show": false,
918             "thresholdLabels": false,
919             "thresholdMarkers": true
920           },
921           "gridPos": {
922             "h": 5,
923             "w": 6,
924             "x": 6,
925             "y": 11
926           },
927           "id": 18,
928           "interval": null,
929           "links": [],
930           "mappingType": 1,
931           "mappingTypes": [
932             {
933               "name": "value to text",
934               "value": 1
935             },
936             {
937               "name": "range to text",
938               "value": 2
939             }
940           ],
941           "maxDataPoints": 100,
942           "nullPointMode": "connected",
943           "nullText": null,
944           "options": {},
945           "postfix": "",
946           "postfixFontSize": "50%",
947           "prefix": "",
948           "prefixFontSize": "50%",
949           "rangeMaps": [
950             {
951               "from": "null",
952               "text": "N/A",
953               "to": "null"
954             }
955           ],
956           "sparkline": {
957             "fillColor": "rgba(31, 118, 189, 0.18)",
958             "full": false,
959             "lineColor": "rgb(31, 120, 193)",
960             "show": false
961           },
962           "tableColumn": "",
963           "targets": [
964             {
965               "expr": "sum(kube_deployment_status_replicas{namespace=~\"$namespace\"})",
966               "format": "time_series",
967               "intervalFactor": 1,
968               "refId": "A"
969             }
970           ],
971           "thresholds": "",
972           "title": "Deployment Replicas",
973           "type": "singlestat",
974           "valueFontSize": "80%",
975           "valueMaps": [
976             {
977               "op": "=",
978               "text": "N/A",
979               "value": "null"
980             }
981           ],
982           "valueName": "avg"
983         },
984         {
985           "cacheTimeout": null,
986           "colorBackground": false,
987           "colorValue": false,
988           "colors": [
989             "#299c46",
990             "rgba(237, 129, 40, 0.89)",
991             "#d44a3a"
992           ],
993           "datasource": "Prometheus",
994           "format": "none",
995           "gauge": {
996             "maxValue": 100,
997             "minValue": 0,
998             "show": false,
999             "thresholdLabels": false,
1000             "thresholdMarkers": true
1001           },
1002           "gridPos": {
1003             "h": 5,
1004             "w": 6,
1005             "x": 12,
1006             "y": 11
1007           },
1008           "id": 19,
1009           "interval": null,
1010           "links": [],
1011           "mappingType": 1,
1012           "mappingTypes": [
1013             {
1014               "name": "value to text",
1015               "value": 1
1016             },
1017             {
1018               "name": "range to text",
1019               "value": 2
1020             }
1021           ],
1022           "maxDataPoints": 100,
1023           "nullPointMode": "connected",
1024           "nullText": null,
1025           "options": {},
1026           "postfix": "",
1027           "postfixFontSize": "50%",
1028           "prefix": "",
1029           "prefixFontSize": "50%",
1030           "rangeMaps": [
1031             {
1032               "from": "null",
1033               "text": "N/A",
1034               "to": "null"
1035             }
1036           ],
1037           "sparkline": {
1038             "fillColor": "rgba(31, 118, 189, 0.18)",
1039             "full": false,
1040             "lineColor": "rgb(31, 120, 193)",
1041             "show": false
1042           },
1043           "tableColumn": "",
1044           "targets": [
1045             {
1046               "expr": "sum(kube_deployment_status_replicas_updated{namespace=~\"$namespace\"})",
1047               "format": "time_series",
1048               "intervalFactor": 1,
1049               "refId": "A"
1050             }
1051           ],
1052           "thresholds": "",
1053           "title": "Deployment Replicas - Updated",
1054           "type": "singlestat",
1055           "valueFontSize": "80%",
1056           "valueMaps": [
1057             {
1058               "op": "=",
1059               "text": "N/A",
1060               "value": "null"
1061             }
1062           ],
1063           "valueName": "avg"
1064         },
1065         {
1066           "cacheTimeout": null,
1067           "colorBackground": false,
1068           "colorValue": false,
1069           "colors": [
1070             "#299c46",
1071             "rgba(237, 129, 40, 0.89)",
1072             "#d44a3a"
1073           ],
1074           "datasource": "Prometheus",
1075           "format": "none",
1076           "gauge": {
1077             "maxValue": 100,
1078             "minValue": 0,
1079             "show": false,
1080             "thresholdLabels": false,
1081             "thresholdMarkers": true
1082           },
1083           "gridPos": {
1084             "h": 5,
1085             "w": 6,
1086             "x": 18,
1087             "y": 11
1088           },
1089           "id": 20,
1090           "interval": null,
1091           "links": [],
1092           "mappingType": 1,
1093           "mappingTypes": [
1094             {
1095               "name": "value to text",
1096               "value": 1
1097             },
1098             {
1099               "name": "range to text",
1100               "value": 2
1101             }
1102           ],
1103           "maxDataPoints": 100,
1104           "nullPointMode": "connected",
1105           "nullText": null,
1106           "options": {},
1107           "postfix": "",
1108           "postfixFontSize": "50%",
1109           "prefix": "",
1110           "prefixFontSize": "50%",
1111           "rangeMaps": [
1112             {
1113               "from": "null",
1114               "text": "N/A",
1115               "to": "null"
1116             }
1117           ],
1118           "sparkline": {
1119             "fillColor": "rgba(31, 118, 189, 0.18)",
1120             "full": false,
1121             "lineColor": "rgb(31, 120, 193)",
1122             "show": false
1123           },
1124           "tableColumn": "",
1125           "targets": [
1126             {
1127               "expr": "sum(kube_deployment_status_replicas_unavailable{namespace=~\"$namespace\"})",
1128               "format": "time_series",
1129               "intervalFactor": 1,
1130               "refId": "A"
1131             }
1132           ],
1133           "thresholds": "",
1134           "title": "Deployment Replicas - Unavailable",
1135           "type": "singlestat",
1136           "valueFontSize": "80%",
1137           "valueMaps": [
1138             {
1139               "op": "=",
1140               "text": "N/A",
1141               "value": "null"
1142             }
1143           ],
1144           "valueName": "avg"
1145         },
1146         {
1147           "collapsed": false,
1148           "gridPos": {
1149             "h": 1,
1150             "w": 24,
1151             "x": 0,
1152             "y": 16
1153           },
1154           "id": 22,
1155           "panels": [],
1156           "title": "Node",
1157           "type": "row"
1158         },
1159         {
1160           "cacheTimeout": null,
1161           "colorBackground": false,
1162           "colorValue": false,
1163           "colors": [
1164             "#299c46",
1165             "rgba(237, 129, 40, 0.89)",
1166             "#d44a3a"
1167           ],
1168           "datasource": "Prometheus",
1169           "format": "none",
1170           "gauge": {
1171             "maxValue": 100,
1172             "minValue": 0,
1173             "show": false,
1174             "thresholdLabels": false,
1175             "thresholdMarkers": true
1176           },
1177           "gridPos": {
1178             "h": 3,
1179             "w": 8,
1180             "x": 0,
1181             "y": 17
1182           },
1183           "id": 24,
1184           "interval": null,
1185           "links": [],
1186           "mappingType": 1,
1187           "mappingTypes": [
1188             {
1189               "name": "value to text",
1190               "value": 1
1191             },
1192             {
1193               "name": "range to text",
1194               "value": 2
1195             }
1196           ],
1197           "maxDataPoints": 100,
1198           "nullPointMode": "connected",
1199           "nullText": null,
1200           "options": {},
1201           "postfix": "",
1202           "postfixFontSize": "50%",
1203           "prefix": "",
1204           "prefixFontSize": "50%",
1205           "rangeMaps": [
1206             {
1207               "from": "null",
1208               "text": "N/A",
1209               "to": "null"
1210             }
1211           ],
1212           "sparkline": {
1213             "fillColor": "rgba(31, 118, 189, 0.18)",
1214             "full": false,
1215             "lineColor": "rgb(31, 120, 193)",
1216             "show": false
1217           },
1218           "tableColumn": "",
1219           "targets": [
1220             {
1221               "expr": "sum(kube_node_info{node=~\"$node\"})",
1222               "format": "time_series",
1223               "intervalFactor": 1,
1224               "refId": "A"
1225             }
1226           ],
1227           "thresholds": "",
1228           "title": "Number Of Nodes",
1229           "type": "singlestat",
1230           "valueFontSize": "80%",
1231           "valueMaps": [
1232             {
1233               "op": "=",
1234               "text": "N/A",
1235               "value": "null"
1236             }
1237           ],
1238           "valueName": "avg"
1239         },
1240         {
1241           "cacheTimeout": null,
1242           "colorBackground": true,
1243           "colorValue": false,
1244           "colors": [
1245             "#299c46",
1246             "rgba(237, 129, 40, 0.89)",
1247             "#d44a3a"
1248           ],
1249           "datasource": "Prometheus",
1250           "format": "none",
1251           "gauge": {
1252             "maxValue": 100,
1253             "minValue": 0,
1254             "show": false,
1255             "thresholdLabels": false,
1256             "thresholdMarkers": true
1257           },
1258           "gridPos": {
1259             "h": 3,
1260             "w": 8,
1261             "x": 8,
1262             "y": 17
1263           },
1264           "id": 25,
1265           "interval": null,
1266           "links": [],
1267           "mappingType": 1,
1268           "mappingTypes": [
1269             {
1270               "name": "value to text",
1271               "value": 1
1272             },
1273             {
1274               "name": "range to text",
1275               "value": 2
1276             }
1277           ],
1278           "maxDataPoints": 100,
1279           "nullPointMode": "connected",
1280           "nullText": null,
1281           "options": {},
1282           "postfix": "",
1283           "postfixFontSize": "50%",
1284           "prefix": "",
1285           "prefixFontSize": "50%",
1286           "rangeMaps": [
1287             {
1288               "from": "null",
1289               "text": "N/A",
1290               "to": "null"
1291             }
1292           ],
1293           "sparkline": {
1294             "fillColor": "rgba(31, 118, 189, 0.18)",
1295             "full": false,
1296             "lineColor": "rgb(31, 120, 193)",
1297             "show": false
1298           },
1299           "tableColumn": "",
1300           "targets": [
1301             {
1302               "expr": "sum(kube_node_status_condition{condition=\"OutOfDisk\", node=~\"$node\", status=\"true\"})  or vector(0)",
1303               "format": "time_series",
1304               "intervalFactor": 1,
1305               "refId": "A"
1306             }
1307           ],
1308           "thresholds": "1",
1309           "title": "Nodes Out of Disk",
1310           "type": "singlestat",
1311           "valueFontSize": "80%",
1312           "valueMaps": [
1313             {
1314               "op": "=",
1315               "text": "N/A",
1316               "value": "null"
1317             }
1318           ],
1319           "valueName": "current"
1320         },
1321         {
1322           "cacheTimeout": null,
1323           "colorBackground": true,
1324           "colorValue": false,
1325           "colors": [
1326             "#299c46",
1327             "rgba(237, 129, 40, 0.89)",
1328             "#d44a3a"
1329           ],
1330           "datasource": "Prometheus",
1331           "format": "none",
1332           "gauge": {
1333             "maxValue": 100,
1334             "minValue": 0,
1335             "show": false,
1336             "thresholdLabels": false,
1337             "thresholdMarkers": true
1338           },
1339           "gridPos": {
1340             "h": 3,
1341             "w": 8,
1342             "x": 16,
1343             "y": 17
1344           },
1345           "id": 26,
1346           "interval": null,
1347           "links": [],
1348           "mappingType": 1,
1349           "mappingTypes": [
1350             {
1351               "name": "value to text",
1352               "value": 1
1353             },
1354             {
1355               "name": "range to text",
1356               "value": 2
1357             }
1358           ],
1359           "maxDataPoints": 100,
1360           "nullPointMode": "connected",
1361           "nullText": null,
1362           "options": {},
1363           "postfix": "",
1364           "postfixFontSize": "50%",
1365           "prefix": "",
1366           "prefixFontSize": "50%",
1367           "rangeMaps": [
1368             {
1369               "from": "null",
1370               "text": "N/A",
1371               "to": "null"
1372             }
1373           ],
1374           "sparkline": {
1375             "fillColor": "rgba(31, 118, 189, 0.18)",
1376             "full": false,
1377             "lineColor": "rgb(31, 120, 193)",
1378             "show": false
1379           },
1380           "tableColumn": "",
1381           "targets": [
1382             {
1383               "expr": "sum(kube_node_spec_unschedulable{node=~\"$node\"})",
1384               "format": "time_series",
1385               "intervalFactor": 1,
1386               "refId": "A"
1387             }
1388           ],
1389           "thresholds": "1",
1390           "title": "Nodes Unavailable",
1391           "type": "singlestat",
1392           "valueFontSize": "80%",
1393           "valueMaps": [
1394             {
1395               "op": "=",
1396               "text": "N/A",
1397               "value": "null"
1398             }
1399           ],
1400           "valueName": "current"
1401         },
1402         {
1403           "collapsed": false,
1404           "gridPos": {
1405             "h": 1,
1406             "w": 24,
1407             "x": 0,
1408             "y": 20
1409           },
1410           "id": 28,
1411           "panels": [],
1412           "title": "Pods",
1413           "type": "row"
1414         },
1415         {
1416           "cacheTimeout": null,
1417           "colorBackground": false,
1418           "colorValue": false,
1419           "colors": [
1420             "#299c46",
1421             "rgba(237, 129, 40, 0.89)",
1422             "#d44a3a"
1423           ],
1424           "datasource": "Prometheus",
1425           "format": "none",
1426           "gauge": {
1427             "maxValue": 100,
1428             "minValue": 0,
1429             "show": false,
1430             "thresholdLabels": false,
1431             "thresholdMarkers": true
1432           },
1433           "gridPos": {
1434             "h": 3,
1435             "w": 12,
1436             "x": 0,
1437             "y": 21
1438           },
1439           "id": 30,
1440           "interval": null,
1441           "links": [],
1442           "mappingType": 1,
1443           "mappingTypes": [
1444             {
1445               "name": "value to text",
1446               "value": 1
1447             },
1448             {
1449               "name": "range to text",
1450               "value": 2
1451             }
1452           ],
1453           "maxDataPoints": 100,
1454           "nullPointMode": "connected",
1455           "nullText": null,
1456           "options": {},
1457           "postfix": "",
1458           "postfixFontSize": "50%",
1459           "prefix": "",
1460           "prefixFontSize": "50%",
1461           "rangeMaps": [
1462             {
1463               "from": "null",
1464               "text": "N/A",
1465               "to": "null"
1466             }
1467           ],
1468           "sparkline": {
1469             "fillColor": "rgba(78, 203, 42, 0.28)",
1470             "full": false,
1471             "lineColor": "#629e51",
1472             "show": true
1473           },
1474           "tableColumn": "",
1475           "targets": [
1476             {
1477               "expr": "sum(kube_pod_status_phase{namespace=~\"$namespace\", phase=\"Running\"})",
1478               "format": "time_series",
1479               "interval": "",
1480               "intervalFactor": 1,
1481               "refId": "A"
1482             }
1483           ],
1484           "thresholds": "",
1485           "title": "Pods Running",
1486           "type": "singlestat",
1487           "valueFontSize": "80%",
1488           "valueMaps": [
1489             {
1490               "op": "=",
1491               "text": "N/A",
1492               "value": "null"
1493             }
1494           ],
1495           "valueName": "current"
1496         },
1497         {
1498           "cacheTimeout": null,
1499           "colorBackground": false,
1500           "colorValue": false,
1501           "colors": [
1502             "#299c46",
1503             "rgba(237, 129, 40, 0.89)",
1504             "#d44a3a"
1505           ],
1506           "datasource": "Prometheus",
1507           "format": "none",
1508           "gauge": {
1509             "maxValue": 100,
1510             "minValue": 0,
1511             "show": false,
1512             "thresholdLabels": false,
1513             "thresholdMarkers": true
1514           },
1515           "gridPos": {
1516             "h": 3,
1517             "w": 12,
1518             "x": 12,
1519             "y": 21
1520           },
1521           "id": 31,
1522           "interval": null,
1523           "links": [],
1524           "mappingType": 1,
1525           "mappingTypes": [
1526             {
1527               "name": "value to text",
1528               "value": 1
1529             },
1530             {
1531               "name": "range to text",
1532               "value": 2
1533             }
1534           ],
1535           "maxDataPoints": 100,
1536           "nullPointMode": "connected",
1537           "nullText": null,
1538           "options": {},
1539           "postfix": "",
1540           "postfixFontSize": "50%",
1541           "prefix": "",
1542           "prefixFontSize": "50%",
1543           "rangeMaps": [
1544             {
1545               "from": "null",
1546               "text": "N/A",
1547               "to": "null"
1548             }
1549           ],
1550           "sparkline": {
1551             "fillColor": "rgba(78, 203, 42, 0.28)",
1552             "full": false,
1553             "lineColor": "#629e51",
1554             "show": true
1555           },
1556           "tableColumn": "",
1557           "targets": [
1558             {
1559               "expr": "sum(kube_pod_status_phase{namespace=~\"$namespace\", phase=\"Pending\"})",
1560               "format": "time_series",
1561               "interval": "",
1562               "intervalFactor": 1,
1563               "refId": "A"
1564             }
1565           ],
1566           "thresholds": "",
1567           "title": "Pods Pending",
1568           "type": "singlestat",
1569           "valueFontSize": "80%",
1570           "valueMaps": [
1571             {
1572               "op": "=",
1573               "text": "N/A",
1574               "value": "null"
1575             }
1576           ],
1577           "valueName": "current"
1578         },
1579         {
1580           "cacheTimeout": null,
1581           "colorBackground": false,
1582           "colorValue": false,
1583           "colors": [
1584             "#299c46",
1585             "rgba(237, 129, 40, 0.89)",
1586             "#d44a3a"
1587           ],
1588           "datasource": "Prometheus",
1589           "format": "none",
1590           "gauge": {
1591             "maxValue": 100,
1592             "minValue": 0,
1593             "show": false,
1594             "thresholdLabels": false,
1595             "thresholdMarkers": true
1596           },
1597           "gridPos": {
1598             "h": 3,
1599             "w": 8,
1600             "x": 0,
1601             "y": 24
1602           },
1603           "id": 32,
1604           "interval": null,
1605           "links": [],
1606           "mappingType": 1,
1607           "mappingTypes": [
1608             {
1609               "name": "value to text",
1610               "value": 1
1611             },
1612             {
1613               "name": "range to text",
1614               "value": 2
1615             }
1616           ],
1617           "maxDataPoints": 100,
1618           "nullPointMode": "connected",
1619           "nullText": null,
1620           "options": {},
1621           "postfix": "",
1622           "postfixFontSize": "50%",
1623           "prefix": "",
1624           "prefixFontSize": "50%",
1625           "rangeMaps": [
1626             {
1627               "from": "null",
1628               "text": "N/A",
1629               "to": "null"
1630             }
1631           ],
1632           "sparkline": {
1633             "fillColor": "rgba(78, 203, 42, 0.28)",
1634             "full": false,
1635             "lineColor": "#629e51",
1636             "show": true
1637           },
1638           "tableColumn": "",
1639           "targets": [
1640             {
1641               "expr": "sum(kube_pod_status_phase{namespace=~\"$namespace\", phase=\"Failed\"})",
1642               "format": "time_series",
1643               "interval": "",
1644               "intervalFactor": 1,
1645               "refId": "A"
1646             }
1647           ],
1648           "thresholds": "",
1649           "title": "Pods Failed",
1650           "type": "singlestat",
1651           "valueFontSize": "80%",
1652           "valueMaps": [
1653             {
1654               "op": "=",
1655               "text": "N/A",
1656               "value": "null"
1657             }
1658           ],
1659           "valueName": "current"
1660         },
1661         {
1662           "cacheTimeout": null,
1663           "colorBackground": false,
1664           "colorValue": false,
1665           "colors": [
1666             "#299c46",
1667             "rgba(237, 129, 40, 0.89)",
1668             "#d44a3a"
1669           ],
1670           "datasource": "Prometheus",
1671           "format": "none",
1672           "gauge": {
1673             "maxValue": 100,
1674             "minValue": 0,
1675             "show": false,
1676             "thresholdLabels": false,
1677             "thresholdMarkers": true
1678           },
1679           "gridPos": {
1680             "h": 3,
1681             "w": 8,
1682             "x": 8,
1683             "y": 24
1684           },
1685           "id": 33,
1686           "interval": null,
1687           "links": [],
1688           "mappingType": 1,
1689           "mappingTypes": [
1690             {
1691               "name": "value to text",
1692               "value": 1
1693             },
1694             {
1695               "name": "range to text",
1696               "value": 2
1697             }
1698           ],
1699           "maxDataPoints": 100,
1700           "nullPointMode": "connected",
1701           "nullText": null,
1702           "options": {},
1703           "postfix": "",
1704           "postfixFontSize": "50%",
1705           "prefix": "",
1706           "prefixFontSize": "50%",
1707           "rangeMaps": [
1708             {
1709               "from": "null",
1710               "text": "N/A",
1711               "to": "null"
1712             }
1713           ],
1714           "sparkline": {
1715             "fillColor": "rgba(78, 203, 42, 0.28)",
1716             "full": false,
1717             "lineColor": "#629e51",
1718             "show": true
1719           },
1720           "tableColumn": "",
1721           "targets": [
1722             {
1723               "expr": "sum(kube_pod_status_phase{namespace=~\"$namespace\", phase=\"Succeeded\"})",
1724               "format": "time_series",
1725               "interval": "",
1726               "intervalFactor": 1,
1727               "refId": "A"
1728             }
1729           ],
1730           "thresholds": "",
1731           "title": "Pods Succeeded",
1732           "type": "singlestat",
1733           "valueFontSize": "80%",
1734           "valueMaps": [
1735             {
1736               "op": "=",
1737               "text": "N/A",
1738               "value": "null"
1739             }
1740           ],
1741           "valueName": "current"
1742         },
1743         {
1744           "cacheTimeout": null,
1745           "colorBackground": false,
1746           "colorValue": false,
1747           "colors": [
1748             "#299c46",
1749             "rgba(237, 129, 40, 0.89)",
1750             "#d44a3a"
1751           ],
1752           "datasource": "Prometheus",
1753           "format": "none",
1754           "gauge": {
1755             "maxValue": 100,
1756             "minValue": 0,
1757             "show": false,
1758             "thresholdLabels": false,
1759             "thresholdMarkers": true
1760           },
1761           "gridPos": {
1762             "h": 3,
1763             "w": 8,
1764             "x": 16,
1765             "y": 24
1766           },
1767           "id": 34,
1768           "interval": null,
1769           "links": [],
1770           "mappingType": 1,
1771           "mappingTypes": [
1772             {
1773               "name": "value to text",
1774               "value": 1
1775             },
1776             {
1777               "name": "range to text",
1778               "value": 2
1779             }
1780           ],
1781           "maxDataPoints": 100,
1782           "nullPointMode": "connected",
1783           "nullText": null,
1784           "options": {},
1785           "postfix": "",
1786           "postfixFontSize": "50%",
1787           "prefix": "",
1788           "prefixFontSize": "50%",
1789           "rangeMaps": [
1790             {
1791               "from": "null",
1792               "text": "N/A",
1793               "to": "null"
1794             }
1795           ],
1796           "sparkline": {
1797             "fillColor": "rgba(78, 203, 42, 0.28)",
1798             "full": false,
1799             "lineColor": "#629e51",
1800             "show": true
1801           },
1802           "tableColumn": "",
1803           "targets": [
1804             {
1805               "expr": "sum(kube_pod_status_phase{namespace=~\"$namespace\", phase=\"Unknown\"})",
1806               "format": "time_series",
1807               "interval": "",
1808               "intervalFactor": 1,
1809               "refId": "A"
1810             }
1811           ],
1812           "thresholds": "",
1813           "title": "Pods Unknown",
1814           "type": "singlestat",
1815           "valueFontSize": "80%",
1816           "valueMaps": [
1817             {
1818               "op": "=",
1819               "text": "N/A",
1820               "value": "null"
1821             }
1822           ],
1823           "valueName": "current"
1824         },
1825         {
1826           "collapsed": false,
1827           "gridPos": {
1828             "h": 1,
1829             "w": 24,
1830             "x": 0,
1831             "y": 27
1832           },
1833           "id": 36,
1834           "panels": [],
1835           "title": "Containers",
1836           "type": "row"
1837         },
1838         {
1839           "cacheTimeout": null,
1840           "colorBackground": false,
1841           "colorValue": false,
1842           "colors": [
1843             "#299c46",
1844             "rgba(237, 129, 40, 0.89)",
1845             "#d44a3a"
1846           ],
1847           "datasource": "Prometheus",
1848           "format": "none",
1849           "gauge": {
1850             "maxValue": 100,
1851             "minValue": 0,
1852             "show": false,
1853             "thresholdLabels": false,
1854             "thresholdMarkers": true
1855           },
1856           "gridPos": {
1857             "h": 3,
1858             "w": 6,
1859             "x": 0,
1860             "y": 28
1861           },
1862           "id": 38,
1863           "interval": null,
1864           "links": [],
1865           "mappingType": 1,
1866           "mappingTypes": [
1867             {
1868               "name": "value to text",
1869               "value": 1
1870             },
1871             {
1872               "name": "range to text",
1873               "value": 2
1874             }
1875           ],
1876           "maxDataPoints": 100,
1877           "nullPointMode": "connected",
1878           "nullText": null,
1879           "options": {},
1880           "postfix": "",
1881           "postfixFontSize": "50%",
1882           "prefix": "",
1883           "prefixFontSize": "50%",
1884           "rangeMaps": [
1885             {
1886               "from": "null",
1887               "text": "N/A",
1888               "to": "null"
1889             }
1890           ],
1891           "sparkline": {
1892             "fillColor": "rgba(31, 118, 189, 0.18)",
1893             "full": false,
1894             "lineColor": "rgb(31, 120, 193)",
1895             "show": true
1896           },
1897           "tableColumn": "",
1898           "targets": [
1899             {
1900               "expr": "sum(kube_pod_container_status_running{namespace=~\"$namespace\"})",
1901               "format": "time_series",
1902               "intervalFactor": 1,
1903               "refId": "A"
1904             }
1905           ],
1906           "thresholds": "",
1907           "title": "Containers Running",
1908           "type": "singlestat",
1909           "valueFontSize": "80%",
1910           "valueMaps": [
1911             {
1912               "op": "=",
1913               "text": "N/A",
1914               "value": "null"
1915             }
1916           ],
1917           "valueName": "current"
1918         },
1919         {
1920           "cacheTimeout": null,
1921           "colorBackground": false,
1922           "colorValue": false,
1923           "colors": [
1924             "#299c46",
1925             "rgba(237, 129, 40, 0.89)",
1926             "#d44a3a"
1927           ],
1928           "datasource": "Prometheus",
1929           "format": "none",
1930           "gauge": {
1931             "maxValue": 100,
1932             "minValue": 0,
1933             "show": false,
1934             "thresholdLabels": false,
1935             "thresholdMarkers": true
1936           },
1937           "gridPos": {
1938             "h": 3,
1939             "w": 6,
1940             "x": 6,
1941             "y": 28
1942           },
1943           "id": 39,
1944           "interval": null,
1945           "links": [],
1946           "mappingType": 1,
1947           "mappingTypes": [
1948             {
1949               "name": "value to text",
1950               "value": 1
1951             },
1952             {
1953               "name": "range to text",
1954               "value": 2
1955             }
1956           ],
1957           "maxDataPoints": 100,
1958           "nullPointMode": "connected",
1959           "nullText": null,
1960           "options": {},
1961           "postfix": "",
1962           "postfixFontSize": "50%",
1963           "prefix": "",
1964           "prefixFontSize": "50%",
1965           "rangeMaps": [
1966             {
1967               "from": "null",
1968               "text": "N/A",
1969               "to": "null"
1970             }
1971           ],
1972           "sparkline": {
1973             "fillColor": "rgba(31, 118, 189, 0.18)",
1974             "full": false,
1975             "lineColor": "rgb(31, 120, 193)",
1976             "show": true
1977           },
1978           "tableColumn": "",
1979           "targets": [
1980             {
1981               "expr": "sum(kube_pod_container_status_waiting{namespace=~\"$namespace\"})",
1982               "format": "time_series",
1983               "intervalFactor": 1,
1984               "refId": "A"
1985             }
1986           ],
1987           "thresholds": "",
1988           "title": "Containers Waiting",
1989           "type": "singlestat",
1990           "valueFontSize": "80%",
1991           "valueMaps": [
1992             {
1993               "op": "=",
1994               "text": "N/A",
1995               "value": "null"
1996             }
1997           ],
1998           "valueName": "current"
1999         },
2000         {
2001           "cacheTimeout": null,
2002           "colorBackground": false,
2003           "colorValue": false,
2004           "colors": [
2005             "#299c46",
2006             "rgba(237, 129, 40, 0.89)",
2007             "#d44a3a"
2008           ],
2009           "datasource": "Prometheus",
2010           "format": "none",
2011           "gauge": {
2012             "maxValue": 100,
2013             "minValue": 0,
2014             "show": false,
2015             "thresholdLabels": false,
2016             "thresholdMarkers": true
2017           },
2018           "gridPos": {
2019             "h": 3,
2020             "w": 6,
2021             "x": 12,
2022             "y": 28
2023           },
2024           "id": 40,
2025           "interval": null,
2026           "links": [],
2027           "mappingType": 1,
2028           "mappingTypes": [
2029             {
2030               "name": "value to text",
2031               "value": 1
2032             },
2033             {
2034               "name": "range to text",
2035               "value": 2
2036             }
2037           ],
2038           "maxDataPoints": 100,
2039           "nullPointMode": "connected",
2040           "nullText": null,
2041           "options": {},
2042           "postfix": "",
2043           "postfixFontSize": "50%",
2044           "prefix": "",
2045           "prefixFontSize": "50%",
2046           "rangeMaps": [
2047             {
2048               "from": "null",
2049               "text": "N/A",
2050               "to": "null"
2051             }
2052           ],
2053           "sparkline": {
2054             "fillColor": "rgba(31, 118, 189, 0.18)",
2055             "full": false,
2056             "lineColor": "rgb(31, 120, 193)",
2057             "show": true
2058           },
2059           "tableColumn": "",
2060           "targets": [
2061             {
2062               "expr": "sum(kube_pod_container_status_terminated{namespace=~\"$namespace\"})",
2063               "format": "time_series",
2064               "intervalFactor": 1,
2065               "refId": "A"
2066             }
2067           ],
2068           "thresholds": "",
2069           "title": "Containers Terminated",
2070           "type": "singlestat",
2071           "valueFontSize": "80%",
2072           "valueMaps": [
2073             {
2074               "op": "=",
2075               "text": "N/A",
2076               "value": "null"
2077             }
2078           ],
2079           "valueName": "current"
2080         },
2081         {
2082           "cacheTimeout": null,
2083           "colorBackground": false,
2084           "colorValue": false,
2085           "colors": [
2086             "#299c46",
2087             "rgba(237, 129, 40, 0.89)",
2088             "#d44a3a"
2089           ],
2090           "datasource": "Prometheus",
2091           "format": "none",
2092           "gauge": {
2093             "maxValue": 100,
2094             "minValue": 0,
2095             "show": false,
2096             "thresholdLabels": false,
2097             "thresholdMarkers": true
2098           },
2099           "gridPos": {
2100             "h": 3,
2101             "w": 6,
2102             "x": 18,
2103             "y": 28
2104           },
2105           "id": 41,
2106           "interval": null,
2107           "links": [],
2108           "mappingType": 1,
2109           "mappingTypes": [
2110             {
2111               "name": "value to text",
2112               "value": 1
2113             },
2114             {
2115               "name": "range to text",
2116               "value": 2
2117             }
2118           ],
2119           "maxDataPoints": 100,
2120           "nullPointMode": "connected",
2121           "nullText": null,
2122           "options": {},
2123           "postfix": "",
2124           "postfixFontSize": "50%",
2125           "prefix": "",
2126           "prefixFontSize": "50%",
2127           "rangeMaps": [
2128             {
2129               "from": "null",
2130               "text": "N/A",
2131               "to": "null"
2132             }
2133           ],
2134           "sparkline": {
2135             "fillColor": "rgba(31, 118, 189, 0.18)",
2136             "full": false,
2137             "lineColor": "rgb(31, 120, 193)",
2138             "show": true
2139           },
2140           "tableColumn": "",
2141           "targets": [
2142             {
2143               "expr": "sum(delta(kube_pod_container_status_restarts_total{namespace=\"kube-system\"}[30m]))",
2144               "format": "time_series",
2145               "intervalFactor": 1,
2146               "refId": "A"
2147             }
2148           ],
2149           "thresholds": "",
2150           "title": "Containers Restarts (Last 30 Minutes)",
2151           "type": "singlestat",
2152           "valueFontSize": "80%",
2153           "valueMaps": [
2154             {
2155               "op": "=",
2156               "text": "N/A",
2157               "value": "null"
2158             }
2159           ],
2160           "valueName": "current"
2161         },
2162         {
2163           "cacheTimeout": null,
2164           "colorBackground": false,
2165           "colorValue": false,
2166           "colors": [
2167             "#299c46",
2168             "rgba(237, 129, 40, 0.89)",
2169             "#d44a3a"
2170           ],
2171           "datasource": "Prometheus",
2172           "format": "none",
2173           "gauge": {
2174             "maxValue": 100,
2175             "minValue": 0,
2176             "show": false,
2177             "thresholdLabels": false,
2178             "thresholdMarkers": true
2179           },
2180           "gridPos": {
2181             "h": 3,
2182             "w": 12,
2183             "x": 0,
2184             "y": 31
2185           },
2186           "id": 43,
2187           "interval": null,
2188           "links": [],
2189           "mappingType": 1,
2190           "mappingTypes": [
2191             {
2192               "name": "value to text",
2193               "value": 1
2194             },
2195             {
2196               "name": "range to text",
2197               "value": 2
2198             }
2199           ],
2200           "maxDataPoints": 100,
2201           "nullPointMode": "connected",
2202           "nullText": null,
2203           "options": {},
2204           "postfix": "",
2205           "postfixFontSize": "50%",
2206           "prefix": "",
2207           "prefixFontSize": "50%",
2208           "rangeMaps": [
2209             {
2210               "from": "null",
2211               "text": "N/A",
2212               "to": "null"
2213             }
2214           ],
2215           "sparkline": {
2216             "fillColor": "rgba(31, 118, 189, 0.18)",
2217             "full": false,
2218             "lineColor": "rgb(31, 120, 193)",
2219             "show": true
2220           },
2221           "tableColumn": "",
2222           "targets": [
2223             {
2224               "expr": "sum(kube_pod_container_resource_requests_cpu_cores{namespace=~\"$namespace\", node=~\"$node\"})",
2225               "format": "time_series",
2226               "intervalFactor": 1,
2227               "refId": "A"
2228             }
2229           ],
2230           "thresholds": "",
2231           "title": "CPU Cores Requested by Containers",
2232           "type": "singlestat",
2233           "valueFontSize": "80%",
2234           "valueMaps": [
2235             {
2236               "op": "=",
2237               "text": "N/A",
2238               "value": "null"
2239             }
2240           ],
2241           "valueName": "current"
2242         },
2243         {
2244           "cacheTimeout": null,
2245           "colorBackground": false,
2246           "colorValue": false,
2247           "colors": [
2248             "#299c46",
2249             "rgba(237, 129, 40, 0.89)",
2250             "#d44a3a"
2251           ],
2252           "datasource": "Prometheus",
2253           "format": "decbytes",
2254           "gauge": {
2255             "maxValue": 100,
2256             "minValue": 0,
2257             "show": false,
2258             "thresholdLabels": false,
2259             "thresholdMarkers": true
2260           },
2261           "gridPos": {
2262             "h": 3,
2263             "w": 12,
2264             "x": 12,
2265             "y": 31
2266           },
2267           "id": 42,
2268           "interval": null,
2269           "links": [],
2270           "mappingType": 1,
2271           "mappingTypes": [
2272             {
2273               "name": "value to text",
2274               "value": 1
2275             },
2276             {
2277               "name": "range to text",
2278               "value": 2
2279             }
2280           ],
2281           "maxDataPoints": 100,
2282           "nullPointMode": "connected",
2283           "nullText": null,
2284           "options": {},
2285           "postfix": "",
2286           "postfixFontSize": "50%",
2287           "prefix": "",
2288           "prefixFontSize": "50%",
2289           "rangeMaps": [
2290             {
2291               "from": "null",
2292               "text": "N/A",
2293               "to": "null"
2294             }
2295           ],
2296           "sparkline": {
2297             "fillColor": "rgba(31, 118, 189, 0.18)",
2298             "full": false,
2299             "lineColor": "rgb(31, 120, 193)",
2300             "show": true
2301           },
2302           "tableColumn": "",
2303           "targets": [
2304             {
2305               "expr": "sum(kube_pod_container_resource_requests_memory_bytes{namespace=~\"$namespace\", node=~\"$node\"})",
2306               "format": "time_series",
2307               "intervalFactor": 1,
2308               "refId": "A"
2309             }
2310           ],
2311           "thresholds": "",
2312           "title": "Memory Requested By Containers",
2313           "type": "singlestat",
2314           "valueFontSize": "80%",
2315           "valueMaps": [
2316             {
2317               "op": "=",
2318               "text": "N/A",
2319               "value": "null"
2320             }
2321           ],
2322           "valueName": "current"
2323         },
2324         {
2325           "collapsed": false,
2326           "gridPos": {
2327             "h": 1,
2328             "w": 24,
2329             "x": 0,
2330             "y": 34
2331           },
2332           "id": 50,
2333           "panels": [],
2334           "title": "OSM Third Party Modules",
2335           "type": "row"
2336         },
2337         {
2338           "cacheTimeout": null,
2339           "colorBackground": true,
2340           "colorValue": false,
2341           "colors": [
2342             "#bf1b00",
2343             "#508642",
2344             "#ef843c"
2345           ],
2346           "datasource": "Prometheus",
2347           "format": "none",
2348           "gauge": {
2349             "maxValue": 1,
2350             "minValue": 0,
2351             "show": false,
2352             "thresholdLabels": false,
2353             "thresholdMarkers": true
2354           },
2355           "gridPos": {
2356             "h": 3,
2357             "w": 8,
2358             "x": 0,
2359             "y": 35
2360           },
2361           "id": 51,
2362           "interval": null,
2363           "links": [],
2364           "mappingType": 1,
2365           "mappingTypes": [
2366             {
2367               "name": "value to text",
2368               "value": 1
2369             },
2370             {
2371               "name": "range to text",
2372               "value": 2
2373             }
2374           ],
2375           "maxDataPoints": 100,
2376           "nullPointMode": "connected",
2377           "nullText": null,
2378           "options": {},
2379           "postfix": "",
2380           "postfixFontSize": "50%",
2381           "prefix": "",
2382           "prefixFontSize": "50%",
2383           "rangeMaps": [
2384             {
2385               "from": "null",
2386               "text": "N/A",
2387               "to": "null"
2388             }
2389           ],
2390           "sparkline": {
2391             "fillColor": "rgba(31, 118, 189, 0.18)",
2392             "full": true,
2393             "lineColor": "rgb(31, 120, 193)",
2394             "show": true
2395           },
2396           "tableColumn": "",
2397           "targets": [
2398             {
2399               "expr": "mysql_up{}",
2400               "format": "time_series",
2401               "intervalFactor": 1,
2402               "refId": "A"
2403             }
2404           ],
2405           "thresholds": "1,2",
2406           "title": "MysqlDB Up",
2407           "type": "singlestat",
2408           "valueFontSize": "80%",
2409           "valueMaps": [
2410             {
2411               "op": "=",
2412               "text": "N/A",
2413               "value": "null"
2414             }
2415           ],
2416           "valueName": "current"
2417         },
2418         {
2419           "cacheTimeout": null,
2420           "colorBackground": true,
2421           "colorValue": false,
2422           "colors": [
2423             "#bf1b00",
2424             "#508642",
2425             "#ef843c"
2426           ],
2427           "datasource": "Prometheus",
2428           "format": "none",
2429           "gauge": {
2430             "maxValue": 1,
2431             "minValue": 0,
2432             "show": false,
2433             "thresholdLabels": false,
2434             "thresholdMarkers": true
2435           },
2436           "gridPos": {
2437             "h": 3,
2438             "w": 8,
2439             "x": 8,
2440             "y": 35
2441           },
2442           "id": 52,
2443           "interval": null,
2444           "links": [],
2445           "mappingType": 1,
2446           "mappingTypes": [
2447             {
2448               "name": "value to text",
2449               "value": 1
2450             },
2451             {
2452               "name": "range to text",
2453               "value": 2
2454             }
2455           ],
2456           "maxDataPoints": 100,
2457           "nullPointMode": "connected",
2458           "nullText": null,
2459           "options": {},
2460           "postfix": "",
2461           "postfixFontSize": "50%",
2462           "prefix": "",
2463           "prefixFontSize": "50%",
2464           "rangeMaps": [
2465             {
2466               "from": "null",
2467               "text": "N/A",
2468               "to": "null"
2469             }
2470           ],
2471           "sparkline": {
2472             "fillColor": "rgba(31, 118, 189, 0.18)",
2473             "full": true,
2474             "lineColor": "rgb(31, 120, 193)",
2475             "show": true
2476           },
2477           "tableColumn": "",
2478           "targets": [
2479             {
2480               "expr": "mongodb_up{}",
2481               "format": "time_series",
2482               "intervalFactor": 1,
2483               "refId": "A"
2484             }
2485           ],
2486           "thresholds": "1,2",
2487           "title": "MongoDB Up",
2488           "type": "singlestat",
2489           "valueFontSize": "80%",
2490           "valueMaps": [
2491             {
2492               "op": "=",
2493               "text": "N/A",
2494               "value": "null"
2495             }
2496           ],
2497           "valueName": "current"
2498         },
2499         {
2500           "cacheTimeout": null,
2501           "colorBackground": true,
2502           "colorValue": false,
2503           "colors": [
2504             "#bf1b00",
2505             "#508642",
2506             "#ef843c"
2507           ],
2508           "datasource": "Prometheus",
2509           "format": "none",
2510           "gauge": {
2511             "maxValue": 1,
2512             "minValue": 0,
2513             "show": false,
2514             "thresholdLabels": false,
2515             "thresholdMarkers": true
2516           },
2517           "gridPos": {
2518             "h": 3,
2519             "w": 8,
2520             "x": 16,
2521             "y": 35
2522           },
2523           "id": 53,
2524           "interval": null,
2525           "links": [],
2526           "mappingType": 1,
2527           "mappingTypes": [
2528             {
2529               "name": "value to text",
2530               "value": 1
2531             },
2532             {
2533               "name": "range to text",
2534               "value": 2
2535             }
2536           ],
2537           "maxDataPoints": 100,
2538           "nullPointMode": "connected",
2539           "nullText": null,
2540           "options": {},
2541           "postfix": "",
2542           "postfixFontSize": "50%",
2543           "prefix": "",
2544           "prefixFontSize": "50%",
2545           "rangeMaps": [
2546             {
2547               "from": "null",
2548               "text": "N/A",
2549               "to": "null"
2550             }
2551           ],
2552           "sparkline": {
2553             "fillColor": "rgba(31, 118, 189, 0.18)",
2554             "full": true,
2555             "lineColor": "rgb(31, 120, 193)",
2556             "show": true
2557           },
2558           "tableColumn": "",
2559           "targets": [
2560             {
2561               "expr": "kafka_brokers{}",
2562               "format": "time_series",
2563               "intervalFactor": 1,
2564               "refId": "A"
2565             }
2566           ],
2567           "thresholds": "1,2",
2568           "title": "Kafka Broker Up",
2569           "type": "singlestat",
2570           "valueFontSize": "80%",
2571           "valueMaps": [
2572             {
2573               "op": "=",
2574               "text": "N/A",
2575               "value": "null"
2576             }
2577           ],
2578           "valueName": "current"
2579         }
2580       ],
2581       "schemaVersion": 19,
2582       "style": "dark",
2583       "tags": [
2584         "osm-third-party-modules",
2585         "kubernetes-cluster"
2586       ],
2587       "templating": {
2588         "list": [
2589           {
2590             "current": {
2591               "text": "No data sources found",
2592               "value": ""
2593             },
2594             "hide": 2,
2595             "includeAll": false,
2596             "label": "",
2597             "multi": false,
2598             "name": "datasource",
2599             "options": [],
2600             "query": "prometheus",
2601             "refresh": 1,
2602             "regex": "/$ds/",
2603             "skipUrlSync": false,
2604             "type": "datasource"
2605           },
2606           {
2607             "current": {
2608               "text": ".*",
2609               "value": ".*"
2610             },
2611             "hide": 0,
2612             "label": null,
2613             "name": "node",
2614             "options": [
2615               {
2616                 "selected": true,
2617                 "text": ".*",
2618                 "value": ".*"
2619               }
2620             ],
2621             "query": ".*",
2622             "skipUrlSync": false,
2623             "type": "constant"
2624           },
2625           {
2626             "current": {
2627               "text": ".*",
2628               "value": ".*"
2629             },
2630             "hide": 0,
2631             "label": null,
2632             "name": "namespace",
2633             "options": [
2634               {
2635                 "selected": true,
2636                 "text": ".*",
2637                 "value": ".*"
2638               }
2639             ],
2640             "query": ".*",
2641             "skipUrlSync": false,
2642             "type": "constant"
2643           }
2644         ]
2645       },
2646       "time": {
2647         "from": "now-30m",
2648         "to": "now"
2649       },
2650       "timepicker": {
2651         "refresh_intervals": [
2652           "5s",
2653           "10s",
2654           "30s",
2655           "1m",
2656           "5m",
2657           "15m",
2658           "30m",
2659           "1h",
2660           "2h",
2661           "1d"
2662         ],
2663         "time_options": [
2664           "5m",
2665           "15m",
2666           "1h",
2667           "6h",
2668           "12h",
2669           "24h",
2670           "2d",
2671           "7d",
2672           "30d"
2673         ]
2674       },
2675       "timezone": "browser",
2676       "title": "Summary Kubernetes Cluster and OSM Modules",
2677       "uid": "4XuMd2Iiz",
2678       "version": 13
2679     }