diff --git a/kubernetes/helm_charts/monitoring/dashboards/dashboards/ed_infra_status.json b/kubernetes/helm_charts/monitoring/dashboards/dashboards/ed_infra_status.json index 9e65086ec0..09b9199cac 100644 --- a/kubernetes/helm_charts/monitoring/dashboards/dashboards/ed_infra_status.json +++ b/kubernetes/helm_charts/monitoring/dashboards/dashboards/ed_infra_status.json @@ -18,8 +18,8 @@ "editable": true, "gnetId": null, "graphTooltip": 0, - "id": 63, - "iteration": 1715597210775, + "id": 64, + "iteration": 1716177526650, "links": [ { "$$hashKey": "object:116", @@ -50,7 +50,7 @@ "custom": { "align": "auto", "cellOptions": { - "type": "auto" + "type": "color-background" }, "filterable": false, "inspect": false @@ -60,12 +60,142 @@ "mode": "absolute", "steps": [ { - "color": "green", + "color": "red", "value": null + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "job_name" + }, + "properties": [ + { + "id": "custom.displayMode", + "value": "color-background" }, { - "color": "semi-dark-red", - "value": 0 + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "dark-red", + "value": null + } + ] + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "deployment" + }, + "properties": [ + { + "id": "custom.displayMode", + "value": "color-background" + }, + { + "id": "thresholds", + "value": { + "mode": "absolute", + "steps": [ + { + "color": "dark-red", + "value": null + } + ] + } + } + ] + } + ] + }, + "gridPos": { + "h": 10, + "w": 8, + "x": 0, + "y": 0 + }, + "id": 14, + "options": { + "cellHeight": "sm", + "footer": { + "countRows": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "frameIndex": 1, + "showHeader": false + }, + "pluginVersion": "7.0.6", + "targets": [ + { + "expr": "kube_deployment_status_replicas{namespace=\"$namespace\"} == 0 or kube_job_status_active{namespace=~\"$namespace\"} == 0\n", + "format": "table", + "instant": true, + "interval": "", + "legendFormat": "", + "refId": "A" + } + ], + "timeFrom": null, + "timeShift": null, + "title": "Pods DOWN", + "transformations": [ + { + "id": "organize", + "options": { + "excludeByName": { + "Time": true, + "Value": true, + "__name__": true, + "container": true, + "endpoint": true, + "instance": true, + "job": true, + "namespace": true, + "pod": true, + "service": true + }, + "indexByName": {}, + "renameByName": {} + } + } + ], + "type": "table" + }, + { + "datasource": "Prometheus", + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "center", + "cellOptions": { + "type": "auto" + }, + "filterable": false, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null }, { "color": "green", @@ -78,7 +208,7 @@ { "matcher": { "id": "byName", - "options": "deployment" + "options": "service" }, "properties": [ { @@ -100,6 +230,10 @@ { "color": "green", "value": null + }, + { + "color": "green", + "value": 1 } ] } @@ -109,12 +243,12 @@ ] }, "gridPos": { - "h": 22, - "w": 9, - "x": 0, + "h": 10, + "w": 13, + "x": 8, "y": 0 }, - "id": 3, + "id": 9, "options": { "cellHeight": "sm", "footer": { @@ -125,37 +259,31 @@ ], "show": false }, - "showHeader": false + "showHeader": false, + "sortBy": [ + { + "desc": false, + "displayName": "Value" + } + ] }, "pluginVersion": "7.0.6", "targets": [ { - "$$hashKey": "object:33", - "aggregation": "Last", - "crit": 0, "datasource": { "type": "prometheus", "uid": "prometheus" }, - "decimals": 1, - "displayAliasType": "Warning / Critical", - "displayType": "Regular", - "displayValueWithAlias": "Never", - "editorMode": "code", - "exemplar": false, - "expr": "kube_deployment_status_replicas{namespace=\"$namespace\"} !=0", + "exemplar": true, + "expr": "probe_success == 0", "format": "table", "instant": true, "interval": "", - "legendFormat": "__auto", - "range": false, - "refId": "A", - "units": "none", - "valueHandler": "Number Threshold", - "warn": 2 + "legendFormat": "", + "refId": "A" } ], - "title": "Pods UP", + "title": "VMs Down", "transformations": [ { "id": "organize", @@ -164,16 +292,15 @@ "Time": true, "Value": true, "__name__": true, - "container": true, "endpoint": true, "instance": true, "job": true, - "namespace": true, - "pod": true, - "service": true + "namespace": true }, "indexByName": {}, - "renameByName": {} + "renameByName": { + "Value": "" + } } } ], @@ -189,7 +316,7 @@ "custom": { "align": "auto", "cellOptions": { - "type": "color-background" + "type": "auto" }, "filterable": false, "inspect": false @@ -199,8 +326,16 @@ "mode": "absolute", "steps": [ { - "color": "red", + "color": "green", "value": null + }, + { + "color": "semi-dark-red", + "value": 0 + }, + { + "color": "green", + "value": 1 } ] } @@ -212,6 +347,13 @@ "options": "deployment" }, "properties": [ + { + "id": "custom.cellOptions", + "value": { + "mode": "gradient", + "type": "color-background" + } + }, { "id": "custom.displayMode", "value": "color-background" @@ -222,7 +364,7 @@ "mode": "absolute", "steps": [ { - "color": "semi-dark-red", + "color": "green", "value": null } ] @@ -233,12 +375,12 @@ ] }, "gridPos": { - "h": 10, - "w": 8, - "x": 9, - "y": 0 + "h": 22, + "w": 9, + "x": 0, + "y": 10 }, - "id": 14, + "id": 3, "options": { "cellHeight": "sm", "footer": { @@ -254,15 +396,32 @@ "pluginVersion": "7.0.6", "targets": [ { - "expr": "kube_deployment_status_replicas{namespace=\"$namespace\"} == 0\n", + "$$hashKey": "object:33", + "aggregation": "Last", + "crit": 0, + "datasource": { + "type": "prometheus", + "uid": "prometheus" + }, + "decimals": 1, + "displayAliasType": "Warning / Critical", + "displayType": "Regular", + "displayValueWithAlias": "Never", + "editorMode": "code", + "exemplar": false, + "expr": "kube_deployment_status_replicas{namespace=\"$namespace\"} !=0", "format": "table", "instant": true, "interval": "", - "legendFormat": "", - "refId": "A" + "legendFormat": "__auto", + "range": false, + "refId": "A", + "units": "none", + "valueHandler": "Number Threshold", + "warn": 2 } ], - "title": "Pods DOWN", + "title": "Pods UP", "transformations": [ { "id": "organize", @@ -309,10 +468,6 @@ "color": "green", "value": null }, - { - "color": "red", - "value": 0 - }, { "color": "green", "value": 1 @@ -348,8 +503,8 @@ "value": null }, { - "color": "red", - "value": 80 + "color": "green", + "value": 1 } ] } @@ -359,12 +514,12 @@ ] }, "gridPos": { - "h": 12, + "h": 14, "w": 13, "x": 9, "y": 10 }, - "id": 9, + "id": 19, "options": { "cellHeight": "sm", "footer": { @@ -391,7 +546,7 @@ "uid": "prometheus" }, "exemplar": true, - "expr": "probe_success", + "expr": "probe_success == 1", "format": "table", "instant": true, "interval": "", @@ -399,7 +554,7 @@ "refId": "A" } ], - "title": "Backend VMs health", + "title": "VMs UP", "transformations": [ { "id": "organize", @@ -456,7 +611,7 @@ "h": 7, "w": 24, "x": 0, - "y": 22 + "y": 32 }, "hiddenSeries": false, "id": 16, @@ -615,7 +770,7 @@ "h": 8, "w": 24, "x": 0, - "y": 29 + "y": 39 }, "hiddenSeries": false, "id": 18, @@ -702,7 +857,7 @@ } } ], - "refresh": "", + "refresh": "5s", "schemaVersion": 25, "style": "dark", "tags": [], @@ -757,9 +912,9 @@ { "allValue": null, "current": { - "selected": true, - "text": "staging", - "value": "staging" + "selected": false, + "text": "flink-kp-staging", + "value": "flink-kp-staging" }, "datasource": "Prometheus", "definition": "label_values(kube_namespace_status_phase{job=\"kube-state-metrics\", cluster=\"$cluster\"}, namespace)", @@ -830,6 +985,6 @@ }, "timezone": "", "title": "ED Infra Status", - "uid": "q66ZrEfIk", - "version": 24 + "uid": "gMMvJZPSk", + "version": 5 } \ No newline at end of file