X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=installers%2Fk8s%2Fsummary-dashboard.yaml;h=b35745113ddf3d01ab0b7f194de77ffb47393e90;hb=9d01bf493067a7197487f1c32ca1d54371c94b03;hp=2919440382c511307a82fdb223fe26203887f3b2;hpb=e366b1a9f5405252757890bcbaa392d269fafad0;p=osm%2Fdevops.git diff --git a/installers/k8s/summary-dashboard.yaml b/installers/k8s/summary-dashboard.yaml index 29194403..b3574511 100644 --- a/installers/k8s/summary-dashboard.yaml +++ b/installers/k8s/summary-dashboard.yaml @@ -19,11 +19,11 @@ kind: ConfigMap metadata: labels: grafana_dashboard: "1" - name: osm-monitoring-prometheus-summary-grafana + name: osm-monitoring-osm-summary-grafana annotations: - k8s-sidecar-target-directory: "/tmp/dashboards/Summary" + k8s-sidecar-target-directory: "/tmp/dashboards/Open Source MANO" data: - summary-dashboard.json: |- + osm-summary-dashboard.json: |- { "annotations": { "list": [ @@ -38,22 +38,19 @@ data: } ] }, - "description": "Summary metrics about containers running on Kubernetes nodes and OSM Modules", + "description": "OSM status summary", "editable": true, "gnetId": 6417, "graphTooltip": 1, - "id": 28, - "iteration": 1574687594565, + "id": 10, + "iteration": 1577638384562, "links": [ { "asDropdown": true, "icon": "external link", "includeVars": true, "keepTime": false, - "tags": [ - "osm-third-party-modules", - "kubernetes-cluster" - ], + "tags": [], "title": "Dashboards", "type": "dashboards" } @@ -75,6 +72,7 @@ data: { "cacheTimeout": null, "colorBackground": false, + "colorPrefix": false, "colorValue": false, "colors": [ "#299c46", @@ -82,21 +80,21 @@ data: "#d44a3a" ], "datasource": "Prometheus", - "format": "percentunit", + "format": "none", "gauge": { "maxValue": 100, "minValue": 0, - "show": true, + "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { - "h": 4, - "w": 6, + "h": 2, + "w": 12, "x": 0, "y": 1 }, - "id": 4, + "id": 26, "interval": null, "links": [], "mappingType": 1, @@ -114,7 +112,7 @@ data: "nullPointMode": "connected", "nullText": null, "options": {}, - "postfix": "", + "postfix": " Nodes", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", @@ -125,25 +123,29 @@ data: "to": "null" } ], + "repeat": null, + "repeatDirection": "h", "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", "show": false }, - "tableColumn": "", + "tableColumn": "Value", "targets": [ { - "expr": "sum(kube_pod_info{node=~\"$node\"}) / sum(kube_node_status_allocatable_pods{node=~\".*\"})", + "expr": "sum(kube_node_info)", "format": "time_series", + "instant": true, "intervalFactor": 1, - "refId": "A" + "legendFormat": "", + "refId": "B" } ], - "thresholds": "80,90", - "title": "Cluster Pod Usage", + "thresholds": "1", + "title": "", "type": "singlestat", - "valueFontSize": "80%", + "valueFontSize": "70%", "valueMaps": [ { "op": "=", @@ -163,21 +165,21 @@ data: "#d44a3a" ], "datasource": "Prometheus", - "format": "percentunit", + "format": "none", "gauge": { "maxValue": 100, "minValue": 0, - "show": true, + "show": false, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { - "h": 4, - "w": 6, - "x": 6, + "h": 2, + "w": 12, + "x": 12, "y": 1 }, - "id": 5, + "id": 30, "interval": null, "links": [], "mappingType": 1, @@ -195,7 +197,91 @@ data: "nullPointMode": "connected", "nullText": null, "options": {}, - "postfix": "", + "postfix": " Pods Running", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(78, 203, 42, 0.28)", + "full": false, + "lineColor": "#629e51", + "show": true + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(kube_pod_status_phase)", + "format": "time_series", + "instant": true, + "interval": "", + "intervalFactor": 1, + "refId": "A" + } + ], + "thresholds": "", + "title": "", + "type": "singlestat", + "valueFontSize": "70%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "current" + }, + { + "cacheTimeout": null, + "colorBackground": true, + "colorPrefix": false, + "colorValue": false, + "colors": [ + "#56A64B", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "Prometheus", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 2, + "w": 12, + "x": 0, + "y": 3 + }, + "id": 24, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "options": {}, + "postfix": " Nodes Unavailable", "postfixFontSize": "50%", "prefix": "", "prefixFontSize": "50%", @@ -215,16 +301,17 @@ data: "tableColumn": "", "targets": [ { - "expr": "sum(kube_pod_container_resource_requests_cpu_cores{node=~\"$node\"}) / sum(kube_node_status_allocatable_cpu_cores{node=~\"$node\"})", + "expr": "sum(kube_node_info)-sum(kube_node_status_condition{condition=\"Ready\", status=\"true\"})", "format": "time_series", + "instant": true, "intervalFactor": 1, "refId": "A" } ], - "thresholds": "80,90", - "title": "Cluster CPU Usage", + "thresholds": "1,1", + "title": "", "type": "singlestat", - "valueFontSize": "80%", + "valueFontSize": "70%", "valueMaps": [ { "op": "=", @@ -234,6 +321,91 @@ data: ], "valueName": "current" }, + { + "cacheTimeout": null, + "colorBackground": true, + "colorValue": false, + "colors": [ + "#56A64B", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], + "datasource": "Prometheus", + "format": "none", + "gauge": { + "maxValue": 100, + "minValue": 0, + "show": false, + "thresholdLabels": false, + "thresholdMarkers": true + }, + "gridPos": { + "h": 2, + "w": 12, + "x": 12, + "y": 3 + }, + "id": 55, + "interval": null, + "links": [], + "mappingType": 1, + "mappingTypes": [ + { + "name": "value to text", + "value": 1 + }, + { + "name": "range to text", + "value": 2 + } + ], + "maxDataPoints": 100, + "nullPointMode": "connected", + "nullText": null, + "options": {}, + "postfix": " Pods not Ready", + "postfixFontSize": "50%", + "prefix": "", + "prefixFontSize": "50%", + "rangeMaps": [ + { + "from": "null", + "text": "N/A", + "to": "null" + } + ], + "sparkline": { + "fillColor": "rgba(31, 118, 189, 0.18)", + "full": false, + "lineColor": "rgb(31, 120, 193)", + "show": false, + "ymax": null, + "ymin": null + }, + "tableColumn": "", + "targets": [ + { + "expr": "sum(kube_pod_status_phase{phase!=\"Running\"})", + "instant": true, + "legendFormat": "", + "refId": "A" + } + ], + "thresholds": "1", + "timeFrom": null, + "timeShift": null, + "title": "", + "type": "singlestat", + "valueFontSize": "70%", + "valueMaps": [ + { + "op": "=", + "text": "N/A", + "value": "null" + } + ], + "valueName": "avg" + }, { "cacheTimeout": null, "colorBackground": false, @@ -246,7 +418,7 @@ data: "datasource": "Prometheus", "format": "percentunit", "gauge": { - "maxValue": 100, + "maxValue": 1, "minValue": 0, "show": true, "thresholdLabels": false, @@ -255,10 +427,10 @@ data: "gridPos": { "h": 4, "w": 6, - "x": 12, - "y": 1 + "x": 0, + "y": 5 }, - "id": 6, + "id": 4, "interval": null, "links": [], "mappingType": 1, @@ -296,14 +468,14 @@ data: "tableColumn": "", "targets": [ { - "expr": "sum(kube_pod_container_resource_requests_memory_bytes{node=~\"$node\"}) / sum(kube_node_status_allocatable_memory_bytes{node=~\"$node\"})", + "expr": "sum(kube_pod_info) / sum(kube_node_status_allocatable_pods)", "format": "time_series", "intervalFactor": 1, "refId": "A" } ], - "thresholds": "80,90", - "title": "Cluster Memory Usage", + "thresholds": "0.7,0.85", + "title": "Pod Usage", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ @@ -327,7 +499,7 @@ data: "datasource": "Prometheus", "format": "percentunit", "gauge": { - "maxValue": 100, + "maxValue": 1, "minValue": 0, "show": true, "thresholdLabels": false, @@ -336,10 +508,10 @@ data: "gridPos": { "h": 4, "w": 6, - "x": 18, - "y": 1 + "x": 6, + "y": 5 }, - "id": 7, + "id": 5, "interval": null, "links": [], "mappingType": 1, @@ -377,14 +549,15 @@ data: "tableColumn": "", "targets": [ { - "expr": "(sum (node_filesystem_size_bytes{nodename=~\"$node\"}) - sum (node_filesystem_free_bytes{nodename=~\"$node\"})) / sum (node_filesystem_size_bytes{nodename=~\"$node\"})", + "expr": "sum(kube_pod_container_resource_requests_cpu_cores) / sum(kube_node_status_allocatable_cpu_cores)", "format": "time_series", + "instant": true, "intervalFactor": 1, "refId": "A" } ], - "thresholds": "80,90", - "title": "Cluster Disk Usage", + "thresholds": "0.7,0.85", + "title": "CPU Usage", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ @@ -397,959 +570,37 @@ data: "valueName": "current" }, { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, + "cacheTimeout": null, + "colorBackground": false, + "colorValue": false, + "colors": [ + "#299c46", + "rgba(237, 129, 40, 0.89)", + "#d44a3a" + ], "datasource": "Prometheus", - "fill": 1, - "fillGradient": 0, + "format": "percentunit", + "gauge": { + "maxValue": 1, + "minValue": 0, + "show": true, + "thresholdLabels": false, + "thresholdMarkers": true + }, "gridPos": { - "h": 5, + "h": 4, "w": 6, - "x": 0, + "x": 12, "y": 5 }, - "id": 9, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, + "id": 6, + "interval": null, "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ + "mappingType": 1, + "mappingTypes": [ { - "expr": "sum(kube_node_status_allocatable_pods{node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "allocatable", - "refId": "A" - }, - { - "expr": "sum(kube_node_status_capacity_pods{node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "capacity", - "refId": "B" - }, - { - "expr": "sum(kube_pod_info{node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "requested", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Cluster Pod Capacity", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "short", - "label": "pods", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 5, - "w": 6, - "x": 6, - "y": 5 - }, - "id": 10, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(kube_node_status_capacity_cpu_cores{node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "allocatable", - "refId": "A" - }, - { - "expr": "sum(kube_node_status_allocatable_cpu_cores{node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "capacity", - "refId": "B" - }, - { - "expr": "sum(kube_pod_container_resource_requests_cpu_cores{node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "requested", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Cluster CPU Capacity", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "decimals": null, - "format": "none", - "label": "cores", - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 5, - "w": 6, - "x": 12, - "y": 5 - }, - "id": 11, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(kube_node_status_allocatable_memory_bytes{node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "allocatable", - "refId": "A" - }, - { - "expr": "sum(kube_node_status_capacity_memory_bytes{node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "capacity", - "refId": "B" - }, - { - "expr": "sum(kube_pod_container_resource_requests_memory_bytes{node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "requested", - "refId": "C" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Cluster Mem Capacity", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "decbytes", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, - "datasource": "Prometheus", - "fill": 1, - "fillGradient": 0, - "gridPos": { - "h": 5, - "w": 6, - "x": 18, - "y": 5 - }, - "id": 12, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "dataLinks": [] - }, - "percentage": false, - "pointradius": 5, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(node_filesystem_size_bytes{nodename=~\"$node\"}) - sum(node_filesystem_free_bytes{nodename=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "usage", - "refId": "A" - }, - { - "expr": "sum(node_filesystem_size_bytes{nodename=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "limit", - "refId": "B" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Cluster Disk Capacity", - "tooltip": { - "shared": true, - "sort": 0, - "value_type": "individual" - }, - "type": "graph", - "xaxis": { - "buckets": null, - "mode": "time", - "name": null, - "show": true, - "values": [] - }, - "yaxes": [ - { - "format": "decbytes", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - }, - { - "format": "short", - "label": null, - "logBase": 1, - "max": null, - "min": null, - "show": true - } - ], - "yaxis": { - "align": false, - "alignLevel": null - } - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 10 - }, - "id": 14, - "panels": [], - "title": "Deployments", - "type": "row" - }, - { - "columns": [ - { - "text": "Current", - "value": "current" - } - ], - "datasource": "Prometheus", - "fontSize": "100%", - "gridPos": { - "h": 5, - "w": 6, - "x": 0, - "y": 11 - }, - "id": 16, - "links": [], - "options": {}, - "pageSize": null, - "scroll": true, - "showHeader": true, - "sort": { - "col": 1, - "desc": true - }, - "styles": [ - { - "alias": "Time", - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "pattern": "Time", - "type": "date" - }, - { - "alias": "", - "colorMode": "row", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "decimals": 0, - "pattern": "Metric", - "thresholds": [ - "0", - "0", - ".9" - ], - "type": "string", - "unit": "none" - }, - { - "alias": "", - "colorMode": "row", - "colors": [ - "rgba(245, 54, 54, 0.9)", - "rgba(237, 129, 40, 0.89)", - "rgba(50, 172, 45, 0.97)" - ], - "dateFormat": "YYYY-MM-DD HH:mm:ss", - "decimals": 0, - "link": false, - "pattern": "Value", - "thresholds": [ - "0", - "1" - ], - "type": "number", - "unit": "none" - } - ], - "targets": [ - { - "expr": "kube_deployment_status_replicas{namespace=~\"$namespace\"}", - "format": "time_series", - "instant": true, - "interval": "", - "intervalFactor": 1, - "legendFormat": "{{ deployment }}", - "refId": "A" - } - ], - "title": "Deployment Replicas - Up To Date", - "transform": "timeseries_to_rows", - "type": "table" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": "Prometheus", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 5, - "w": 6, - "x": 6, - "y": 11 - }, - "id": 18, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false - }, - "tableColumn": "", - "targets": [ - { - "expr": "sum(kube_deployment_status_replicas{namespace=~\"$namespace\"})", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": "", - "title": "Deployment Replicas", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "avg" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": "Prometheus", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 5, - "w": 6, - "x": 12, - "y": 11 - }, - "id": 19, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false - }, - "tableColumn": "", - "targets": [ - { - "expr": "sum(kube_deployment_status_replicas_updated{namespace=~\"$namespace\"})", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": "", - "title": "Deployment Replicas - Updated", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "avg" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": "Prometheus", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 5, - "w": 6, - "x": 18, - "y": 11 - }, - "id": 20, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false - }, - "tableColumn": "", - "targets": [ - { - "expr": "sum(kube_deployment_status_replicas_unavailable{namespace=~\"$namespace\"})", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": "", - "title": "Deployment Replicas - Unavailable", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "avg" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 16 - }, - "id": 22, - "panels": [], - "title": "Node", - "type": "row" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": "Prometheus", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 3, - "w": 8, - "x": 0, - "y": 17 - }, - "id": 24, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false - }, - "tableColumn": "", - "targets": [ - { - "expr": "sum(kube_node_info{node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": "", - "title": "Number Of Nodes", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "avg" - }, - { - "cacheTimeout": null, - "colorBackground": true, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": "Prometheus", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 3, - "w": 8, - "x": 8, - "y": 17 - }, - "id": 25, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false - }, - "tableColumn": "", - "targets": [ - { - "expr": "sum(kube_node_status_condition{condition=\"OutOfDisk\", node=~\"$node\", status=\"true\"}) or vector(0)", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": "1", - "title": "Nodes Out of Disk", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, - { - "cacheTimeout": null, - "colorBackground": true, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": "Prometheus", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 3, - "w": 8, - "x": 16, - "y": 17 - }, - "id": 26, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 + "name": "value to text", + "value": 1 }, { "name": "range to text", @@ -1374,115 +625,21 @@ data: "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false - }, - "tableColumn": "", - "targets": [ - { - "expr": "sum(kube_node_spec_unschedulable{node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": "1", - "title": "Nodes Unavailable", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 20 - }, - "id": 28, - "panels": [], - "title": "Pods", - "type": "row" - }, - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": "Prometheus", - "format": "none", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "gridPos": { - "h": 3, - "w": 12, - "x": 0, - "y": 21 - }, - "id": 30, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "options": {}, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "sparkline": { - "fillColor": "rgba(78, 203, 42, 0.28)", - "full": false, - "lineColor": "#629e51", - "show": true + "lineColor": "rgb(31, 120, 193)", + "show": false }, "tableColumn": "", "targets": [ { - "expr": "sum(kube_pod_status_phase{namespace=~\"$namespace\", phase=\"Running\"})", + "expr": "sum(kube_pod_container_resource_requests_memory_bytes) / sum(kube_node_status_allocatable_memory_bytes)", "format": "time_series", - "interval": "", + "instant": true, "intervalFactor": 1, "refId": "A" } ], - "thresholds": "", - "title": "Pods Running", + "thresholds": "0.7,0.85", + "title": "Memory Usage", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ @@ -1499,26 +656,26 @@ data: "colorBackground": false, "colorValue": false, "colors": [ - "#299c46", + "#73BF69", "rgba(237, 129, 40, 0.89)", "#d44a3a" ], "datasource": "Prometheus", - "format": "none", + "format": "percentunit", "gauge": { - "maxValue": 100, + "maxValue": 1, "minValue": 0, - "show": false, + "show": true, "thresholdLabels": false, "thresholdMarkers": true }, "gridPos": { - "h": 3, - "w": 12, - "x": 12, - "y": 21 + "h": 4, + "w": 6, + "x": 18, + "y": 5 }, - "id": 31, + "id": 7, "interval": null, "links": [], "mappingType": 1, @@ -1548,23 +705,23 @@ data: } ], "sparkline": { - "fillColor": "rgba(78, 203, 42, 0.28)", + "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, - "lineColor": "#629e51", - "show": true + "lineColor": "rgb(31, 120, 193)", + "show": false }, "tableColumn": "", "targets": [ { - "expr": "sum(kube_pod_status_phase{namespace=~\"$namespace\", phase=\"Pending\"})", + "expr": "(sum (node_filesystem_size_bytes) - sum (node_filesystem_free_bytes)) / sum (node_filesystem_size_bytes)", "format": "time_series", - "interval": "", + "instant": true, "intervalFactor": 1, "refId": "A" } ], - "thresholds": "", - "title": "Pods Pending", + "thresholds": "0.7,0.85", + "title": "Disk Usage", "type": "singlestat", "valueFontSize": "80%", "valueMaps": [ @@ -1576,31 +733,44 @@ data: ], "valueName": "current" }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 9 + }, + "id": 61, + "panels": [], + "title": "OSM", + "type": "row" + }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ - "#299c46", + "#d44a3a", "rgba(237, 129, 40, 0.89)", - "#d44a3a" + "#299c46" ], "datasource": "Prometheus", "format": "none", "gauge": { - "maxValue": 100, + "maxValue": 1, "minValue": 0, - "show": false, + "show": true, "thresholdLabels": false, - "thresholdMarkers": true + "thresholdMarkers": false }, "gridPos": { - "h": 3, - "w": 8, + "h": 4, + "w": 3, "x": 0, - "y": 24 + "y": 10 }, - "id": 32, + "id": 71, "interval": null, "links": [], "mappingType": 1, @@ -1630,29 +800,31 @@ data: } ], "sparkline": { - "fillColor": "rgba(78, 203, 42, 0.28)", + "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, - "lineColor": "#629e51", - "show": true + "lineColor": "rgb(31, 120, 193)", + "show": false, + "ymax": null, + "ymin": null }, "tableColumn": "", "targets": [ { - "expr": "sum(kube_pod_status_phase{namespace=~\"$namespace\", phase=\"Failed\"})", + "expr": "kube_statefulset_status_replicas_ready{namespace=\"osm\", statefulset=\"prometheus\"}", "format": "time_series", - "interval": "", - "intervalFactor": 1, "refId": "A" } ], - "thresholds": "", - "title": "Pods Failed", + "thresholds": "0,1", + "timeFrom": null, + "timeShift": null, + "title": "Prometheus", "type": "singlestat", - "valueFontSize": "80%", + "valueFontSize": "100%", "valueMaps": [ { "op": "=", - "text": "N/A", + "text": "0", "value": "null" } ], @@ -1663,26 +835,27 @@ data: "colorBackground": false, "colorValue": false, "colors": [ - "#299c46", + "#d44a3a", "rgba(237, 129, 40, 0.89)", - "#d44a3a" + "#299c46" ], "datasource": "Prometheus", + "decimals": null, "format": "none", "gauge": { - "maxValue": 100, + "maxValue": 1, "minValue": 0, - "show": false, + "show": true, "thresholdLabels": false, - "thresholdMarkers": true + "thresholdMarkers": false }, "gridPos": { - "h": 3, - "w": 8, - "x": 8, - "y": 24 + "h": 4, + "w": 3, + "x": 4, + "y": 10 }, - "id": 33, + "id": 74, "interval": null, "links": [], "mappingType": 1, @@ -1712,29 +885,31 @@ data: } ], "sparkline": { - "fillColor": "rgba(78, 203, 42, 0.28)", + "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, - "lineColor": "#629e51", - "show": true + "lineColor": "rgb(31, 120, 193)", + "show": false, + "ymax": null, + "ymin": null }, "tableColumn": "", "targets": [ { - "expr": "sum(kube_pod_status_phase{namespace=~\"$namespace\", phase=\"Succeeded\"})", + "expr": "kube_statefulset_status_replicas_ready{namespace=\"osm\", statefulset=\"mongo\"}", "format": "time_series", - "interval": "", - "intervalFactor": 1, "refId": "A" } ], - "thresholds": "", - "title": "Pods Succeeded", + "thresholds": "0,1", + "timeFrom": null, + "timeShift": null, + "title": "mongo", "type": "singlestat", - "valueFontSize": "80%", + "valueFontSize": "100%", "valueMaps": [ { "op": "=", - "text": "N/A", + "text": "0", "value": "null" } ], @@ -1745,26 +920,26 @@ data: "colorBackground": false, "colorValue": false, "colors": [ - "#299c46", + "#d44a3a", "rgba(237, 129, 40, 0.89)", - "#d44a3a" + "#299c46" ], "datasource": "Prometheus", "format": "none", "gauge": { - "maxValue": 100, + "maxValue": 1, "minValue": 0, - "show": false, + "show": true, "thresholdLabels": false, - "thresholdMarkers": true + "thresholdMarkers": false }, "gridPos": { - "h": 3, - "w": 8, - "x": 16, - "y": 24 + "h": 4, + "w": 3, + "x": 8, + "y": 10 }, - "id": 34, + "id": 72, "interval": null, "links": [], "mappingType": 1, @@ -1794,72 +969,61 @@ data: } ], "sparkline": { - "fillColor": "rgba(78, 203, 42, 0.28)", + "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, - "lineColor": "#629e51", - "show": true + "lineColor": "rgb(31, 120, 193)", + "show": false, + "ymax": null, + "ymin": null }, "tableColumn": "", "targets": [ { - "expr": "sum(kube_pod_status_phase{namespace=~\"$namespace\", phase=\"Unknown\"})", + "expr": "kube_statefulset_status_replicas_ready{namespace=\"osm\", statefulset=\"mysql\"}", "format": "time_series", - "interval": "", - "intervalFactor": 1, "refId": "A" } ], - "thresholds": "", - "title": "Pods Unknown", + "thresholds": "0,1", + "timeFrom": null, + "timeShift": null, + "title": "mysql ", "type": "singlestat", - "valueFontSize": "80%", + "valueFontSize": "100%", "valueMaps": [ { "op": "=", - "text": "N/A", + "text": "0", "value": "null" } ], "valueName": "current" }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 27 - }, - "id": 36, - "panels": [], - "title": "Containers", - "type": "row" - }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ - "#299c46", + "#d44a3a", "rgba(237, 129, 40, 0.89)", - "#d44a3a" + "#299c46" ], "datasource": "Prometheus", "format": "none", "gauge": { - "maxValue": 100, + "maxValue": 1, "minValue": 0, - "show": false, + "show": true, "thresholdLabels": false, - "thresholdMarkers": true + "thresholdMarkers": false }, "gridPos": { - "h": 3, - "w": 6, - "x": 0, - "y": 28 + "h": 4, + "w": 3, + "x": 12, + "y": 10 }, - "id": 38, + "id": 77, "interval": null, "links": [], "mappingType": 1, @@ -1877,6 +1041,7 @@ data: "nullPointMode": "connected", "nullText": null, "options": {}, + "pluginVersion": "6.3.5", "postfix": "", "postfixFontSize": "50%", "prefix": "", @@ -1892,25 +1057,30 @@ data: "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", - "show": true + "show": false, + "ymax": null, + "ymin": null }, - "tableColumn": "", + "tableColumn": "Value", "targets": [ { - "expr": "sum(kube_pod_container_status_running{namespace=~\"$namespace\"})", + "expr": "kube_deployment_status_replicas_available{deployment=\"ro\"}", "format": "time_series", - "intervalFactor": 1, + "instant": true, + "legendFormat": "", "refId": "A" } ], - "thresholds": "", - "title": "Containers Running", + "thresholds": "0,1", + "timeFrom": null, + "timeShift": null, + "title": "ro", "type": "singlestat", - "valueFontSize": "80%", + "valueFontSize": "100%", "valueMaps": [ { "op": "=", - "text": "N/A", + "text": "0", "value": "null" } ], @@ -1921,26 +1091,27 @@ data: "colorBackground": false, "colorValue": false, "colors": [ - "#299c46", + "#d44a3a", "rgba(237, 129, 40, 0.89)", - "#d44a3a" + "#299c46" ], "datasource": "Prometheus", + "decimals": null, "format": "none", "gauge": { - "maxValue": 100, + "maxValue": 1, "minValue": 0, - "show": false, + "show": true, "thresholdLabels": false, - "thresholdMarkers": true + "thresholdMarkers": false }, "gridPos": { - "h": 3, - "w": 6, - "x": 6, - "y": 28 + "h": 4, + "w": 3, + "x": 16, + "y": 10 }, - "id": 39, + "id": 73, "interval": null, "links": [], "mappingType": 1, @@ -1973,25 +1144,28 @@ data: "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", - "show": true + "show": false, + "ymax": null, + "ymin": null }, "tableColumn": "", "targets": [ { - "expr": "sum(kube_pod_container_status_waiting{namespace=~\"$namespace\"})", + "expr": "kube_statefulset_status_replicas_ready{namespace=\"osm\", statefulset=\"zookeeper\"}", "format": "time_series", - "intervalFactor": 1, "refId": "A" } ], - "thresholds": "", - "title": "Containers Waiting", + "thresholds": "0,1", + "timeFrom": null, + "timeShift": null, + "title": "zookeeper", "type": "singlestat", - "valueFontSize": "80%", + "valueFontSize": "100%", "valueMaps": [ { "op": "=", - "text": "N/A", + "text": "0", "value": "null" } ], @@ -2002,26 +1176,27 @@ data: "colorBackground": false, "colorValue": false, "colors": [ - "#299c46", + "#d44a3a", "rgba(237, 129, 40, 0.89)", - "#d44a3a" + "#299c46" ], "datasource": "Prometheus", + "decimals": null, "format": "none", "gauge": { - "maxValue": 100, + "maxValue": 1, "minValue": 0, - "show": false, + "show": true, "thresholdLabels": false, - "thresholdMarkers": true + "thresholdMarkers": false }, "gridPos": { - "h": 3, - "w": 6, - "x": 12, - "y": 28 + "h": 4, + "w": 3, + "x": 20, + "y": 10 }, - "id": 40, + "id": 78, "interval": null, "links": [], "mappingType": 1, @@ -2054,25 +1229,28 @@ data: "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", - "show": true + "show": false, + "ymax": null, + "ymin": null }, "tableColumn": "", "targets": [ { - "expr": "sum(kube_pod_container_status_terminated{namespace=~\"$namespace\"})", + "expr": "kube_statefulset_status_replicas_ready{namespace=\"osm\", statefulset=\"kafka\"}", "format": "time_series", - "intervalFactor": 1, "refId": "A" } ], - "thresholds": "", - "title": "Containers Terminated", + "thresholds": "0,1", + "timeFrom": null, + "timeShift": null, + "title": "kafka", "type": "singlestat", - "valueFontSize": "80%", + "valueFontSize": "100%", "valueMaps": [ { "op": "=", - "text": "N/A", + "text": "0", "value": "null" } ], @@ -2083,26 +1261,26 @@ data: "colorBackground": false, "colorValue": false, "colors": [ - "#299c46", + "#d44a3a", "rgba(237, 129, 40, 0.89)", - "#d44a3a" + "#299c46" ], "datasource": "Prometheus", "format": "none", "gauge": { - "maxValue": 100, + "maxValue": 1, "minValue": 0, - "show": false, + "show": true, "thresholdLabels": false, - "thresholdMarkers": true + "thresholdMarkers": false }, "gridPos": { - "h": 3, - "w": 6, - "x": 18, - "y": 28 + "h": 4, + "w": 3, + "x": 0, + "y": 14 }, - "id": 41, + "id": 76, "interval": null, "links": [], "mappingType": 1, @@ -2120,6 +1298,7 @@ data: "nullPointMode": "connected", "nullText": null, "options": {}, + "pluginVersion": "6.3.5", "postfix": "", "postfixFontSize": "50%", "prefix": "", @@ -2135,25 +1314,30 @@ data: "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", - "show": true + "show": false, + "ymax": null, + "ymin": null }, - "tableColumn": "", + "tableColumn": "Value", "targets": [ { - "expr": "sum(delta(kube_pod_container_status_restarts_total{namespace=\"kube-system\"}[30m]))", + "expr": "kube_deployment_status_replicas_available{deployment=\"lcm\"}", "format": "time_series", - "intervalFactor": 1, + "instant": true, + "legendFormat": "", "refId": "A" } ], - "thresholds": "", - "title": "Containers Restarts (Last 30 Minutes)", + "thresholds": "0,1", + "timeFrom": null, + "timeShift": null, + "title": "lcm", "type": "singlestat", - "valueFontSize": "80%", + "valueFontSize": "100%", "valueMaps": [ { "op": "=", - "text": "N/A", + "text": "0", "value": "null" } ], @@ -2164,26 +1348,26 @@ data: "colorBackground": false, "colorValue": false, "colors": [ - "#299c46", + "#d44a3a", "rgba(237, 129, 40, 0.89)", - "#d44a3a" + "#299c46" ], "datasource": "Prometheus", "format": "none", "gauge": { - "maxValue": 100, + "maxValue": 1, "minValue": 0, - "show": false, + "show": true, "thresholdLabels": false, - "thresholdMarkers": true + "thresholdMarkers": false }, "gridPos": { - "h": 3, - "w": 12, - "x": 0, - "y": 31 + "h": 4, + "w": 3, + "x": 4, + "y": 14 }, - "id": 43, + "id": 79, "interval": null, "links": [], "mappingType": 1, @@ -2201,6 +1385,7 @@ data: "nullPointMode": "connected", "nullText": null, "options": {}, + "pluginVersion": "6.3.5", "postfix": "", "postfixFontSize": "50%", "prefix": "", @@ -2216,55 +1401,59 @@ data: "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", - "show": true + "show": false, + "ymax": null, + "ymin": null }, "tableColumn": "", "targets": [ { - "expr": "sum(kube_pod_container_resource_requests_cpu_cores{namespace=~\"$namespace\", node=~\"$node\"})", - "format": "time_series", - "intervalFactor": 1, + "expr": "kube_deployment_status_replicas_available{deployment=\"light-ui\"}", + "instant": true, "refId": "A" } ], - "thresholds": "", - "title": "CPU Cores Requested by Containers", + "thresholds": "0,1", + "timeFrom": null, + "timeShift": null, + "title": "light-ui", "type": "singlestat", - "valueFontSize": "80%", + "valueFontSize": "100%", "valueMaps": [ { "op": "=", - "text": "N/A", + "text": "0", "value": "null" } ], - "valueName": "current" + "valueName": "avg" }, { "cacheTimeout": null, "colorBackground": false, "colorValue": false, "colors": [ - "#299c46", + "#d44a3a", "rgba(237, 129, 40, 0.89)", - "#d44a3a" + "#299c46" ], "datasource": "Prometheus", - "format": "decbytes", + "description": "", + "format": "none", "gauge": { - "maxValue": 100, + "maxValue": 1, "minValue": 0, - "show": false, + "show": true, "thresholdLabels": false, - "thresholdMarkers": true + "thresholdMarkers": false }, "gridPos": { - "h": 3, - "w": 12, - "x": 12, - "y": 31 + "h": 4, + "w": 3, + "x": 8, + "y": 14 }, - "id": 42, + "id": 75, "interval": null, "links": [], "mappingType": 1, @@ -2282,6 +1471,7 @@ data: "nullPointMode": "connected", "nullText": null, "options": {}, + "pluginVersion": "6.3.5", "postfix": "", "postfixFontSize": "50%", "prefix": "", @@ -2297,68 +1487,60 @@ data: "fillColor": "rgba(31, 118, 189, 0.18)", "full": false, "lineColor": "rgb(31, 120, 193)", - "show": true + "show": false, + "ymax": null, + "ymin": null }, - "tableColumn": "", + "tableColumn": "Value", "targets": [ { - "expr": "sum(kube_pod_container_resource_requests_memory_bytes{namespace=~\"$namespace\", node=~\"$node\"})", + "expr": "kube_deployment_status_replicas_available{deployment=\"nbi\"}", "format": "time_series", - "intervalFactor": 1, + "instant": true, + "legendFormat": "", "refId": "A" } ], - "thresholds": "", - "title": "Memory Requested By Containers", + "thresholds": "0,1", + "timeFrom": null, + "timeShift": null, + "title": "nbi", "type": "singlestat", - "valueFontSize": "80%", + "valueFontSize": "100%", "valueMaps": [ { "op": "=", - "text": "N/A", + "text": "0", "value": "null" } - ], - "valueName": "current" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 34 - }, - "id": 50, - "panels": [], - "title": "OSM Third Party Modules", - "type": "row" + ], + "valueName": "current" }, { "cacheTimeout": null, - "colorBackground": true, + "colorBackground": false, "colorValue": false, "colors": [ - "#bf1b00", - "#508642", - "#ef843c" + "#d44a3a", + "rgba(237, 129, 40, 0.89)", + "#299c46" ], "datasource": "Prometheus", "format": "none", "gauge": { "maxValue": 1, "minValue": 0, - "show": false, + "show": true, "thresholdLabels": false, - "thresholdMarkers": true + "thresholdMarkers": false }, "gridPos": { - "h": 3, - "w": 8, - "x": 0, - "y": 35 + "h": 4, + "w": 3, + "x": 12, + "y": 14 }, - "id": 51, + "id": 67, "interval": null, "links": [], "mappingType": 1, @@ -2376,6 +1558,7 @@ data: "nullPointMode": "connected", "nullText": null, "options": {}, + "pluginVersion": "6.3.5", "postfix": "", "postfixFontSize": "50%", "prefix": "", @@ -2389,27 +1572,32 @@ data: ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", - "full": true, + "full": false, "lineColor": "rgb(31, 120, 193)", - "show": true + "show": false, + "ymax": null, + "ymin": null }, - "tableColumn": "", + "tableColumn": "Value", "targets": [ { - "expr": "mysql_up{}", + "expr": "kube_deployment_status_replicas_available{deployment=\"pol\"}", "format": "time_series", - "intervalFactor": 1, + "instant": true, + "legendFormat": "", "refId": "A" } ], - "thresholds": "1,2", - "title": "MysqlDB Up", + "thresholds": "0,1", + "timeFrom": null, + "timeShift": null, + "title": "pol", "type": "singlestat", - "valueFontSize": "80%", + "valueFontSize": "100%", "valueMaps": [ { "op": "=", - "text": "N/A", + "text": "0", "value": "null" } ], @@ -2417,29 +1605,29 @@ data: }, { "cacheTimeout": null, - "colorBackground": true, + "colorBackground": false, "colorValue": false, "colors": [ - "#bf1b00", - "#508642", - "#ef843c" + "#d44a3a", + "rgba(237, 129, 40, 0.89)", + "#299c46" ], "datasource": "Prometheus", "format": "none", "gauge": { "maxValue": 1, "minValue": 0, - "show": false, + "show": true, "thresholdLabels": false, - "thresholdMarkers": true + "thresholdMarkers": false }, "gridPos": { - "h": 3, - "w": 8, - "x": 8, - "y": 35 + "h": 4, + "w": 3, + "x": 16, + "y": 14 }, - "id": 52, + "id": 69, "interval": null, "links": [], "mappingType": 1, @@ -2457,6 +1645,7 @@ data: "nullPointMode": "connected", "nullText": null, "options": {}, + "pluginVersion": "6.3.5", "postfix": "", "postfixFontSize": "50%", "prefix": "", @@ -2470,57 +1659,60 @@ data: ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", - "full": true, + "full": false, "lineColor": "rgb(31, 120, 193)", - "show": true + "show": false, + "ymax": null, + "ymin": null }, "tableColumn": "", "targets": [ { - "expr": "mongodb_up{}", - "format": "time_series", - "intervalFactor": 1, + "expr": "kube_deployment_status_replicas_available{deployment=\"mon\"}", + "instant": true, "refId": "A" } ], - "thresholds": "1,2", - "title": "MongoDB Up", + "thresholds": "0,1", + "timeFrom": null, + "timeShift": null, + "title": "mon", "type": "singlestat", - "valueFontSize": "80%", + "valueFontSize": "100%", "valueMaps": [ { "op": "=", - "text": "N/A", + "text": "0", "value": "null" } ], - "valueName": "current" + "valueName": "avg" }, { "cacheTimeout": null, - "colorBackground": true, + "colorBackground": false, "colorValue": false, "colors": [ - "#bf1b00", - "#508642", - "#ef843c" + "#d44a3a", + "rgba(237, 129, 40, 0.89)", + "#299c46" ], "datasource": "Prometheus", "format": "none", "gauge": { "maxValue": 1, "minValue": 0, - "show": false, + "show": true, "thresholdLabels": false, - "thresholdMarkers": true + "thresholdMarkers": false }, "gridPos": { - "h": 3, - "w": 8, - "x": 16, - "y": 35 + "h": 4, + "w": 3, + "x": 20, + "y": 14 }, - "id": 53, + "id": 81, "interval": null, "links": [], "mappingType": 1, @@ -2538,6 +1730,7 @@ data: "nullPointMode": "connected", "nullText": null, "options": {}, + "pluginVersion": "6.3.5", "postfix": "", "postfixFontSize": "50%", "prefix": "", @@ -2551,39 +1744,271 @@ data: ], "sparkline": { "fillColor": "rgba(31, 118, 189, 0.18)", - "full": true, + "full": false, "lineColor": "rgb(31, 120, 193)", - "show": true + "show": false, + "ymax": null, + "ymin": null }, - "tableColumn": "", + "tableColumn": "Value", "targets": [ { - "expr": "kafka_brokers{}", + "expr": "kube_deployment_status_replicas_available{deployment=\"keystone\"}", "format": "time_series", - "intervalFactor": 1, + "instant": true, + "legendFormat": "", "refId": "A" } ], - "thresholds": "1,2", - "title": "Kafka Broker Up", + "thresholds": "0,1", + "timeFrom": null, + "timeShift": null, + "title": "keystone", "type": "singlestat", - "valueFontSize": "80%", + "valueFontSize": "100%", "valueMaps": [ { "op": "=", - "text": "N/A", + "text": "0", "value": "null" } ], "valueName": "current" + }, + { + "datasource": "Prometheus", + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "fill": 6, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 23, + "x": 0, + "y": 18 + }, + "id": 84, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(namespace_pod_container:container_cpu_usage_seconds_total:sum_rate{namespace=\"osm\"}) by (pod)", + "instant": false, + "intervalFactor": 4, + "legendFormat": "{{pod}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Pod CPU Usage", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "datasource": "Prometheus", + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "fill": 6, + "fillGradient": 0, + "gridPos": { + "h": 9, + "w": 23, + "x": 0, + "y": 27 + }, + "id": 85, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(container_memory_working_set_bytes{namespace=\"osm\", container!=\"\"}) by (pod)", + "intervalFactor": 4, + "legendFormat": "{{pod}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Pod Memory Usage", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "cacheTimeout": null, + "content": "\n\n\n", + "gridPos": { + "h": 4, + "w": 3, + "x": 21, + "y": 36 + }, + "id": 82, + "links": [], + "mode": "markdown", + "options": {}, + "pluginVersion": "6.3.5", + "targets": [ + { + "expr": "", + "instant": true, + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "", + "transparent": true, + "type": "text" + }, + { + "cacheTimeout": null, + "content": "

\n\n\n", + "gridPos": { + "h": 4, + "w": 3, + "x": 19, + "y": 40 + }, + "id": 80, + "links": [], + "mode": "html", + "options": {}, + "pluginVersion": "6.3.5", + "targets": [ + { + "expr": "", + "instant": true, + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "", + "transparent": true, + "type": "text" } ], + "refresh": "30s", "schemaVersion": 19, "style": "dark", - "tags": [ - "osm-third-party-modules", - "kubernetes-cluster" - ], + "tags": [], "templating": { "list": [ { @@ -2602,49 +2027,11 @@ data: "regex": "/$ds/", "skipUrlSync": false, "type": "datasource" - }, - { - "current": { - "text": ".*", - "value": ".*" - }, - "hide": 0, - "label": null, - "name": "node", - "options": [ - { - "selected": true, - "text": ".*", - "value": ".*" - } - ], - "query": ".*", - "skipUrlSync": false, - "type": "constant" - }, - { - "current": { - "text": ".*", - "value": ".*" - }, - "hide": 0, - "label": null, - "name": "namespace", - "options": [ - { - "selected": true, - "text": ".*", - "value": ".*" - } - ], - "query": ".*", - "skipUrlSync": false, - "type": "constant" } ] }, "time": { - "from": "now-30m", + "from": "now-15m", "to": "now" }, "timepicker": { @@ -2673,7 +2060,7 @@ data: ] }, "timezone": "browser", - "title": "Summary Kubernetes Cluster and OSM Modules", - "uid": "4XuMd2Iiz", - "version": 13 - } \ No newline at end of file + "title": "OSM Status Summary", + "uid": "4XuPd2Ii1", + "version": 2 + }