Adding OSM Monitoring dashboards to Grafana charm
[osm/devops.git] / installers / charm / grafana / files / summary_dashboard.yaml
1 # Copyright 2021 Canonical Ltd.
2 #
3 # Licensed under the Apache License, Version 2.0 (the "License"); you may
4 # not use this file except in compliance with the License. You may obtain
5 # 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, WITHOUT
11 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12 # License for the specific language governing permissions and limitations
13 # under the License.
14 #
15 # For those usages not covered by the Apache License, Version 2.0 please
16 # contact: legal@canonical.com
17 #
18 # To get in touch with the maintainers, please contact:
19 # osm-charmers@lists.launchpad.net
20 ##
21
22 ---
23 annotations:
24   list:
25     - builtIn: 1
26       datasource: '-- Grafana --'
27       enable: true
28       hide: true
29       iconColor: 'rgba(0, 211, 255, 1)'
30       name: Annotations & Alerts
31       type: dashboard
32 description: OSM status summary
33 editable: true
34 gnetId: 6417
35 graphTooltip: 1
36 id: 10
37 iteration: 1577638384562
38 links:
39   - asDropdown: true
40     icon: external link
41     includeVars: true
42     keepTime: false
43     tags: []
44     title: Dashboards
45     type: dashboards
46 panels:
47   - collapsed: false
48     gridPos:
49       h: 1
50       w: 24
51       x: 0
52       'y': 0
53     id: 2
54     panels: []
55     title: Cluster Health
56     type: row
57   - cacheTimeout: null
58     colorBackground: false
59     colorPrefix: false
60     colorValue: false
61     colors:
62       - '#299c46'
63       - 'rgba(237, 129, 40, 0.89)'
64       - '#d44a3a'
65     datasource: Prometheus
66     format: none
67     gauge:
68       maxValue: 100
69       minValue: 0
70       show: false
71       thresholdLabels: false
72       thresholdMarkers: true
73     gridPos:
74       h: 2
75       w: 12
76       x: 0
77       'y': 1
78     id: 26
79     interval: null
80     links: []
81     mappingType: 1
82     mappingTypes:
83       - name: value to text
84         value: 1
85       - name: range to text
86         value: 2
87     maxDataPoints: 100
88     nullPointMode: connected
89     nullText: null
90     options: {}
91     postfix: ' Nodes'
92     postfixFontSize: 50%
93     prefix: ''
94     prefixFontSize: 50%
95     rangeMaps:
96       - from: 'null'
97         text: N/A
98         to: 'null'
99     repeat: null
100     repeatDirection: h
101     sparkline:
102       fillColor: 'rgba(31, 118, 189, 0.18)'
103       full: false
104       lineColor: 'rgb(31, 120, 193)'
105       show: false
106     tableColumn: Value
107     targets:
108       - expr: sum(kube_node_info)
109         format: time_series
110         instant: true
111         intervalFactor: 1
112         legendFormat: ''
113         refId: B
114     thresholds: '1'
115     title: ''
116     type: singlestat
117     valueFontSize: 70%
118     valueMaps:
119       - op: '='
120         text: N/A
121         value: 'null'
122     valueName: current
123   - cacheTimeout: null
124     colorBackground: false
125     colorValue: false
126     colors:
127       - '#299c46'
128       - 'rgba(237, 129, 40, 0.89)'
129       - '#d44a3a'
130     datasource: Prometheus
131     format: none
132     gauge:
133       maxValue: 100
134       minValue: 0
135       show: false
136       thresholdLabels: false
137       thresholdMarkers: true
138     gridPos:
139       h: 2
140       w: 12
141       x: 12
142       'y': 1
143     id: 30
144     interval: null
145     links: []
146     mappingType: 1
147     mappingTypes:
148       - name: value to text
149         value: 1
150       - name: range to text
151         value: 2
152     maxDataPoints: 100
153     nullPointMode: connected
154     nullText: null
155     options: {}
156     postfix: ' Pods Running'
157     postfixFontSize: 50%
158     prefix: ''
159     prefixFontSize: 50%
160     rangeMaps:
161       - from: 'null'
162         text: N/A
163         to: 'null'
164     sparkline:
165       fillColor: 'rgba(78, 203, 42, 0.28)'
166       full: false
167       lineColor: '#629e51'
168       show: true
169     tableColumn: ''
170     targets:
171       - expr: sum(kube_pod_status_phase)
172         format: time_series
173         instant: true
174         interval: ''
175         intervalFactor: 1
176         refId: A
177     thresholds: ''
178     title: ''
179     type: singlestat
180     valueFontSize: 70%
181     valueMaps:
182       - op: '='
183         text: N/A
184         value: 'null'
185     valueName: current
186   - cacheTimeout: null
187     colorBackground: true
188     colorPrefix: false
189     colorValue: false
190     colors:
191       - '#56A64B'
192       - 'rgba(237, 129, 40, 0.89)'
193       - '#d44a3a'
194     datasource: Prometheus
195     format: none
196     gauge:
197       maxValue: 100
198       minValue: 0
199       show: false
200       thresholdLabels: false
201       thresholdMarkers: true
202     gridPos:
203       h: 2
204       w: 12
205       x: 0
206       'y': 3
207     id: 24
208     interval: null
209     links: []
210     mappingType: 1
211     mappingTypes:
212       - name: value to text
213         value: 1
214       - name: range to text
215         value: 2
216     maxDataPoints: 100
217     nullPointMode: connected
218     nullText: null
219     options: {}
220     postfix: ' Nodes Unavailable'
221     postfixFontSize: 50%
222     prefix: ''
223     prefixFontSize: 50%
224     rangeMaps:
225       - from: 'null'
226         text: N/A
227         to: 'null'
228     sparkline:
229       fillColor: 'rgba(31, 118, 189, 0.18)'
230       full: false
231       lineColor: 'rgb(31, 120, 193)'
232       show: false
233     tableColumn: ''
234     targets:
235       - expr: >-
236           sum(kube_node_info)-sum(kube_node_status_condition{condition="Ready",
237           status="true"})
238         format: time_series
239         instant: true
240         intervalFactor: 1
241         refId: A
242     thresholds: '1,1'
243     title: ''
244     type: singlestat
245     valueFontSize: 70%
246     valueMaps:
247       - op: '='
248         text: N/A
249         value: 'null'
250     valueName: current
251   - cacheTimeout: null
252     colorBackground: true
253     colorValue: false
254     colors:
255       - '#56A64B'
256       - 'rgba(237, 129, 40, 0.89)'
257       - '#d44a3a'
258     datasource: Prometheus
259     format: none
260     gauge:
261       maxValue: 100
262       minValue: 0
263       show: false
264       thresholdLabels: false
265       thresholdMarkers: true
266     gridPos:
267       h: 2
268       w: 12
269       x: 12
270       'y': 3
271     id: 55
272     interval: null
273     links: []
274     mappingType: 1
275     mappingTypes:
276       - name: value to text
277         value: 1
278       - name: range to text
279         value: 2
280     maxDataPoints: 100
281     nullPointMode: connected
282     nullText: null
283     options: {}
284     postfix: ' Pods not Ready'
285     postfixFontSize: 50%
286     prefix: ''
287     prefixFontSize: 50%
288     rangeMaps:
289       - from: 'null'
290         text: N/A
291         to: 'null'
292     sparkline:
293       fillColor: 'rgba(31, 118, 189, 0.18)'
294       full: false
295       lineColor: 'rgb(31, 120, 193)'
296       show: false
297       ymax: null
298       ymin: null
299     tableColumn: ''
300     targets:
301       - expr: 'sum(kube_pod_status_phase{phase!="Running"})'
302         instant: true
303         legendFormat: ''
304         refId: A
305     thresholds: '1'
306     timeFrom: null
307     timeShift: null
308     title: ''
309     type: singlestat
310     valueFontSize: 70%
311     valueMaps:
312       - op: '='
313         text: N/A
314         value: 'null'
315     valueName: avg
316   - cacheTimeout: null
317     colorBackground: false
318     colorValue: false
319     colors:
320       - '#299c46'
321       - 'rgba(237, 129, 40, 0.89)'
322       - '#d44a3a'
323     datasource: Prometheus
324     format: percentunit
325     gauge:
326       maxValue: 1
327       minValue: 0
328       show: true
329       thresholdLabels: false
330       thresholdMarkers: true
331     gridPos:
332       h: 4
333       w: 6
334       x: 0
335       'y': 5
336     id: 4
337     interval: null
338     links: []
339     mappingType: 1
340     mappingTypes:
341       - name: value to text
342         value: 1
343       - name: range to text
344         value: 2
345     maxDataPoints: 100
346     nullPointMode: connected
347     nullText: null
348     options: {}
349     postfix: ''
350     postfixFontSize: 50%
351     prefix: ''
352     prefixFontSize: 50%
353     rangeMaps:
354       - from: 'null'
355         text: N/A
356         to: 'null'
357     sparkline:
358       fillColor: 'rgba(31, 118, 189, 0.18)'
359       full: false
360       lineColor: 'rgb(31, 120, 193)'
361       show: false
362     tableColumn: ''
363     targets:
364       - expr: sum(kube_pod_info) / sum(kube_node_status_allocatable_pods)
365         format: time_series
366         intervalFactor: 1
367         refId: A
368     thresholds: '0.7,0.85'
369     title: Pod Usage
370     type: singlestat
371     valueFontSize: 80%
372     valueMaps:
373       - op: '='
374         text: N/A
375         value: 'null'
376     valueName: current
377   - cacheTimeout: null
378     colorBackground: false
379     colorValue: false
380     colors:
381       - '#299c46'
382       - 'rgba(237, 129, 40, 0.89)'
383       - '#d44a3a'
384     datasource: Prometheus
385     format: percentunit
386     gauge:
387       maxValue: 1
388       minValue: 0
389       show: true
390       thresholdLabels: false
391       thresholdMarkers: true
392     gridPos:
393       h: 4
394       w: 6
395       x: 6
396       'y': 5
397     id: 5
398     interval: null
399     links: []
400     mappingType: 1
401     mappingTypes:
402       - name: value to text
403         value: 1
404       - name: range to text
405         value: 2
406     maxDataPoints: 100
407     nullPointMode: connected
408     nullText: null
409     options: {}
410     postfix: ''
411     postfixFontSize: 50%
412     prefix: ''
413     prefixFontSize: 50%
414     rangeMaps:
415       - from: 'null'
416         text: N/A
417         to: 'null'
418     sparkline:
419       fillColor: 'rgba(31, 118, 189, 0.18)'
420       full: false
421       lineColor: 'rgb(31, 120, 193)'
422       show: false
423     tableColumn: ''
424     targets:
425       - expr: >-
426           sum(kube_pod_container_resource_requests_cpu_cores) /
427           sum(kube_node_status_allocatable_cpu_cores)
428         format: time_series
429         instant: true
430         intervalFactor: 1
431         refId: A
432     thresholds: '0.7,0.85'
433     title: CPU Usage
434     type: singlestat
435     valueFontSize: 80%
436     valueMaps:
437       - op: '='
438         text: N/A
439         value: 'null'
440     valueName: current
441   - cacheTimeout: null
442     colorBackground: false
443     colorValue: false
444     colors:
445       - '#299c46'
446       - 'rgba(237, 129, 40, 0.89)'
447       - '#d44a3a'
448     datasource: Prometheus
449     format: percentunit
450     gauge:
451       maxValue: 1
452       minValue: 0
453       show: true
454       thresholdLabels: false
455       thresholdMarkers: true
456     gridPos:
457       h: 4
458       w: 6
459       x: 12
460       'y': 5
461     id: 6
462     interval: null
463     links: []
464     mappingType: 1
465     mappingTypes:
466       - name: value to text
467         value: 1
468       - name: range to text
469         value: 2
470     maxDataPoints: 100
471     nullPointMode: connected
472     nullText: null
473     options: {}
474     postfix: ''
475     postfixFontSize: 50%
476     prefix: ''
477     prefixFontSize: 50%
478     rangeMaps:
479       - from: 'null'
480         text: N/A
481         to: 'null'
482     sparkline:
483       fillColor: 'rgba(31, 118, 189, 0.18)'
484       full: false
485       lineColor: 'rgb(31, 120, 193)'
486       show: false
487     tableColumn: ''
488     targets:
489       - expr: >-
490           sum(kube_pod_container_resource_requests_memory_bytes) /
491           sum(kube_node_status_allocatable_memory_bytes)
492         format: time_series
493         instant: true
494         intervalFactor: 1
495         refId: A
496     thresholds: '0.7,0.85'
497     title: Memory Usage
498     type: singlestat
499     valueFontSize: 80%
500     valueMaps:
501       - op: '='
502         text: N/A
503         value: 'null'
504     valueName: current
505   - cacheTimeout: null
506     colorBackground: false
507     colorValue: false
508     colors:
509       - '#73BF69'
510       - 'rgba(237, 129, 40, 0.89)'
511       - '#d44a3a'
512     datasource: Prometheus
513     format: percentunit
514     gauge:
515       maxValue: 1
516       minValue: 0
517       show: true
518       thresholdLabels: false
519       thresholdMarkers: true
520     gridPos:
521       h: 4
522       w: 6
523       x: 18
524       'y': 5
525     id: 7
526     interval: null
527     links: []
528     mappingType: 1
529     mappingTypes:
530       - name: value to text
531         value: 1
532       - name: range to text
533         value: 2
534     maxDataPoints: 100
535     nullPointMode: connected
536     nullText: null
537     options: {}
538     postfix: ''
539     postfixFontSize: 50%
540     prefix: ''
541     prefixFontSize: 50%
542     rangeMaps:
543       - from: 'null'
544         text: N/A
545         to: 'null'
546     sparkline:
547       fillColor: 'rgba(31, 118, 189, 0.18)'
548       full: false
549       lineColor: 'rgb(31, 120, 193)'
550       show: false
551     tableColumn: ''
552     targets:
553       - expr: >-
554           (sum (node_filesystem_size_bytes) - sum (node_filesystem_free_bytes))
555           / sum (node_filesystem_size_bytes)
556         format: time_series
557         instant: true
558         intervalFactor: 1
559         refId: A
560     thresholds: '0.7,0.85'
561     title: Disk Usage
562     type: singlestat
563     valueFontSize: 80%
564     valueMaps:
565       - op: '='
566         text: N/A
567         value: 'null'
568     valueName: current
569   - collapsed: false
570     gridPos:
571       h: 1
572       w: 24
573       x: 0
574       'y': 9
575     id: 61
576     panels: []
577     title: OSM
578     type: row
579   - cacheTimeout: null
580     colorBackground: false
581     colorValue: false
582     colors:
583       - '#d44a3a'
584       - 'rgba(237, 129, 40, 0.89)'
585       - '#299c46'
586     datasource: Prometheus
587     format: none
588     gauge:
589       maxValue: 1
590       minValue: 0
591       show: true
592       thresholdLabels: false
593       thresholdMarkers: false
594     gridPos:
595       h: 4
596       w: 3
597       x: 0
598       'y': 10
599     id: 71
600     interval: null
601     links: []
602     mappingType: 1
603     mappingTypes:
604       - name: value to text
605         value: 1
606       - name: range to text
607         value: 2
608     maxDataPoints: 100
609     nullPointMode: connected
610     nullText: null
611     options: {}
612     postfix: ''
613     postfixFontSize: 50%
614     prefix: ''
615     prefixFontSize: 50%
616     rangeMaps:
617       - from: 'null'
618         text: N/A
619         to: 'null'
620     sparkline:
621       fillColor: 'rgba(31, 118, 189, 0.18)'
622       full: false
623       lineColor: 'rgb(31, 120, 193)'
624       show: false
625       ymax: null
626       ymin: null
627     tableColumn: ''
628     targets:
629       - expr: >-
630           kube_statefulset_status_replicas_ready{namespace="osm",
631           statefulset="prometheus"}
632         format: time_series
633         refId: A
634     thresholds: '0,1'
635     timeFrom: null
636     timeShift: null
637     title: Prometheus
638     type: singlestat
639     valueFontSize: 100%
640     valueMaps:
641       - op: '='
642         text: '0'
643         value: 'null'
644     valueName: current
645   - cacheTimeout: null
646     colorBackground: false
647     colorValue: false
648     colors:
649       - '#d44a3a'
650       - 'rgba(237, 129, 40, 0.89)'
651       - '#299c46'
652     datasource: Prometheus
653     decimals: null
654     format: none
655     gauge:
656       maxValue: 1
657       minValue: 0
658       show: true
659       thresholdLabels: false
660       thresholdMarkers: false
661     gridPos:
662       h: 4
663       w: 3
664       x: 4
665       'y': 10
666     id: 74
667     interval: null
668     links: []
669     mappingType: 1
670     mappingTypes:
671       - name: value to text
672         value: 1
673       - name: range to text
674         value: 2
675     maxDataPoints: 100
676     nullPointMode: connected
677     nullText: null
678     options: {}
679     postfix: ''
680     postfixFontSize: 50%
681     prefix: ''
682     prefixFontSize: 50%
683     rangeMaps:
684       - from: 'null'
685         text: N/A
686         to: 'null'
687     sparkline:
688       fillColor: 'rgba(31, 118, 189, 0.18)'
689       full: false
690       lineColor: 'rgb(31, 120, 193)'
691       show: false
692       ymax: null
693       ymin: null
694     tableColumn: ''
695     targets:
696       - expr: >-
697           kube_statefulset_status_replicas_ready{namespace="osm",
698           statefulset="mongodb-k8s"}
699         format: time_series
700         refId: A
701     thresholds: '0,1'
702     timeFrom: null
703     timeShift: null
704     title: mongo
705     type: singlestat
706     valueFontSize: 100%
707     valueMaps:
708       - op: '='
709         text: '0'
710         value: 'null'
711     valueName: current
712   - cacheTimeout: null
713     colorBackground: false
714     colorValue: false
715     colors:
716       - '#d44a3a'
717       - 'rgba(237, 129, 40, 0.89)'
718       - '#299c46'
719     datasource: Prometheus
720     format: none
721     gauge:
722       maxValue: 1
723       minValue: 0
724       show: true
725       thresholdLabels: false
726       thresholdMarkers: false
727     gridPos:
728       h: 4
729       w: 3
730       x: 8
731       'y': 10
732     id: 72
733     interval: null
734     links: []
735     mappingType: 1
736     mappingTypes:
737       - name: value to text
738         value: 1
739       - name: range to text
740         value: 2
741     maxDataPoints: 100
742     nullPointMode: connected
743     nullText: null
744     options: {}
745     postfix: ''
746     postfixFontSize: 50%
747     prefix: ''
748     prefixFontSize: 50%
749     rangeMaps:
750       - from: 'null'
751         text: N/A
752         to: 'null'
753     sparkline:
754       fillColor: 'rgba(31, 118, 189, 0.18)'
755       full: false
756       lineColor: 'rgb(31, 120, 193)'
757       show: false
758       ymax: null
759       ymin: null
760     tableColumn: ''
761     targets:
762       - expr: >-
763           kube_statefulset_status_replicas_ready{namespace="osm",
764           statefulset="mysql"}
765         format: time_series
766         refId: A
767     thresholds: '0,1'
768     timeFrom: null
769     timeShift: null
770     title: 'mysql '
771     type: singlestat
772     valueFontSize: 100%
773     valueMaps:
774       - op: '='
775         text: '0'
776         value: 'null'
777     valueName: current
778   - cacheTimeout: null
779     colorBackground: false
780     colorValue: false
781     colors:
782       - '#d44a3a'
783       - 'rgba(237, 129, 40, 0.89)'
784       - '#299c46'
785     datasource: Prometheus
786     format: none
787     gauge:
788       maxValue: 1
789       minValue: 0
790       show: true
791       thresholdLabels: false
792       thresholdMarkers: false
793     gridPos:
794       h: 4
795       w: 3
796       x: 12
797       'y': 10
798     id: 77
799     interval: null
800     links: []
801     mappingType: 1
802     mappingTypes:
803       - name: value to text
804         value: 1
805       - name: range to text
806         value: 2
807     maxDataPoints: 100
808     nullPointMode: connected
809     nullText: null
810     options: {}
811     pluginVersion: 6.3.5
812     postfix: ''
813     postfixFontSize: 50%
814     prefix: ''
815     prefixFontSize: 50%
816     rangeMaps:
817       - from: 'null'
818         text: N/A
819         to: 'null'
820     sparkline:
821       fillColor: 'rgba(31, 118, 189, 0.18)'
822       full: false
823       lineColor: 'rgb(31, 120, 193)'
824       show: false
825       ymax: null
826       ymin: null
827     tableColumn: Value
828     targets:
829       - expr: 'kube_deployment_status_replicas_available{deployment="ro"}'
830         format: time_series
831         instant: true
832         legendFormat: ''
833         refId: A
834     thresholds: '0,1'
835     timeFrom: null
836     timeShift: null
837     title: ro
838     type: singlestat
839     valueFontSize: 100%
840     valueMaps:
841       - op: '='
842         text: '0'
843         value: 'null'
844     valueName: current
845   - cacheTimeout: null
846     colorBackground: false
847     colorValue: false
848     colors:
849       - '#d44a3a'
850       - 'rgba(237, 129, 40, 0.89)'
851       - '#299c46'
852     datasource: Prometheus
853     decimals: null
854     format: none
855     gauge:
856       maxValue: 1
857       minValue: 0
858       show: true
859       thresholdLabels: false
860       thresholdMarkers: false
861     gridPos:
862       h: 4
863       w: 3
864       x: 16
865       'y': 10
866     id: 73
867     interval: null
868     links: []
869     mappingType: 1
870     mappingTypes:
871       - name: value to text
872         value: 1
873       - name: range to text
874         value: 2
875     maxDataPoints: 100
876     nullPointMode: connected
877     nullText: null
878     options: {}
879     postfix: ''
880     postfixFontSize: 50%
881     prefix: ''
882     prefixFontSize: 50%
883     rangeMaps:
884       - from: 'null'
885         text: N/A
886         to: 'null'
887     sparkline:
888       fillColor: 'rgba(31, 118, 189, 0.18)'
889       full: false
890       lineColor: 'rgb(31, 120, 193)'
891       show: false
892       ymax: null
893       ymin: null
894     tableColumn: ''
895     targets:
896       - expr: >-
897           kube_statefulset_status_replicas_ready{namespace="osm",
898           statefulset="zookeeper"}
899         format: time_series
900         refId: A
901     thresholds: '0,1'
902     timeFrom: null
903     timeShift: null
904     title: zookeeper
905     type: singlestat
906     valueFontSize: 100%
907     valueMaps:
908       - op: '='
909         text: '0'
910         value: 'null'
911     valueName: current
912   - cacheTimeout: null
913     colorBackground: false
914     colorValue: false
915     colors:
916       - '#d44a3a'
917       - 'rgba(237, 129, 40, 0.89)'
918       - '#299c46'
919     datasource: Prometheus
920     decimals: null
921     format: none
922     gauge:
923       maxValue: 1
924       minValue: 0
925       show: true
926       thresholdLabels: false
927       thresholdMarkers: false
928     gridPos:
929       h: 4
930       w: 3
931       x: 20
932       'y': 10
933     id: 78
934     interval: null
935     links: []
936     mappingType: 1
937     mappingTypes:
938       - name: value to text
939         value: 1
940       - name: range to text
941         value: 2
942     maxDataPoints: 100
943     nullPointMode: connected
944     nullText: null
945     options: {}
946     postfix: ''
947     postfixFontSize: 50%
948     prefix: ''
949     prefixFontSize: 50%
950     rangeMaps:
951       - from: 'null'
952         text: N/A
953         to: 'null'
954     sparkline:
955       fillColor: 'rgba(31, 118, 189, 0.18)'
956       full: false
957       lineColor: 'rgb(31, 120, 193)'
958       show: false
959       ymax: null
960       ymin: null
961     tableColumn: ''
962     targets:
963       - expr: >-
964           kube_statefulset_status_replicas_ready{namespace="osm",
965           statefulset="kafka"}
966         format: time_series
967         refId: A
968     thresholds: '0,1'
969     timeFrom: null
970     timeShift: null
971     title: kafka
972     type: singlestat
973     valueFontSize: 100%
974     valueMaps:
975       - op: '='
976         text: '0'
977         value: 'null'
978     valueName: current
979   - cacheTimeout: null
980     colorBackground: false
981     colorValue: false
982     colors:
983       - '#d44a3a'
984       - 'rgba(237, 129, 40, 0.89)'
985       - '#299c46'
986     datasource: Prometheus
987     format: none
988     gauge:
989       maxValue: 1
990       minValue: 0
991       show: true
992       thresholdLabels: false
993       thresholdMarkers: false
994     gridPos:
995       h: 4
996       w: 3
997       x: 0
998       'y': 14
999     id: 76
1000     interval: null
1001     links: []
1002     mappingType: 1
1003     mappingTypes:
1004       - name: value to text
1005         value: 1
1006       - name: range to text
1007         value: 2
1008     maxDataPoints: 100
1009     nullPointMode: connected
1010     nullText: null
1011     options: {}
1012     pluginVersion: 6.3.5
1013     postfix: ''
1014     postfixFontSize: 50%
1015     prefix: ''
1016     prefixFontSize: 50%
1017     rangeMaps:
1018       - from: 'null'
1019         text: N/A
1020         to: 'null'
1021     sparkline:
1022       fillColor: 'rgba(31, 118, 189, 0.18)'
1023       full: false
1024       lineColor: 'rgb(31, 120, 193)'
1025       show: false
1026       ymax: null
1027       ymin: null
1028     tableColumn: Value
1029     targets:
1030       - expr: 'kube_deployment_status_replicas_available{deployment="lcm"}'
1031         format: time_series
1032         instant: true
1033         legendFormat: ''
1034         refId: A
1035     thresholds: '0,1'
1036     timeFrom: null
1037     timeShift: null
1038     title: lcm
1039     type: singlestat
1040     valueFontSize: 100%
1041     valueMaps:
1042       - op: '='
1043         text: '0'
1044         value: 'null'
1045     valueName: current
1046   - cacheTimeout: null
1047     colorBackground: false
1048     colorValue: false
1049     colors:
1050       - '#d44a3a'
1051       - 'rgba(237, 129, 40, 0.89)'
1052       - '#299c46'
1053     datasource: Prometheus
1054     format: none
1055     gauge:
1056       maxValue: 1
1057       minValue: 0
1058       show: true
1059       thresholdLabels: false
1060       thresholdMarkers: false
1061     gridPos:
1062       h: 4
1063       w: 3
1064       x: 4
1065       'y': 14
1066     id: 79
1067     interval: null
1068     links: []
1069     mappingType: 1
1070     mappingTypes:
1071       - name: value to text
1072         value: 1
1073       - name: range to text
1074         value: 2
1075     maxDataPoints: 100
1076     nullPointMode: connected
1077     nullText: null
1078     options: {}
1079     pluginVersion: 6.3.5
1080     postfix: ''
1081     postfixFontSize: 50%
1082     prefix: ''
1083     prefixFontSize: 50%
1084     rangeMaps:
1085       - from: 'null'
1086         text: N/A
1087         to: 'null'
1088     sparkline:
1089       fillColor: 'rgba(31, 118, 189, 0.18)'
1090       full: false
1091       lineColor: 'rgb(31, 120, 193)'
1092       show: false
1093       ymax: null
1094       ymin: null
1095     tableColumn: ''
1096     targets:
1097       - expr: 'kube_deployment_status_replicas_available{deployment="ng-ui"}'
1098         instant: true
1099         refId: A
1100     thresholds: '0,1'
1101     timeFrom: null
1102     timeShift: null
1103     title: light-ui
1104     type: singlestat
1105     valueFontSize: 100%
1106     valueMaps:
1107       - op: '='
1108         text: '0'
1109         value: 'null'
1110     valueName: avg
1111   - cacheTimeout: null
1112     colorBackground: false
1113     colorValue: false
1114     colors:
1115       - '#d44a3a'
1116       - 'rgba(237, 129, 40, 0.89)'
1117       - '#299c46'
1118     datasource: Prometheus
1119     description: ''
1120     format: none
1121     gauge:
1122       maxValue: 1
1123       minValue: 0
1124       show: true
1125       thresholdLabels: false
1126       thresholdMarkers: false
1127     gridPos:
1128       h: 4
1129       w: 3
1130       x: 8
1131       'y': 14
1132     id: 75
1133     interval: null
1134     links: []
1135     mappingType: 1
1136     mappingTypes:
1137       - name: value to text
1138         value: 1
1139       - name: range to text
1140         value: 2
1141     maxDataPoints: 100
1142     nullPointMode: connected
1143     nullText: null
1144     options: {}
1145     pluginVersion: 6.3.5
1146     postfix: ''
1147     postfixFontSize: 50%
1148     prefix: ''
1149     prefixFontSize: 50%
1150     rangeMaps:
1151       - from: 'null'
1152         text: N/A
1153         to: 'null'
1154     sparkline:
1155       fillColor: 'rgba(31, 118, 189, 0.18)'
1156       full: false
1157       lineColor: 'rgb(31, 120, 193)'
1158       show: false
1159       ymax: null
1160       ymin: null
1161     tableColumn: Value
1162     targets:
1163       - expr: 'kube_deployment_status_replicas_available{deployment="nbi"}'
1164         format: time_series
1165         instant: true
1166         legendFormat: ''
1167         refId: A
1168     thresholds: '0,1'
1169     timeFrom: null
1170     timeShift: null
1171     title: nbi
1172     type: singlestat
1173     valueFontSize: 100%
1174     valueMaps:
1175       - op: '='
1176         text: '0'
1177         value: 'null'
1178     valueName: current
1179   - cacheTimeout: null
1180     colorBackground: false
1181     colorValue: false
1182     colors:
1183       - '#d44a3a'
1184       - 'rgba(237, 129, 40, 0.89)'
1185       - '#299c46'
1186     datasource: Prometheus
1187     format: none
1188     gauge:
1189       maxValue: 1
1190       minValue: 0
1191       show: true
1192       thresholdLabels: false
1193       thresholdMarkers: false
1194     gridPos:
1195       h: 4
1196       w: 3
1197       x: 12
1198       'y': 14
1199     id: 67
1200     interval: null
1201     links: []
1202     mappingType: 1
1203     mappingTypes:
1204       - name: value to text
1205         value: 1
1206       - name: range to text
1207         value: 2
1208     maxDataPoints: 100
1209     nullPointMode: connected
1210     nullText: null
1211     options: {}
1212     pluginVersion: 6.3.5
1213     postfix: ''
1214     postfixFontSize: 50%
1215     prefix: ''
1216     prefixFontSize: 50%
1217     rangeMaps:
1218       - from: 'null'
1219         text: N/A
1220         to: 'null'
1221     sparkline:
1222       fillColor: 'rgba(31, 118, 189, 0.18)'
1223       full: false
1224       lineColor: 'rgb(31, 120, 193)'
1225       show: false
1226       ymax: null
1227       ymin: null
1228     tableColumn: Value
1229     targets:
1230       - expr: 'kube_deployment_status_replicas_available{deployment="pol"}'
1231         format: time_series
1232         instant: true
1233         legendFormat: ''
1234         refId: A
1235     thresholds: '0,1'
1236     timeFrom: null
1237     timeShift: null
1238     title: pol
1239     type: singlestat
1240     valueFontSize: 100%
1241     valueMaps:
1242       - op: '='
1243         text: '0'
1244         value: 'null'
1245     valueName: current
1246   - cacheTimeout: null
1247     colorBackground: false
1248     colorValue: false
1249     colors:
1250       - '#d44a3a'
1251       - 'rgba(237, 129, 40, 0.89)'
1252       - '#299c46'
1253     datasource: Prometheus
1254     format: none
1255     gauge:
1256       maxValue: 1
1257       minValue: 0
1258       show: true
1259       thresholdLabels: false
1260       thresholdMarkers: false
1261     gridPos:
1262       h: 4
1263       w: 3
1264       x: 16
1265       'y': 14
1266     id: 69
1267     interval: null
1268     links: []
1269     mappingType: 1
1270     mappingTypes:
1271       - name: value to text
1272         value: 1
1273       - name: range to text
1274         value: 2
1275     maxDataPoints: 100
1276     nullPointMode: connected
1277     nullText: null
1278     options: {}
1279     pluginVersion: 6.3.5
1280     postfix: ''
1281     postfixFontSize: 50%
1282     prefix: ''
1283     prefixFontSize: 50%
1284     rangeMaps:
1285       - from: 'null'
1286         text: N/A
1287         to: 'null'
1288     sparkline:
1289       fillColor: 'rgba(31, 118, 189, 0.18)'
1290       full: false
1291       lineColor: 'rgb(31, 120, 193)'
1292       show: false
1293       ymax: null
1294       ymin: null
1295     tableColumn: ''
1296     targets:
1297       - expr: 'kube_deployment_status_replicas_available{deployment="mon"}'
1298         instant: true
1299         refId: A
1300     thresholds: '0,1'
1301     timeFrom: null
1302     timeShift: null
1303     title: mon
1304     type: singlestat
1305     valueFontSize: 100%
1306     valueMaps:
1307       - op: '='
1308         text: '0'
1309         value: 'null'
1310     valueName: avg
1311   - cacheTimeout: null
1312     colorBackground: false
1313     colorValue: false
1314     colors:
1315       - '#d44a3a'
1316       - 'rgba(237, 129, 40, 0.89)'
1317       - '#299c46'
1318     datasource: Prometheus
1319     format: none
1320     gauge:
1321       maxValue: 1
1322       minValue: 0
1323       show: true
1324       thresholdLabels: false
1325       thresholdMarkers: false
1326     gridPos:
1327       h: 4
1328       w: 3
1329       x: 20
1330       'y': 14
1331     id: 81
1332     interval: null
1333     links: []
1334     mappingType: 1
1335     mappingTypes:
1336       - name: value to text
1337         value: 1
1338       - name: range to text
1339         value: 2
1340     maxDataPoints: 100
1341     nullPointMode: connected
1342     nullText: null
1343     options: {}
1344     pluginVersion: 6.3.5
1345     postfix: ''
1346     postfixFontSize: 50%
1347     prefix: ''
1348     prefixFontSize: 50%
1349     rangeMaps:
1350       - from: 'null'
1351         text: N/A
1352         to: 'null'
1353     sparkline:
1354       fillColor: 'rgba(31, 118, 189, 0.18)'
1355       full: false
1356       lineColor: 'rgb(31, 120, 193)'
1357       show: false
1358       ymax: null
1359       ymin: null
1360     tableColumn: Value
1361     targets:
1362       - expr: 'kube_deployment_status_replicas_available{deployment="keystone"}'
1363         format: time_series
1364         instant: true
1365         legendFormat: ''
1366         refId: A
1367     thresholds: '0,1'
1368     timeFrom: null
1369     timeShift: null
1370     title: keystone
1371     type: singlestat
1372     valueFontSize: 100%
1373     valueMaps:
1374       - op: '='
1375         text: '0'
1376         value: 'null'
1377     valueName: current
1378   - datasource: Prometheus
1379     aliasColors: {}
1380     bars: false
1381     dashLength: 10
1382     dashes: false
1383     fill: 6
1384     fillGradient: 0
1385     gridPos:
1386       h: 9
1387       w: 23
1388       x: 0
1389       'y': 18
1390     id: 84
1391     legend:
1392       avg: false
1393       current: false
1394       max: false
1395       min: false
1396       show: true
1397       total: false
1398       values: false
1399     lines: true
1400     linewidth: 1
1401     nullPointMode: 'null'
1402     options:
1403       dataLinks: []
1404     percentage: false
1405     pointradius: 2
1406     points: false
1407     renderer: flot
1408     seriesOverrides: []
1409     spaceLength: 10
1410     stack: true
1411     steppedLine: false
1412     targets:
1413       - expr: >-
1414           sum(namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace="osm"})
1415           by (pod)
1416         instant: false
1417         intervalFactor: 4
1418         legendFormat: '{{pod}}'
1419         refId: A
1420     thresholds: []
1421     timeFrom: null
1422     timeRegions: []
1423     timeShift: null
1424     title: Pod CPU Usage
1425     tooltip:
1426       shared: true
1427       sort: 0
1428       value_type: individual
1429     type: graph
1430     xaxis:
1431       buckets: null
1432       mode: time
1433       name: null
1434       show: true
1435       values: []
1436     yaxes:
1437       - format: short
1438         label: null
1439         logBase: 1
1440         max: null
1441         min: null
1442         show: true
1443       - format: short
1444         label: null
1445         logBase: 1
1446         max: null
1447         min: null
1448         show: true
1449     yaxis:
1450       align: false
1451       alignLevel: null
1452   - datasource: Prometheus
1453     aliasColors: {}
1454     bars: false
1455     dashLength: 10
1456     dashes: false
1457     fill: 6
1458     fillGradient: 0
1459     gridPos:
1460       h: 9
1461       w: 23
1462       x: 0
1463       'y': 27
1464     id: 85
1465     legend:
1466       avg: false
1467       current: false
1468       max: false
1469       min: false
1470       show: true
1471       total: false
1472       values: false
1473     lines: true
1474     linewidth: 1
1475     nullPointMode: 'null'
1476     options:
1477       dataLinks: []
1478     percentage: false
1479     pointradius: 2
1480     points: false
1481     renderer: flot
1482     seriesOverrides: []
1483     spaceLength: 10
1484     stack: true
1485     steppedLine: false
1486     targets:
1487       - expr: >-
1488           sum(container_memory_working_set_bytes{namespace="osm",
1489           container!=""}) by (pod)
1490         intervalFactor: 4
1491         legendFormat: '{{pod}}'
1492         refId: A
1493     thresholds: []
1494     timeFrom: null
1495     timeRegions: []
1496     timeShift: null
1497     title: Pod Memory Usage
1498     tooltip:
1499       shared: true
1500       sort: 0
1501       value_type: individual
1502     type: graph
1503     xaxis:
1504       buckets: null
1505       mode: time
1506       name: null
1507       show: true
1508       values: []
1509     yaxes:
1510       - format: short
1511         label: null
1512         logBase: 1
1513         max: null
1514         min: null
1515         show: true
1516       - format: short
1517         label: null
1518         logBase: 1
1519         max: null
1520         min: null
1521         show: true
1522     yaxis:
1523       align: false
1524       alignLevel: null
1525   - cacheTimeout: null
1526     content: |+
1527       ''
1528       ''
1529       ''
1530     gridPos:
1531       h: 4
1532       w: 3
1533       x: 21
1534       'y': 36
1535     id: 82
1536     links: []
1537     mode: markdown
1538     options: {}
1539     pluginVersion: 6.3.5
1540     targets:
1541       - expr: ''
1542         instant: true
1543         refId: A
1544     timeFrom: null
1545     timeShift: null
1546     title: ''
1547     transparent: true
1548     type: text
1549   - cacheTimeout: null
1550     content: |+
1551       '<h2 style="text-align: center;"></p>'
1552       ''
1553       ''
1554     gridPos:
1555       h: 4
1556       w: 3
1557       x: 19
1558       'y': 40
1559     id: 80
1560     links: []
1561     mode: html
1562     options: {}
1563     pluginVersion: 6.3.5
1564     targets:
1565       - expr: ''
1566         instant: true
1567         refId: A
1568     timeFrom: null
1569     timeShift: null
1570     title: ''
1571     transparent: true
1572     type: text
1573 refresh: 30s
1574 schemaVersion: 19
1575 style: dark
1576 tags: []
1577 templating:
1578   list:
1579     - current:
1580         text: No data sources found
1581         value: ''
1582       hide: 2
1583       includeAll: false
1584       label: ''
1585       multi: false
1586       name: datasource
1587       options: []
1588       query: prometheus
1589       refresh: 1
1590       regex: /$ds/
1591       skipUrlSync: false
1592       type: datasource
1593 time:
1594   from: now-15m
1595   to: now
1596 timepicker:
1597   refresh_intervals:
1598     - 5s
1599     - 10s
1600     - 30s
1601     - 1m
1602     - 5m
1603     - 15m
1604     - 30m
1605     - 1h
1606     - 2h
1607     - 1d
1608   time_options:
1609     - 5m
1610     - 15m
1611     - 1h
1612     - 6h
1613     - 12h
1614     - 24h
1615     - 2d
1616     - 7d
1617     - 30d
1618 timezone: browser
1619 title: OSM Status Summary
1620 uid: 4XuPd2Ii1
1621 version: 2