Update K8s Monitoring to support Grafana 8
[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-osm-summary-grafana
23   annotations:
24     k8s-sidecar-target-directory: "/tmp/dashboards/Open Source MANO"
25 data:
26   osm-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             "target": {
38               "limit": 100,
39               "matchAny": false,
40               "tags": [],
41               "type": "dashboard"
42             },
43             "type": "dashboard"
44           }
45         ]
46       },
47       "description": "OSM status summary",
48       "editable": true,
49       "gnetId": 6417,
50       "graphTooltip": 1,
51       "iteration": 1646055716059,
52       "links": [
53         {
54           "asDropdown": true,
55           "icon": "external link",
56           "includeVars": true,
57           "keepTime": false,
58           "tags": [],
59           "title": "Dashboards",
60           "type": "dashboards"
61         }
62       ],
63       "panels": [
64         {
65           "collapsed": false,
66           "datasource": null,
67           "fieldConfig": {
68             "defaults": {},
69             "overrides": []
70           },
71           "gridPos": {
72             "h": 1,
73             "w": 24,
74             "x": 0,
75             "y": 0
76           },
77           "id": 2,
78           "panels": [],
79           "title": "Cluster Health",
80           "type": "row"
81         },
82         {
83           "cacheTimeout": null,
84           "datasource": "Prometheus",
85           "fieldConfig": {
86             "defaults": {
87               "color": {
88                 "mode": "thresholds"
89               },
90               "displayName": "Nodes: ",
91               "mappings": [
92                 {
93                   "options": {
94                     "match": "null",
95                     "result": {
96                       "text": "N/A"
97                     }
98                   },
99                   "type": "special"
100                 }
101               ],
102               "thresholds": {
103                 "mode": "absolute",
104                 "steps": [
105                   {
106                     "color": "#299c46",
107                     "value": null
108                   },
109                   {
110                     "color": "rgba(237, 129, 40, 0.89)",
111                     "value": 1
112                   },
113                   {
114                     "color": "#d44a3a"
115                   }
116                 ]
117               },
118               "unit": "none"
119             },
120             "overrides": []
121           },
122           "gridPos": {
123             "h": 2,
124             "w": 12,
125             "x": 0,
126             "y": 1
127           },
128           "id": 26,
129           "interval": null,
130           "links": [],
131           "maxDataPoints": 100,
132           "options": {
133             "colorMode": "none",
134             "graphMode": "none",
135             "justifyMode": "center",
136             "orientation": "horizontal",
137             "reduceOptions": {
138               "calcs": [
139                 "lastNotNull"
140               ],
141               "fields": "",
142               "values": false
143             },
144             "text": {},
145             "textMode": "auto"
146           },
147           "pluginVersion": "8.1.1",
148           "repeat": null,
149           "repeatDirection": "h",
150           "targets": [
151             {
152               "expr": "sum(kube_node_info)",
153               "format": "time_series",
154               "instant": true,
155               "intervalFactor": 1,
156               "legendFormat": "",
157               "refId": "B"
158             }
159           ],
160           "type": "stat"
161         },
162         {
163           "cacheTimeout": null,
164           "datasource": "Prometheus",
165           "fieldConfig": {
166             "defaults": {
167               "color": {
168                 "fixedColor": "#629e51",
169                 "mode": "fixed"
170               },
171               "decimals": 0,
172               "displayName": "Pods Running:",
173               "mappings": [
174                 {
175                   "options": {
176                     "match": "null",
177                     "result": {
178                       "text": "N/A"
179                     }
180                   },
181                   "type": "special"
182                 }
183               ],
184               "thresholds": {
185                 "mode": "absolute",
186                 "steps": [
187                   {
188                     "color": "green",
189                     "value": null
190                   },
191                   {
192                     "color": "red",
193                     "value": 80
194                   }
195                 ]
196               },
197               "unit": "none"
198             },
199             "overrides": []
200           },
201           "gridPos": {
202             "h": 2,
203             "w": 12,
204             "x": 12,
205             "y": 1
206           },
207           "id": 30,
208           "interval": null,
209           "links": [],
210           "maxDataPoints": 100,
211           "options": {
212             "colorMode": "none",
213             "graphMode": "none",
214             "justifyMode": "center",
215             "orientation": "horizontal",
216             "reduceOptions": {
217               "calcs": [
218                 "lastNotNull"
219               ],
220               "fields": "",
221               "values": false
222             },
223             "text": {},
224             "textMode": "auto"
225           },
226           "pluginVersion": "8.1.1",
227           "targets": [
228             {
229               "expr": "sum(kube_pod_status_phase)",
230               "format": "time_series",
231               "instant": true,
232               "interval": "",
233               "intervalFactor": 1,
234               "refId": "A"
235             }
236           ],
237           "type": "stat"
238         },
239         {
240           "cacheTimeout": null,
241           "datasource": "Prometheus",
242           "description": "",
243           "fieldConfig": {
244             "defaults": {
245               "color": {
246                 "mode": "thresholds"
247               },
248               "displayName": "Nodes Unavailable: ",
249               "mappings": [
250                 {
251                   "options": {
252                     "match": "null",
253                     "result": {
254                       "text": "N/A"
255                     }
256                   },
257                   "type": "special"
258                 }
259               ],
260               "thresholds": {
261                 "mode": "absolute",
262                 "steps": [
263                   {
264                     "color": "#56A64B",
265                     "value": null
266                   },
267                   {
268                     "color": "rgba(237, 129, 40, 0.89)",
269                     "value": 1
270                   },
271                   {
272                     "color": "#d44a3a",
273                     "value": 1
274                   }
275                 ]
276               },
277               "unit": "none"
278             },
279             "overrides": []
280           },
281           "gridPos": {
282             "h": 2,
283             "w": 12,
284             "x": 0,
285             "y": 3
286           },
287           "id": 24,
288           "interval": null,
289           "links": [],
290           "maxDataPoints": 100,
291           "options": {
292             "colorMode": "background",
293             "graphMode": "none",
294             "justifyMode": "center",
295             "orientation": "horizontal",
296             "reduceOptions": {
297               "calcs": [
298                 "lastNotNull"
299               ],
300               "fields": "",
301               "values": false
302             },
303             "text": {},
304             "textMode": "auto"
305           },
306           "pluginVersion": "8.1.1",
307           "targets": [
308             {
309               "exemplar": true,
310               "expr": "sum(kube_node_info)-sum(kube_node_status_condition{condition=\"Ready\", status=\"true\"})",
311               "format": "time_series",
312               "instant": true,
313               "interval": "",
314               "intervalFactor": 1,
315               "legendFormat": "",
316               "refId": "A"
317             }
318           ],
319           "type": "stat"
320         },
321         {
322           "cacheTimeout": null,
323           "datasource": "Prometheus",
324           "fieldConfig": {
325             "defaults": {
326               "color": {
327                 "mode": "thresholds"
328               },
329               "displayName": "Pods not Ready: ",
330               "mappings": [
331                 {
332                   "options": {
333                     "match": "null",
334                     "result": {
335                       "text": "N/A"
336                     }
337                   },
338                   "type": "special"
339                 }
340               ],
341               "thresholds": {
342                 "mode": "absolute",
343                 "steps": [
344                   {
345                     "color": "#56A64B",
346                     "value": null
347                   },
348                   {
349                     "color": "rgba(237, 129, 40, 0.89)",
350                     "value": 1
351                   },
352                   {
353                     "color": "#d44a3a"
354                   }
355                 ]
356               },
357               "unit": "none"
358             },
359             "overrides": []
360           },
361           "gridPos": {
362             "h": 2,
363             "w": 12,
364             "x": 12,
365             "y": 3
366           },
367           "id": 55,
368           "interval": null,
369           "links": [],
370           "maxDataPoints": 100,
371           "options": {
372             "colorMode": "background",
373             "graphMode": "none",
374             "justifyMode": "center",
375             "orientation": "horizontal",
376             "reduceOptions": {
377               "calcs": [
378                 "mean"
379               ],
380               "fields": "",
381               "values": false
382             },
383             "text": {},
384             "textMode": "auto"
385           },
386           "pluginVersion": "8.1.1",
387           "targets": [
388             {
389               "exemplar": true,
390               "expr": "sum(kube_pod_status_phase{phase!=\"Running\"})",
391               "instant": true,
392               "interval": "",
393               "legendFormat": "",
394               "refId": "A"
395             }
396           ],
397           "timeFrom": null,
398           "timeShift": null,
399           "type": "stat"
400         },
401         {
402           "cacheTimeout": null,
403           "datasource": "Prometheus",
404           "fieldConfig": {
405             "defaults": {
406               "color": {
407                 "mode": "thresholds"
408               },
409               "mappings": [
410                 {
411                   "options": {
412                     "match": "null",
413                     "result": {
414                       "text": "N/A"
415                     }
416                   },
417                   "type": "special"
418                 }
419               ],
420               "max": 1,
421               "min": 0,
422               "thresholds": {
423                 "mode": "absolute",
424                 "steps": [
425                   {
426                     "color": "#299c46",
427                     "value": null
428                   },
429                   {
430                     "color": "rgba(237, 129, 40, 0.89)",
431                     "value": 0.7
432                   },
433                   {
434                     "color": "#d44a3a",
435                     "value": 0.85
436                   }
437                 ]
438               },
439               "unit": "percentunit"
440             },
441             "overrides": []
442           },
443           "gridPos": {
444             "h": 4,
445             "w": 6,
446             "x": 0,
447             "y": 5
448           },
449           "id": 4,
450           "interval": null,
451           "links": [],
452           "maxDataPoints": 100,
453           "options": {
454             "orientation": "horizontal",
455             "reduceOptions": {
456               "calcs": [
457                 "lastNotNull"
458               ],
459               "fields": "",
460               "values": false
461             },
462             "showThresholdLabels": false,
463             "showThresholdMarkers": true,
464             "text": {}
465           },
466           "pluginVersion": "8.1.1",
467           "targets": [
468             {
469               "expr": "sum(kube_pod_info) / sum(kube_node_status_allocatable{resource=\"pods\"})",
470               "format": "time_series",
471               "intervalFactor": 1,
472               "refId": "A"
473             }
474           ],
475           "title": "Pod Usage",
476           "type": "gauge"
477         },
478         {
479           "cacheTimeout": null,
480           "datasource": "Prometheus",
481           "fieldConfig": {
482             "defaults": {
483               "color": {
484                 "mode": "thresholds"
485               },
486               "mappings": [
487                 {
488                   "options": {
489                     "match": "null",
490                     "result": {
491                       "text": "N/A"
492                     }
493                   },
494                   "type": "special"
495                 }
496               ],
497               "max": 1,
498               "min": 0,
499               "thresholds": {
500                 "mode": "absolute",
501                 "steps": [
502                   {
503                     "color": "#299c46",
504                     "value": null
505                   },
506                   {
507                     "color": "rgba(237, 129, 40, 0.89)",
508                     "value": 0.7
509                   },
510                   {
511                     "color": "#d44a3a",
512                     "value": 0.85
513                   }
514                 ]
515               },
516               "unit": "percentunit"
517             },
518             "overrides": []
519           },
520           "gridPos": {
521             "h": 4,
522             "w": 6,
523             "x": 6,
524             "y": 5
525           },
526           "id": 5,
527           "interval": null,
528           "links": [],
529           "maxDataPoints": 100,
530           "options": {
531             "orientation": "horizontal",
532             "reduceOptions": {
533               "calcs": [
534                 "lastNotNull"
535               ],
536               "fields": "",
537               "values": false
538             },
539             "showThresholdLabels": false,
540             "showThresholdMarkers": true,
541             "text": {}
542           },
543           "pluginVersion": "8.1.1",
544           "targets": [
545             {
546               "expr": "sum(kube_pod_container_resource_requests{resource=\"cpu\",unit=\"core\"}) / sum(kube_node_status_allocatable{resource=\"cpu\",unit=\"core\"})",
547               "format": "time_series",
548               "instant": true,
549               "intervalFactor": 1,
550               "refId": "A"
551             }
552           ],
553           "title": "CPU Usage",
554           "type": "gauge"
555         },
556         {
557           "cacheTimeout": null,
558           "datasource": "Prometheus",
559           "fieldConfig": {
560             "defaults": {
561               "color": {
562                 "mode": "thresholds"
563               },
564               "mappings": [
565                 {
566                   "options": {
567                     "match": "null",
568                     "result": {
569                       "text": "N/A"
570                     }
571                   },
572                   "type": "special"
573                 }
574               ],
575               "max": 1,
576               "min": 0,
577               "thresholds": {
578                 "mode": "absolute",
579                 "steps": [
580                   {
581                     "color": "#299c46",
582                     "value": null
583                   },
584                   {
585                     "color": "rgba(237, 129, 40, 0.89)",
586                     "value": 0.7
587                   },
588                   {
589                     "color": "#d44a3a",
590                     "value": 0.85
591                   }
592                 ]
593               },
594               "unit": "percentunit"
595             },
596             "overrides": []
597           },
598           "gridPos": {
599             "h": 4,
600             "w": 6,
601             "x": 12,
602             "y": 5
603           },
604           "id": 6,
605           "interval": null,
606           "links": [],
607           "maxDataPoints": 100,
608           "options": {
609             "orientation": "horizontal",
610             "reduceOptions": {
611               "calcs": [
612                 "lastNotNull"
613               ],
614               "fields": "",
615               "values": false
616             },
617             "showThresholdLabels": false,
618             "showThresholdMarkers": true,
619             "text": {}
620           },
621           "pluginVersion": "8.1.1",
622           "targets": [
623             {
624               "expr": "sum(kube_pod_container_resource_requests{resource=\"memory\",unit=\"byte\"}) / sum(kube_node_status_allocatable{resource=\"memory\",unit=\"byte\"})",
625               "format": "time_series",
626               "instant": true,
627               "intervalFactor": 1,
628               "refId": "A"
629             }
630           ],
631           "title": "Memory Usage",
632           "type": "gauge"
633         },
634         {
635           "cacheTimeout": null,
636           "datasource": "Prometheus",
637           "fieldConfig": {
638             "defaults": {
639               "color": {
640                 "mode": "thresholds"
641               },
642               "mappings": [
643                 {
644                   "options": {
645                     "match": "null",
646                     "result": {
647                       "text": "N/A"
648                     }
649                   },
650                   "type": "special"
651                 }
652               ],
653               "max": 1,
654               "min": 0,
655               "thresholds": {
656                 "mode": "absolute",
657                 "steps": [
658                   {
659                     "color": "#73BF69",
660                     "value": null
661                   },
662                   {
663                     "color": "rgba(237, 129, 40, 0.89)",
664                     "value": 0.7
665                   },
666                   {
667                     "color": "#d44a3a",
668                     "value": 0.85
669                   }
670                 ]
671               },
672               "unit": "percentunit"
673             },
674             "overrides": []
675           },
676           "gridPos": {
677             "h": 4,
678             "w": 6,
679             "x": 18,
680             "y": 5
681           },
682           "id": 7,
683           "interval": null,
684           "links": [],
685           "maxDataPoints": 100,
686           "options": {
687             "orientation": "horizontal",
688             "reduceOptions": {
689               "calcs": [
690                 "lastNotNull"
691               ],
692               "fields": "",
693               "values": false
694             },
695             "showThresholdLabels": false,
696             "showThresholdMarkers": true,
697             "text": {}
698           },
699           "pluginVersion": "8.1.1",
700           "targets": [
701             {
702               "expr": "(sum (node_filesystem_size_bytes) - sum (node_filesystem_free_bytes)) / sum (node_filesystem_size_bytes)",
703               "format": "time_series",
704               "instant": true,
705               "intervalFactor": 1,
706               "refId": "A"
707             }
708           ],
709           "title": "Disk Usage",
710           "type": "gauge"
711         },
712         {
713           "collapsed": false,
714           "datasource": null,
715           "fieldConfig": {
716             "defaults": {},
717             "overrides": []
718           },
719           "gridPos": {
720             "h": 1,
721             "w": 24,
722             "x": 0,
723             "y": 9
724           },
725           "id": 61,
726           "panels": [],
727           "title": "OSM",
728           "type": "row"
729         },
730         {
731           "cacheTimeout": null,
732           "datasource": "Prometheus",
733           "fieldConfig": {
734             "defaults": {
735               "color": {
736                 "mode": "thresholds"
737               },
738               "mappings": [
739                 {
740                   "options": {
741                     "match": "null",
742                     "result": {
743                       "color": "rgba(237, 129, 40, 0.89)",
744                       "text": "0"
745                     }
746                   },
747                   "type": "special"
748                 }
749               ],
750               "max": 1,
751               "min": 0,
752               "thresholds": {
753                 "mode": "absolute",
754                 "steps": [
755                   {
756                     "color": "#d44a3a",
757                     "value": null
758                   },
759                   {
760                     "color": "rgba(237, 129, 40, 0.89)",
761                     "value": 0
762                   },
763                   {
764                     "color": "#299c46",
765                     "value": 1
766                   }
767                 ]
768               },
769               "unit": "none"
770             },
771             "overrides": []
772           },
773           "gridPos": {
774             "h": 4,
775             "w": 3,
776             "x": 0,
777             "y": 10
778           },
779           "id": 71,
780           "interval": null,
781           "links": [],
782           "maxDataPoints": 100,
783           "options": {
784             "orientation": "horizontal",
785             "reduceOptions": {
786               "calcs": [
787                 "lastNotNull"
788               ],
789               "fields": "",
790               "values": false
791             },
792             "showThresholdLabels": false,
793             "showThresholdMarkers": false,
794             "text": {}
795           },
796           "pluginVersion": "8.1.1",
797           "targets": [
798             {
799               "expr": "kube_statefulset_status_replicas_ready{namespace=\"osm\", statefulset=\"prometheus\"}",
800               "format": "time_series",
801               "refId": "A"
802             }
803           ],
804           "timeFrom": null,
805           "timeShift": null,
806           "title": "Prometheus",
807           "type": "gauge"
808         },
809         {
810           "cacheTimeout": null,
811           "datasource": "Prometheus",
812           "fieldConfig": {
813             "defaults": {
814               "color": {
815                 "mode": "thresholds"
816               },
817               "mappings": [
818                 {
819                   "options": {
820                     "match": "null",
821                     "result": {
822                       "color": "rgba(237, 129, 40, 0.89)",
823                       "text": "0"
824                     }
825                   },
826                   "type": "special"
827                 }
828               ],
829               "max": 1,
830               "min": 0,
831               "thresholds": {
832                 "mode": "absolute",
833                 "steps": [
834                   {
835                     "color": "#d44a3a",
836                     "value": null
837                   },
838                   {
839                     "color": "rgba(237, 129, 40, 0.89)",
840                     "value": 0
841                   },
842                   {
843                     "color": "#299c46",
844                     "value": 1
845                   }
846                 ]
847               },
848               "unit": "none"
849             },
850             "overrides": []
851           },
852           "gridPos": {
853             "h": 4,
854             "w": 3,
855             "x": 4,
856             "y": 10
857           },
858           "id": 74,
859           "interval": null,
860           "links": [],
861           "maxDataPoints": 100,
862           "options": {
863             "orientation": "horizontal",
864             "reduceOptions": {
865               "calcs": [
866                 "lastNotNull"
867               ],
868               "fields": "",
869               "values": false
870             },
871             "showThresholdLabels": false,
872             "showThresholdMarkers": false,
873             "text": {}
874           },
875           "pluginVersion": "8.1.1",
876           "targets": [
877             {
878               "expr": "kube_statefulset_status_replicas_ready{namespace=\"osm\", statefulset=\"mongodb-k8s\"}",
879               "format": "time_series",
880               "refId": "A"
881             }
882           ],
883           "timeFrom": null,
884           "timeShift": null,
885           "title": "mongo",
886           "type": "gauge"
887         },
888         {
889           "cacheTimeout": null,
890           "datasource": "Prometheus",
891           "fieldConfig": {
892             "defaults": {
893               "color": {
894                 "mode": "thresholds"
895               },
896               "mappings": [
897                 {
898                   "options": {
899                     "match": "null",
900                     "result": {
901                       "color": "rgba(237, 129, 40, 0.89)",
902                       "text": "0"
903                     }
904                   },
905                   "type": "special"
906                 }
907               ],
908               "max": 1,
909               "min": 0,
910               "thresholds": {
911                 "mode": "absolute",
912                 "steps": [
913                   {
914                     "color": "#d44a3a",
915                     "value": null
916                   },
917                   {
918                     "color": "rgba(237, 129, 40, 0.89)",
919                     "value": 0
920                   },
921                   {
922                     "color": "#299c46",
923                     "value": 1
924                   }
925                 ]
926               },
927               "unit": "none"
928             },
929             "overrides": []
930           },
931           "gridPos": {
932             "h": 4,
933             "w": 3,
934             "x": 8,
935             "y": 10
936           },
937           "id": 72,
938           "interval": null,
939           "links": [],
940           "maxDataPoints": 100,
941           "options": {
942             "orientation": "horizontal",
943             "reduceOptions": {
944               "calcs": [
945                 "lastNotNull"
946               ],
947               "fields": "",
948               "values": false
949             },
950             "showThresholdLabels": false,
951             "showThresholdMarkers": false,
952             "text": {}
953           },
954           "pluginVersion": "8.1.1",
955           "targets": [
956             {
957               "expr": "kube_statefulset_status_replicas_ready{namespace=\"osm\", statefulset=\"mysql\"}",
958               "format": "time_series",
959               "refId": "A"
960             }
961           ],
962           "timeFrom": null,
963           "timeShift": null,
964           "title": "mysql ",
965           "type": "gauge"
966         },
967         {
968           "cacheTimeout": null,
969           "datasource": "Prometheus",
970           "fieldConfig": {
971             "defaults": {
972               "color": {
973                 "mode": "thresholds"
974               },
975               "mappings": [
976                 {
977                   "options": {
978                     "match": "null",
979                     "result": {
980                       "color": "rgba(237, 129, 40, 0.89)",
981                       "text": "0"
982                     }
983                   },
984                   "type": "special"
985                 }
986               ],
987               "max": 1,
988               "min": 0,
989               "thresholds": {
990                 "mode": "absolute",
991                 "steps": [
992                   {
993                     "color": "#d44a3a",
994                     "value": null
995                   },
996                   {
997                     "color": "rgba(237, 129, 40, 0.89)",
998                     "value": 0
999                   },
1000                   {
1001                     "color": "#299c46",
1002                     "value": 1
1003                   }
1004                 ]
1005               },
1006               "unit": "none"
1007             },
1008             "overrides": []
1009           },
1010           "gridPos": {
1011             "h": 4,
1012             "w": 3,
1013             "x": 12,
1014             "y": 10
1015           },
1016           "id": 77,
1017           "interval": null,
1018           "links": [],
1019           "maxDataPoints": 100,
1020           "options": {
1021             "orientation": "horizontal",
1022             "reduceOptions": {
1023               "calcs": [
1024                 "lastNotNull"
1025               ],
1026               "fields": "",
1027               "values": false
1028             },
1029             "showThresholdLabels": false,
1030             "showThresholdMarkers": false,
1031             "text": {}
1032           },
1033           "pluginVersion": "8.1.1",
1034           "targets": [
1035             {
1036               "expr": "kube_deployment_status_replicas_available{deployment=\"ro\"}",
1037               "format": "time_series",
1038               "instant": true,
1039               "legendFormat": "",
1040               "refId": "A"
1041             }
1042           ],
1043           "timeFrom": null,
1044           "timeShift": null,
1045           "title": "ro",
1046           "type": "gauge"
1047         },
1048         {
1049           "cacheTimeout": null,
1050           "datasource": "Prometheus",
1051           "fieldConfig": {
1052             "defaults": {
1053               "color": {
1054                 "mode": "thresholds"
1055               },
1056               "mappings": [
1057                 {
1058                   "options": {
1059                     "match": "null",
1060                     "result": {
1061                       "color": "rgba(237, 129, 40, 0.89)",
1062                       "text": "0"
1063                     }
1064                   },
1065                   "type": "special"
1066                 }
1067               ],
1068               "max": 1,
1069               "min": 0,
1070               "thresholds": {
1071                 "mode": "absolute",
1072                 "steps": [
1073                   {
1074                     "color": "#d44a3a",
1075                     "value": null
1076                   },
1077                   {
1078                     "color": "rgba(237, 129, 40, 0.89)",
1079                     "value": 0
1080                   },
1081                   {
1082                     "color": "#299c46",
1083                     "value": 1
1084                   }
1085                 ]
1086               },
1087               "unit": "none"
1088             },
1089             "overrides": []
1090           },
1091           "gridPos": {
1092             "h": 4,
1093             "w": 3,
1094             "x": 16,
1095             "y": 10
1096           },
1097           "id": 73,
1098           "interval": null,
1099           "links": [],
1100           "maxDataPoints": 100,
1101           "options": {
1102             "orientation": "horizontal",
1103             "reduceOptions": {
1104               "calcs": [
1105                 "lastNotNull"
1106               ],
1107               "fields": "",
1108               "values": false
1109             },
1110             "showThresholdLabels": false,
1111             "showThresholdMarkers": false,
1112             "text": {}
1113           },
1114           "pluginVersion": "8.1.1",
1115           "targets": [
1116             {
1117               "expr": "kube_statefulset_status_replicas_ready{namespace=\"osm\", statefulset=\"zookeeper\"}",
1118               "format": "time_series",
1119               "refId": "A"
1120             }
1121           ],
1122           "timeFrom": null,
1123           "timeShift": null,
1124           "title": "zookeeper",
1125           "type": "gauge"
1126         },
1127         {
1128           "cacheTimeout": null,
1129           "datasource": "Prometheus",
1130           "fieldConfig": {
1131             "defaults": {
1132               "color": {
1133                 "mode": "thresholds"
1134               },
1135               "mappings": [
1136                 {
1137                   "options": {
1138                     "match": "null",
1139                     "result": {
1140                       "color": "rgba(237, 129, 40, 0.89)",
1141                       "text": "0"
1142                     }
1143                   },
1144                   "type": "special"
1145                 }
1146               ],
1147               "max": 1,
1148               "min": 0,
1149               "thresholds": {
1150                 "mode": "absolute",
1151                 "steps": [
1152                   {
1153                     "color": "#d44a3a",
1154                     "value": null
1155                   },
1156                   {
1157                     "color": "rgba(237, 129, 40, 0.89)",
1158                     "value": 0
1159                   },
1160                   {
1161                     "color": "#299c46",
1162                     "value": 1
1163                   }
1164                 ]
1165               },
1166               "unit": "none"
1167             },
1168             "overrides": []
1169           },
1170           "gridPos": {
1171             "h": 4,
1172             "w": 3,
1173             "x": 20,
1174             "y": 10
1175           },
1176           "id": 78,
1177           "interval": null,
1178           "links": [],
1179           "maxDataPoints": 100,
1180           "options": {
1181             "orientation": "horizontal",
1182             "reduceOptions": {
1183               "calcs": [
1184                 "lastNotNull"
1185               ],
1186               "fields": "",
1187               "values": false
1188             },
1189             "showThresholdLabels": false,
1190             "showThresholdMarkers": false,
1191             "text": {}
1192           },
1193           "pluginVersion": "8.1.1",
1194           "targets": [
1195             {
1196               "expr": "kube_statefulset_status_replicas_ready{namespace=\"osm\", statefulset=\"kafka\"}",
1197               "format": "time_series",
1198               "refId": "A"
1199             }
1200           ],
1201           "timeFrom": null,
1202           "timeShift": null,
1203           "title": "kafka",
1204           "type": "gauge"
1205         },
1206         {
1207           "cacheTimeout": null,
1208           "datasource": "Prometheus",
1209           "fieldConfig": {
1210             "defaults": {
1211               "color": {
1212                 "mode": "thresholds"
1213               },
1214               "mappings": [
1215                 {
1216                   "options": {
1217                     "match": "null",
1218                     "result": {
1219                       "color": "rgba(237, 129, 40, 0.89)",
1220                       "text": "0"
1221                     }
1222                   },
1223                   "type": "special"
1224                 }
1225               ],
1226               "max": 1,
1227               "min": 0,
1228               "thresholds": {
1229                 "mode": "absolute",
1230                 "steps": [
1231                   {
1232                     "color": "#d44a3a",
1233                     "value": null
1234                   },
1235                   {
1236                     "color": "rgba(237, 129, 40, 0.89)",
1237                     "value": 0
1238                   },
1239                   {
1240                     "color": "#299c46",
1241                     "value": 1
1242                   }
1243                 ]
1244               },
1245               "unit": "none"
1246             },
1247             "overrides": []
1248           },
1249           "gridPos": {
1250             "h": 4,
1251             "w": 3,
1252             "x": 0,
1253             "y": 14
1254           },
1255           "id": 76,
1256           "interval": null,
1257           "links": [],
1258           "maxDataPoints": 100,
1259           "options": {
1260             "orientation": "horizontal",
1261             "reduceOptions": {
1262               "calcs": [
1263                 "lastNotNull"
1264               ],
1265               "fields": "",
1266               "values": false
1267             },
1268             "showThresholdLabels": false,
1269             "showThresholdMarkers": false,
1270             "text": {}
1271           },
1272           "pluginVersion": "8.1.1",
1273           "targets": [
1274             {
1275               "exemplar": true,
1276               "expr": "kube_deployment_status_replicas_available{deployment=\"lcm\"}",
1277               "format": "time_series",
1278               "instant": true,
1279               "interval": "",
1280               "legendFormat": "",
1281               "refId": "A"
1282             }
1283           ],
1284           "timeFrom": null,
1285           "timeShift": null,
1286           "title": "lcm",
1287           "type": "gauge"
1288         },
1289         {
1290           "cacheTimeout": null,
1291           "datasource": "Prometheus",
1292           "description": "",
1293           "fieldConfig": {
1294             "defaults": {
1295               "color": {
1296                 "mode": "thresholds"
1297               },
1298               "mappings": [
1299                 {
1300                   "options": {
1301                     "match": "null",
1302                     "result": {
1303                       "color": "rgba(237, 129, 40, 0.89)",
1304                       "text": "0"
1305                     }
1306                   },
1307                   "type": "special"
1308                 }
1309               ],
1310               "max": 1,
1311               "min": 0,
1312               "thresholds": {
1313                 "mode": "absolute",
1314                 "steps": [
1315                   {
1316                     "color": "#d44a3a",
1317                     "value": null
1318                   },
1319                   {
1320                     "color": "rgba(237, 129, 40, 0.89)",
1321                     "value": 0
1322                   },
1323                   {
1324                     "color": "#299c46",
1325                     "value": 1
1326                   }
1327                 ]
1328               },
1329               "unit": "none"
1330             },
1331             "overrides": []
1332           },
1333           "gridPos": {
1334             "h": 4,
1335             "w": 3,
1336             "x": 4,
1337             "y": 14
1338           },
1339           "id": 75,
1340           "interval": null,
1341           "links": [],
1342           "maxDataPoints": 100,
1343           "options": {
1344             "orientation": "horizontal",
1345             "reduceOptions": {
1346               "calcs": [
1347                 "lastNotNull"
1348               ],
1349               "fields": "",
1350               "values": false
1351             },
1352             "showThresholdLabels": false,
1353             "showThresholdMarkers": false,
1354             "text": {}
1355           },
1356           "pluginVersion": "8.1.1",
1357           "targets": [
1358             {
1359               "exemplar": true,
1360               "expr": "kube_deployment_status_replicas_available{deployment=\"ng-ui\"}",
1361               "format": "time_series",
1362               "instant": true,
1363               "interval": "",
1364               "legendFormat": "",
1365               "refId": "A"
1366             }
1367           ],
1368           "timeFrom": null,
1369           "timeShift": null,
1370           "title": "ng-ui",
1371           "type": "gauge"
1372         },
1373         {
1374           "cacheTimeout": null,
1375           "datasource": "Prometheus",
1376           "description": "",
1377           "fieldConfig": {
1378             "defaults": {
1379               "color": {
1380                 "mode": "thresholds"
1381               },
1382               "mappings": [
1383                 {
1384                   "options": {
1385                     "match": "null",
1386                     "result": {
1387                       "color": "rgba(237, 129, 40, 0.89)",
1388                       "text": "0"
1389                     }
1390                   },
1391                   "type": "special"
1392                 }
1393               ],
1394               "max": 1,
1395               "min": 0,
1396               "thresholds": {
1397                 "mode": "absolute",
1398                 "steps": [
1399                   {
1400                     "color": "#d44a3a",
1401                     "value": null
1402                   },
1403                   {
1404                     "color": "rgba(237, 129, 40, 0.89)",
1405                     "value": 0
1406                   },
1407                   {
1408                     "color": "#299c46",
1409                     "value": 1
1410                   }
1411                 ]
1412               },
1413               "unit": "none"
1414             },
1415             "overrides": []
1416           },
1417           "gridPos": {
1418             "h": 4,
1419             "w": 3,
1420             "x": 8,
1421             "y": 14
1422           },
1423           "id": 70,
1424           "interval": null,
1425           "links": [],
1426           "maxDataPoints": 100,
1427           "options": {
1428             "orientation": "horizontal",
1429             "reduceOptions": {
1430               "calcs": [
1431                 "lastNotNull"
1432               ],
1433               "fields": "",
1434               "values": false
1435             },
1436             "showThresholdLabels": false,
1437             "showThresholdMarkers": false,
1438             "text": {}
1439           },
1440           "pluginVersion": "8.1.1",
1441           "targets": [
1442             {
1443               "exemplar": true,
1444               "expr": "kube_deployment_status_replicas_available{deployment=\"nbi\"}",
1445               "format": "time_series",
1446               "instant": true,
1447               "interval": "",
1448               "legendFormat": "",
1449               "refId": "A"
1450             }
1451           ],
1452           "timeFrom": null,
1453           "timeShift": null,
1454           "title": "nbi",
1455           "type": "gauge"
1456         },
1457         {
1458           "cacheTimeout": null,
1459           "datasource": "Prometheus",
1460           "fieldConfig": {
1461             "defaults": {
1462               "color": {
1463                 "mode": "thresholds"
1464               },
1465               "mappings": [
1466                 {
1467                   "options": {
1468                     "match": "null",
1469                     "result": {
1470                       "color": "rgba(237, 129, 40, 0.89)",
1471                       "text": "0"
1472                     }
1473                   },
1474                   "type": "special"
1475                 }
1476               ],
1477               "max": 1,
1478               "min": 0,
1479               "thresholds": {
1480                 "mode": "absolute",
1481                 "steps": [
1482                   {
1483                     "color": "#d44a3a",
1484                     "value": null
1485                   },
1486                   {
1487                     "color": "rgba(237, 129, 40, 0.89)",
1488                     "value": 0
1489                   },
1490                   {
1491                     "color": "#299c46",
1492                     "value": 1
1493                   }
1494                 ]
1495               },
1496               "unit": "none"
1497             },
1498             "overrides": []
1499           },
1500           "gridPos": {
1501             "h": 4,
1502             "w": 3,
1503             "x": 12,
1504             "y": 14
1505           },
1506           "id": 67,
1507           "interval": null,
1508           "links": [],
1509           "maxDataPoints": 100,
1510           "options": {
1511             "orientation": "horizontal",
1512             "reduceOptions": {
1513               "calcs": [
1514                 "lastNotNull"
1515               ],
1516               "fields": "",
1517               "values": false
1518             },
1519             "showThresholdLabels": false,
1520             "showThresholdMarkers": false,
1521             "text": {}
1522           },
1523           "pluginVersion": "8.1.1",
1524           "targets": [
1525             {
1526               "expr": "kube_deployment_status_replicas_available{deployment=\"pol\"}",
1527               "format": "time_series",
1528               "instant": true,
1529               "legendFormat": "",
1530               "refId": "A"
1531             }
1532           ],
1533           "timeFrom": null,
1534           "timeShift": null,
1535           "title": "pol",
1536           "type": "gauge"
1537         },
1538         {
1539           "cacheTimeout": null,
1540           "datasource": "Prometheus",
1541           "fieldConfig": {
1542             "defaults": {
1543               "color": {
1544                 "mode": "thresholds"
1545               },
1546               "mappings": [
1547                 {
1548                   "options": {
1549                     "match": "null",
1550                     "result": {
1551                       "color": "rgba(237, 129, 40, 0.89)",
1552                       "text": "0"
1553                     }
1554                   },
1555                   "type": "special"
1556                 }
1557               ],
1558               "max": 1,
1559               "min": 0,
1560               "thresholds": {
1561                 "mode": "absolute",
1562                 "steps": [
1563                   {
1564                     "color": "#d44a3a",
1565                     "value": null
1566                   },
1567                   {
1568                     "color": "rgba(237, 129, 40, 0.89)",
1569                     "value": 0
1570                   },
1571                   {
1572                     "color": "#299c46",
1573                     "value": 1
1574                   }
1575                 ]
1576               },
1577               "unit": "none"
1578             },
1579             "overrides": []
1580           },
1581           "gridPos": {
1582             "h": 4,
1583             "w": 3,
1584             "x": 16,
1585             "y": 14
1586           },
1587           "id": 69,
1588           "interval": null,
1589           "links": [],
1590           "maxDataPoints": 100,
1591           "options": {
1592             "orientation": "horizontal",
1593             "reduceOptions": {
1594               "calcs": [
1595                 "mean"
1596               ],
1597               "fields": "",
1598               "values": false
1599             },
1600             "showThresholdLabels": false,
1601             "showThresholdMarkers": false,
1602             "text": {}
1603           },
1604           "pluginVersion": "8.1.1",
1605           "targets": [
1606             {
1607               "expr": "kube_deployment_status_replicas_available{deployment=\"mon\"}",
1608               "instant": true,
1609               "refId": "A"
1610             }
1611           ],
1612           "timeFrom": null,
1613           "timeShift": null,
1614           "title": "mon",
1615           "type": "gauge"
1616         },
1617         {
1618           "cacheTimeout": null,
1619           "datasource": "Prometheus",
1620           "fieldConfig": {
1621             "defaults": {
1622               "color": {
1623                 "mode": "thresholds"
1624               },
1625               "mappings": [
1626                 {
1627                   "options": {
1628                     "match": "null",
1629                     "result": {
1630                       "color": "rgba(237, 129, 40, 0.89)",
1631                       "text": "0"
1632                     }
1633                   },
1634                   "type": "special"
1635                 }
1636               ],
1637               "max": 1,
1638               "min": 0,
1639               "thresholds": {
1640                 "mode": "absolute",
1641                 "steps": [
1642                   {
1643                     "color": "#d44a3a",
1644                     "value": null
1645                   },
1646                   {
1647                     "color": "rgba(237, 129, 40, 0.89)",
1648                     "value": 0
1649                   },
1650                   {
1651                     "color": "#299c46",
1652                     "value": 1
1653                   }
1654                 ]
1655               },
1656               "unit": "none"
1657             },
1658             "overrides": []
1659           },
1660           "gridPos": {
1661             "h": 4,
1662             "w": 3,
1663             "x": 20,
1664             "y": 14
1665           },
1666           "id": 81,
1667           "interval": null,
1668           "links": [],
1669           "maxDataPoints": 100,
1670           "options": {
1671             "orientation": "horizontal",
1672             "reduceOptions": {
1673               "calcs": [
1674                 "lastNotNull"
1675               ],
1676               "fields": "",
1677               "values": false
1678             },
1679             "showThresholdLabels": false,
1680             "showThresholdMarkers": false,
1681             "text": {}
1682           },
1683           "pluginVersion": "8.1.1",
1684           "targets": [
1685             {
1686               "expr": "kube_deployment_status_replicas_available{deployment=\"keystone\"}",
1687               "format": "time_series",
1688               "instant": true,
1689               "legendFormat": "",
1690               "refId": "A"
1691             }
1692           ],
1693           "timeFrom": null,
1694           "timeShift": null,
1695           "title": "keystone",
1696           "type": "gauge"
1697         },
1698         {
1699           "aliasColors": {},
1700           "bars": false,
1701           "dashLength": 10,
1702           "dashes": false,
1703           "datasource": "Prometheus",
1704           "fieldConfig": {
1705             "defaults": {
1706               "links": []
1707             },
1708             "overrides": []
1709           },
1710           "fill": 6,
1711           "fillGradient": 0,
1712           "gridPos": {
1713             "h": 9,
1714             "w": 23,
1715             "x": 0,
1716             "y": 18
1717           },
1718           "hiddenSeries": false,
1719           "id": 84,
1720           "legend": {
1721             "avg": false,
1722             "current": false,
1723             "max": false,
1724             "min": false,
1725             "show": true,
1726             "total": false,
1727             "values": false
1728           },
1729           "lines": true,
1730           "linewidth": 1,
1731           "nullPointMode": "null",
1732           "options": {
1733             "alertThreshold": true
1734           },
1735           "percentage": false,
1736           "pluginVersion": "8.1.1",
1737           "pointradius": 2,
1738           "points": false,
1739           "renderer": "flot",
1740           "seriesOverrides": [],
1741           "spaceLength": 10,
1742           "stack": true,
1743           "steppedLine": false,
1744           "targets": [
1745             {
1746               "expr": "sum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{namespace=\"osm\"}) by (pod)",
1747               "instant": false,
1748               "intervalFactor": 4,
1749               "legendFormat": "{{pod}}",
1750               "refId": "A"
1751             }
1752           ],
1753           "thresholds": [],
1754           "timeFrom": null,
1755           "timeRegions": [],
1756           "timeShift": null,
1757           "title": "Pod CPU Usage",
1758           "tooltip": {
1759             "shared": true,
1760             "sort": 0,
1761             "value_type": "individual"
1762           },
1763           "type": "graph",
1764           "xaxis": {
1765             "buckets": null,
1766             "mode": "time",
1767             "name": null,
1768             "show": true,
1769             "values": []
1770           },
1771           "yaxes": [
1772             {
1773               "format": "short",
1774               "label": null,
1775               "logBase": 1,
1776               "max": null,
1777               "min": null,
1778               "show": true
1779             },
1780             {
1781               "format": "short",
1782               "label": null,
1783               "logBase": 1,
1784               "max": null,
1785               "min": null,
1786               "show": true
1787             }
1788           ],
1789           "yaxis": {
1790             "align": false,
1791             "alignLevel": null
1792           }
1793         },
1794         {
1795           "aliasColors": {},
1796           "bars": false,
1797           "dashLength": 10,
1798           "dashes": false,
1799           "datasource": "Prometheus",
1800           "fieldConfig": {
1801             "defaults": {
1802               "links": []
1803             },
1804             "overrides": []
1805           },
1806           "fill": 6,
1807           "fillGradient": 0,
1808           "gridPos": {
1809             "h": 9,
1810             "w": 23,
1811             "x": 0,
1812             "y": 27
1813           },
1814           "hiddenSeries": false,
1815           "id": 85,
1816           "legend": {
1817             "avg": false,
1818             "current": false,
1819             "max": false,
1820             "min": false,
1821             "show": true,
1822             "total": false,
1823             "values": false
1824           },
1825           "lines": true,
1826           "linewidth": 1,
1827           "nullPointMode": "null",
1828           "options": {
1829             "alertThreshold": true
1830           },
1831           "percentage": false,
1832           "pluginVersion": "8.1.1",
1833           "pointradius": 2,
1834           "points": false,
1835           "renderer": "flot",
1836           "seriesOverrides": [],
1837           "spaceLength": 10,
1838           "stack": true,
1839           "steppedLine": false,
1840           "targets": [
1841             {
1842               "expr": "sum(container_memory_working_set_bytes{namespace=\"osm\", container!=\"\"}) by (pod)",
1843               "intervalFactor": 4,
1844               "legendFormat": "{{pod}}",
1845               "refId": "A"
1846             }
1847           ],
1848           "thresholds": [],
1849           "timeFrom": null,
1850           "timeRegions": [],
1851           "timeShift": null,
1852           "title": "Pod Memory Usage",
1853           "tooltip": {
1854             "shared": true,
1855             "sort": 0,
1856             "value_type": "individual"
1857           },
1858           "type": "graph",
1859           "xaxis": {
1860             "buckets": null,
1861             "mode": "time",
1862             "name": null,
1863             "show": true,
1864             "values": []
1865           },
1866           "yaxes": [
1867             {
1868               "format": "short",
1869               "label": null,
1870               "logBase": 1,
1871               "max": null,
1872               "min": null,
1873               "show": true
1874             },
1875             {
1876               "format": "short",
1877               "label": null,
1878               "logBase": 1,
1879               "max": null,
1880               "min": null,
1881               "show": true
1882             }
1883           ],
1884           "yaxis": {
1885             "align": false,
1886             "alignLevel": null
1887           }
1888         },
1889         {
1890           "cacheTimeout": null,
1891           "datasource": null,
1892           "gridPos": {
1893             "h": 4,
1894             "w": 3,
1895             "x": 21,
1896             "y": 36
1897           },
1898           "id": 82,
1899           "links": [],
1900           "options": {
1901             "content": "\n\n\n",
1902             "mode": "markdown"
1903           },
1904           "pluginVersion": "8.1.1",
1905           "targets": [
1906             {
1907               "expr": "",
1908               "instant": true,
1909               "refId": "A"
1910             }
1911           ],
1912           "timeFrom": null,
1913           "timeShift": null,
1914           "transparent": true,
1915           "type": "text"
1916         },
1917         {
1918           "cacheTimeout": null,
1919           "datasource": null,
1920           "gridPos": {
1921             "h": 4,
1922             "w": 3,
1923             "x": 19,
1924             "y": 40
1925           },
1926           "id": 80,
1927           "links": [],
1928           "options": {
1929             "content": "<h2 style=\"text-align: center;\"></p>\n\n\n",
1930             "mode": "html"
1931           },
1932           "pluginVersion": "8.1.1",
1933           "targets": [
1934             {
1935               "expr": "",
1936               "instant": true,
1937               "refId": "A"
1938             }
1939           ],
1940           "timeFrom": null,
1941           "timeShift": null,
1942           "transparent": true,
1943           "type": "text"
1944         }
1945       ],
1946       "refresh": "30s",
1947       "schemaVersion": 30,
1948       "style": "dark",
1949       "tags": [],
1950       "templating": {
1951         "list": [
1952           {
1953             "current": {
1954               "selected": true,
1955               "text": "No data sources found",
1956               "value": ""
1957             },
1958             "description": null,
1959             "error": null,
1960             "hide": 2,
1961             "includeAll": false,
1962             "label": "",
1963             "multi": false,
1964             "name": "datasource",
1965             "options": [],
1966             "query": "prometheus",
1967             "refresh": 1,
1968             "regex": "/$ds/",
1969             "skipUrlSync": false,
1970             "type": "datasource"
1971           }
1972         ]
1973       },
1974       "time": {
1975         "from": "now-15m",
1976         "to": "now"
1977       },
1978       "timepicker": {
1979         "refresh_intervals": [
1980           "5s",
1981           "10s",
1982           "30s",
1983           "1m",
1984           "5m",
1985           "15m",
1986           "30m",
1987           "1h",
1988           "2h",
1989           "1d"
1990         ],
1991         "time_options": [
1992           "5m",
1993           "15m",
1994           "1h",
1995           "6h",
1996           "12h",
1997           "24h",
1998           "2d",
1999           "7d",
2000           "30d"
2001         ]
2002       },
2003       "timezone": "browser",
2004       "title": "OSM Status Summary",
2005       "uid": "4XuPd2Ii1",
2006       "version": 1
2007     }