1 # Copyright 2019 Minsait - Indra S.A.
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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)
21 grafana_dashboard: "1"
22 name: osm-monitoring-osm-summary-grafana
24 k8s-sidecar-target-directory: "/tmp/dashboards/Open Source MANO"
26 osm-summary-dashboard.json: |-
32 "datasource": "-- Grafana --",
35 "iconColor": "rgba(0, 211, 255, 1)",
36 "name": "Annotations & Alerts",
41 "description": "OSM status summary",
46 "iteration": 1577638384562,
50 "icon": "external link",
54 "title": "Dashboards",
69 "title": "Cluster Health",
74 "colorBackground": false,
79 "rgba(237, 129, 40, 0.89)",
82 "datasource": "Prometheus",
88 "thresholdLabels": false,
89 "thresholdMarkers": true
103 "name": "value to text",
107 "name": "range to text",
111 "maxDataPoints": 100,
112 "nullPointMode": "connected",
116 "postfixFontSize": "50%",
118 "prefixFontSize": "50%",
127 "repeatDirection": "h",
129 "fillColor": "rgba(31, 118, 189, 0.18)",
131 "lineColor": "rgb(31, 120, 193)",
134 "tableColumn": "Value",
137 "expr": "sum(kube_node_info)",
138 "format": "time_series",
147 "type": "singlestat",
148 "valueFontSize": "70%",
156 "valueName": "current"
159 "cacheTimeout": null,
160 "colorBackground": false,
164 "rgba(237, 129, 40, 0.89)",
167 "datasource": "Prometheus",
173 "thresholdLabels": false,
174 "thresholdMarkers": true
188 "name": "value to text",
192 "name": "range to text",
196 "maxDataPoints": 100,
197 "nullPointMode": "connected",
200 "postfix": " Pods Running",
201 "postfixFontSize": "50%",
203 "prefixFontSize": "50%",
212 "fillColor": "rgba(78, 203, 42, 0.28)",
214 "lineColor": "#629e51",
220 "expr": "sum(kube_pod_status_phase)",
221 "format": "time_series",
230 "type": "singlestat",
231 "valueFontSize": "70%",
239 "valueName": "current"
242 "cacheTimeout": null,
243 "colorBackground": true,
244 "colorPrefix": false,
248 "rgba(237, 129, 40, 0.89)",
251 "datasource": "Prometheus",
257 "thresholdLabels": false,
258 "thresholdMarkers": true
272 "name": "value to text",
276 "name": "range to text",
280 "maxDataPoints": 100,
281 "nullPointMode": "connected",
284 "postfix": " Nodes Unavailable",
285 "postfixFontSize": "50%",
287 "prefixFontSize": "50%",
296 "fillColor": "rgba(31, 118, 189, 0.18)",
298 "lineColor": "rgb(31, 120, 193)",
304 "expr": "sum(kube_node_info)-sum(kube_node_status_condition{condition=\"Ready\", status=\"true\"})",
305 "format": "time_series",
313 "type": "singlestat",
314 "valueFontSize": "70%",
322 "valueName": "current"
325 "cacheTimeout": null,
326 "colorBackground": true,
330 "rgba(237, 129, 40, 0.89)",
333 "datasource": "Prometheus",
339 "thresholdLabels": false,
340 "thresholdMarkers": true
354 "name": "value to text",
358 "name": "range to text",
362 "maxDataPoints": 100,
363 "nullPointMode": "connected",
366 "postfix": " Pods not Ready",
367 "postfixFontSize": "50%",
369 "prefixFontSize": "50%",
378 "fillColor": "rgba(31, 118, 189, 0.18)",
380 "lineColor": "rgb(31, 120, 193)",
388 "expr": "sum(kube_pod_status_phase{phase!=\"Running\"})",
398 "type": "singlestat",
399 "valueFontSize": "70%",
410 "cacheTimeout": null,
411 "colorBackground": false,
415 "rgba(237, 129, 40, 0.89)",
418 "datasource": "Prometheus",
419 "format": "percentunit",
424 "thresholdLabels": false,
425 "thresholdMarkers": true
439 "name": "value to text",
443 "name": "range to text",
447 "maxDataPoints": 100,
448 "nullPointMode": "connected",
452 "postfixFontSize": "50%",
454 "prefixFontSize": "50%",
463 "fillColor": "rgba(31, 118, 189, 0.18)",
465 "lineColor": "rgb(31, 120, 193)",
471 "expr": "sum(kube_pod_info) / sum(kube_node_status_allocatable_pods)",
472 "format": "time_series",
477 "thresholds": "0.7,0.85",
478 "title": "Pod Usage",
479 "type": "singlestat",
480 "valueFontSize": "80%",
488 "valueName": "current"
491 "cacheTimeout": null,
492 "colorBackground": false,
496 "rgba(237, 129, 40, 0.89)",
499 "datasource": "Prometheus",
500 "format": "percentunit",
505 "thresholdLabels": false,
506 "thresholdMarkers": true
520 "name": "value to text",
524 "name": "range to text",
528 "maxDataPoints": 100,
529 "nullPointMode": "connected",
533 "postfixFontSize": "50%",
535 "prefixFontSize": "50%",
544 "fillColor": "rgba(31, 118, 189, 0.18)",
546 "lineColor": "rgb(31, 120, 193)",
552 "expr": "sum(kube_pod_container_resource_requests_cpu_cores) / sum(kube_node_status_allocatable_cpu_cores)",
553 "format": "time_series",
559 "thresholds": "0.7,0.85",
560 "title": "CPU Usage",
561 "type": "singlestat",
562 "valueFontSize": "80%",
570 "valueName": "current"
573 "cacheTimeout": null,
574 "colorBackground": false,
578 "rgba(237, 129, 40, 0.89)",
581 "datasource": "Prometheus",
582 "format": "percentunit",
587 "thresholdLabels": false,
588 "thresholdMarkers": true
602 "name": "value to text",
606 "name": "range to text",
610 "maxDataPoints": 100,
611 "nullPointMode": "connected",
615 "postfixFontSize": "50%",
617 "prefixFontSize": "50%",
626 "fillColor": "rgba(31, 118, 189, 0.18)",
628 "lineColor": "rgb(31, 120, 193)",
634 "expr": "sum(kube_pod_container_resource_requests_memory_bytes) / sum(kube_node_status_allocatable_memory_bytes)",
635 "format": "time_series",
641 "thresholds": "0.7,0.85",
642 "title": "Memory Usage",
643 "type": "singlestat",
644 "valueFontSize": "80%",
652 "valueName": "current"
655 "cacheTimeout": null,
656 "colorBackground": false,
660 "rgba(237, 129, 40, 0.89)",
663 "datasource": "Prometheus",
664 "format": "percentunit",
669 "thresholdLabels": false,
670 "thresholdMarkers": true
684 "name": "value to text",
688 "name": "range to text",
692 "maxDataPoints": 100,
693 "nullPointMode": "connected",
697 "postfixFontSize": "50%",
699 "prefixFontSize": "50%",
708 "fillColor": "rgba(31, 118, 189, 0.18)",
710 "lineColor": "rgb(31, 120, 193)",
716 "expr": "(sum (node_filesystem_size_bytes) - sum (node_filesystem_free_bytes)) / sum (node_filesystem_size_bytes)",
717 "format": "time_series",
723 "thresholds": "0.7,0.85",
724 "title": "Disk Usage",
725 "type": "singlestat",
726 "valueFontSize": "80%",
734 "valueName": "current"
750 "cacheTimeout": null,
751 "colorBackground": false,
755 "rgba(237, 129, 40, 0.89)",
758 "datasource": "Prometheus",
764 "thresholdLabels": false,
765 "thresholdMarkers": false
779 "name": "value to text",
783 "name": "range to text",
787 "maxDataPoints": 100,
788 "nullPointMode": "connected",
792 "postfixFontSize": "50%",
794 "prefixFontSize": "50%",
803 "fillColor": "rgba(31, 118, 189, 0.18)",
805 "lineColor": "rgb(31, 120, 193)",
813 "expr": "kube_statefulset_status_replicas_ready{namespace=\"osm\", statefulset=\"prometheus\"}",
814 "format": "time_series",
821 "title": "Prometheus",
822 "type": "singlestat",
823 "valueFontSize": "100%",
831 "valueName": "current"
834 "cacheTimeout": null,
835 "colorBackground": false,
839 "rgba(237, 129, 40, 0.89)",
842 "datasource": "Prometheus",
849 "thresholdLabels": false,
850 "thresholdMarkers": false
864 "name": "value to text",
868 "name": "range to text",
872 "maxDataPoints": 100,
873 "nullPointMode": "connected",
877 "postfixFontSize": "50%",
879 "prefixFontSize": "50%",
888 "fillColor": "rgba(31, 118, 189, 0.18)",
890 "lineColor": "rgb(31, 120, 193)",
898 "expr": "kube_statefulset_status_replicas_ready{namespace=\"osm\", statefulset=\"mongo\"}",
899 "format": "time_series",
907 "type": "singlestat",
908 "valueFontSize": "100%",
916 "valueName": "current"
919 "cacheTimeout": null,
920 "colorBackground": false,
924 "rgba(237, 129, 40, 0.89)",
927 "datasource": "Prometheus",
933 "thresholdLabels": false,
934 "thresholdMarkers": false
948 "name": "value to text",
952 "name": "range to text",
956 "maxDataPoints": 100,
957 "nullPointMode": "connected",
961 "postfixFontSize": "50%",
963 "prefixFontSize": "50%",
972 "fillColor": "rgba(31, 118, 189, 0.18)",
974 "lineColor": "rgb(31, 120, 193)",
982 "expr": "kube_statefulset_status_replicas_ready{namespace=\"osm\", statefulset=\"mysql\"}",
983 "format": "time_series",
991 "type": "singlestat",
992 "valueFontSize": "100%",
1000 "valueName": "current"
1003 "cacheTimeout": null,
1004 "colorBackground": false,
1005 "colorValue": false,
1008 "rgba(237, 129, 40, 0.89)",
1011 "datasource": "Prometheus",
1017 "thresholdLabels": false,
1018 "thresholdMarkers": false
1032 "name": "value to text",
1036 "name": "range to text",
1040 "maxDataPoints": 100,
1041 "nullPointMode": "connected",
1044 "pluginVersion": "6.3.5",
1046 "postfixFontSize": "50%",
1048 "prefixFontSize": "50%",
1057 "fillColor": "rgba(31, 118, 189, 0.18)",
1059 "lineColor": "rgb(31, 120, 193)",
1064 "tableColumn": "Value",
1067 "expr": "kube_deployment_status_replicas_available{deployment=\"ro\"}",
1068 "format": "time_series",
1074 "thresholds": "0,1",
1078 "type": "singlestat",
1079 "valueFontSize": "100%",
1087 "valueName": "current"
1090 "cacheTimeout": null,
1091 "colorBackground": false,
1092 "colorValue": false,
1095 "rgba(237, 129, 40, 0.89)",
1098 "datasource": "Prometheus",
1105 "thresholdLabels": false,
1106 "thresholdMarkers": false
1120 "name": "value to text",
1124 "name": "range to text",
1128 "maxDataPoints": 100,
1129 "nullPointMode": "connected",
1133 "postfixFontSize": "50%",
1135 "prefixFontSize": "50%",
1144 "fillColor": "rgba(31, 118, 189, 0.18)",
1146 "lineColor": "rgb(31, 120, 193)",
1154 "expr": "kube_statefulset_status_replicas_ready{namespace=\"osm\", statefulset=\"zookeeper\"}",
1155 "format": "time_series",
1159 "thresholds": "0,1",
1162 "title": "zookeeper",
1163 "type": "singlestat",
1164 "valueFontSize": "100%",
1172 "valueName": "current"
1175 "cacheTimeout": null,
1176 "colorBackground": false,
1177 "colorValue": false,
1180 "rgba(237, 129, 40, 0.89)",
1183 "datasource": "Prometheus",
1190 "thresholdLabels": false,
1191 "thresholdMarkers": false
1205 "name": "value to text",
1209 "name": "range to text",
1213 "maxDataPoints": 100,
1214 "nullPointMode": "connected",
1218 "postfixFontSize": "50%",
1220 "prefixFontSize": "50%",
1229 "fillColor": "rgba(31, 118, 189, 0.18)",
1231 "lineColor": "rgb(31, 120, 193)",
1239 "expr": "kube_statefulset_status_replicas_ready{namespace=\"osm\", statefulset=\"kafka\"}",
1240 "format": "time_series",
1244 "thresholds": "0,1",
1248 "type": "singlestat",
1249 "valueFontSize": "100%",
1257 "valueName": "current"
1260 "cacheTimeout": null,
1261 "colorBackground": false,
1262 "colorValue": false,
1265 "rgba(237, 129, 40, 0.89)",
1268 "datasource": "Prometheus",
1274 "thresholdLabels": false,
1275 "thresholdMarkers": false
1289 "name": "value to text",
1293 "name": "range to text",
1297 "maxDataPoints": 100,
1298 "nullPointMode": "connected",
1301 "pluginVersion": "6.3.5",
1303 "postfixFontSize": "50%",
1305 "prefixFontSize": "50%",
1314 "fillColor": "rgba(31, 118, 189, 0.18)",
1316 "lineColor": "rgb(31, 120, 193)",
1321 "tableColumn": "Value",
1324 "expr": "kube_deployment_status_replicas_available{deployment=\"lcm\"}",
1325 "format": "time_series",
1331 "thresholds": "0,1",
1335 "type": "singlestat",
1336 "valueFontSize": "100%",
1344 "valueName": "current"
1347 "cacheTimeout": null,
1348 "colorBackground": false,
1349 "colorValue": false,
1352 "rgba(237, 129, 40, 0.89)",
1355 "datasource": "Prometheus",
1361 "thresholdLabels": false,
1362 "thresholdMarkers": false
1376 "name": "value to text",
1380 "name": "range to text",
1384 "maxDataPoints": 100,
1385 "nullPointMode": "connected",
1388 "pluginVersion": "6.3.5",
1390 "postfixFontSize": "50%",
1392 "prefixFontSize": "50%",
1401 "fillColor": "rgba(31, 118, 189, 0.18)",
1403 "lineColor": "rgb(31, 120, 193)",
1411 "expr": "kube_deployment_status_replicas_available{deployment=\"light-ui\"}",
1416 "thresholds": "0,1",
1419 "title": "light-ui",
1420 "type": "singlestat",
1421 "valueFontSize": "100%",
1432 "cacheTimeout": null,
1433 "colorBackground": false,
1434 "colorValue": false,
1437 "rgba(237, 129, 40, 0.89)",
1440 "datasource": "Prometheus",
1447 "thresholdLabels": false,
1448 "thresholdMarkers": false
1462 "name": "value to text",
1466 "name": "range to text",
1470 "maxDataPoints": 100,
1471 "nullPointMode": "connected",
1474 "pluginVersion": "6.3.5",
1476 "postfixFontSize": "50%",
1478 "prefixFontSize": "50%",
1487 "fillColor": "rgba(31, 118, 189, 0.18)",
1489 "lineColor": "rgb(31, 120, 193)",
1494 "tableColumn": "Value",
1497 "expr": "kube_deployment_status_replicas_available{deployment=\"nbi\"}",
1498 "format": "time_series",
1504 "thresholds": "0,1",
1508 "type": "singlestat",
1509 "valueFontSize": "100%",
1517 "valueName": "current"
1520 "cacheTimeout": null,
1521 "colorBackground": false,
1522 "colorValue": false,
1525 "rgba(237, 129, 40, 0.89)",
1528 "datasource": "Prometheus",
1534 "thresholdLabels": false,
1535 "thresholdMarkers": false
1549 "name": "value to text",
1553 "name": "range to text",
1557 "maxDataPoints": 100,
1558 "nullPointMode": "connected",
1561 "pluginVersion": "6.3.5",
1563 "postfixFontSize": "50%",
1565 "prefixFontSize": "50%",
1574 "fillColor": "rgba(31, 118, 189, 0.18)",
1576 "lineColor": "rgb(31, 120, 193)",
1581 "tableColumn": "Value",
1584 "expr": "kube_deployment_status_replicas_available{deployment=\"pol\"}",
1585 "format": "time_series",
1591 "thresholds": "0,1",
1595 "type": "singlestat",
1596 "valueFontSize": "100%",
1604 "valueName": "current"
1607 "cacheTimeout": null,
1608 "colorBackground": false,
1609 "colorValue": false,
1612 "rgba(237, 129, 40, 0.89)",
1615 "datasource": "Prometheus",
1621 "thresholdLabels": false,
1622 "thresholdMarkers": false
1636 "name": "value to text",
1640 "name": "range to text",
1644 "maxDataPoints": 100,
1645 "nullPointMode": "connected",
1648 "pluginVersion": "6.3.5",
1650 "postfixFontSize": "50%",
1652 "prefixFontSize": "50%",
1661 "fillColor": "rgba(31, 118, 189, 0.18)",
1663 "lineColor": "rgb(31, 120, 193)",
1671 "expr": "kube_deployment_status_replicas_available{deployment=\"mon\"}",
1676 "thresholds": "0,1",
1680 "type": "singlestat",
1681 "valueFontSize": "100%",
1692 "cacheTimeout": null,
1693 "colorBackground": false,
1694 "colorValue": false,
1697 "rgba(237, 129, 40, 0.89)",
1700 "datasource": "Prometheus",
1706 "thresholdLabels": false,
1707 "thresholdMarkers": false
1721 "name": "value to text",
1725 "name": "range to text",
1729 "maxDataPoints": 100,
1730 "nullPointMode": "connected",
1733 "pluginVersion": "6.3.5",
1735 "postfixFontSize": "50%",
1737 "prefixFontSize": "50%",
1746 "fillColor": "rgba(31, 118, 189, 0.18)",
1748 "lineColor": "rgb(31, 120, 193)",
1753 "tableColumn": "Value",
1756 "expr": "kube_deployment_status_replicas_available{deployment=\"keystone\"}",
1757 "format": "time_series",
1763 "thresholds": "0,1",
1766 "title": "keystone",
1767 "type": "singlestat",
1768 "valueFontSize": "100%",
1776 "valueName": "current"
1779 "datasource": "Prometheus",
1804 "nullPointMode": "null",
1808 "percentage": false,
1812 "seriesOverrides": [],
1815 "steppedLine": false,
1818 "expr": "sum(namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=\"osm\"}) by (pod)",
1820 "intervalFactor": 4,
1821 "legendFormat": "{{pod}}",
1829 "title": "Pod CPU Usage",
1833 "value_type": "individual"
1867 "datasource": "Prometheus",
1892 "nullPointMode": "null",
1896 "percentage": false,
1900 "seriesOverrides": [],
1903 "steppedLine": false,
1906 "expr": "sum(container_memory_working_set_bytes{namespace=\"osm\", container!=\"\"}) by (pod)",
1907 "intervalFactor": 4,
1908 "legendFormat": "{{pod}}",
1916 "title": "Pod Memory Usage",
1920 "value_type": "individual"
1954 "cacheTimeout": null,
1955 "content": "\n\n\n",
1966 "pluginVersion": "6.3.5",
1977 "transparent": true,
1981 "cacheTimeout": null,
1982 "content": "<h2 style=\"text-align: center;\"></p>\n\n\n",
1993 "pluginVersion": "6.3.5",
2004 "transparent": true,
2009 "schemaVersion": 19,
2016 "text": "No data sources found",
2020 "includeAll": false,
2023 "name": "datasource",
2025 "query": "prometheus",
2028 "skipUrlSync": false,
2029 "type": "datasource"
2038 "refresh_intervals": [
2062 "timezone": "browser",
2063 "title": "OSM Status Summary",