From 2f8c38d864faac8f37907cf486162c4b8fd264cd Mon Sep 17 00:00:00 2001 From: Moritz Clasmeier Date: Fri, 12 Jul 2024 13:07:21 +0200 Subject: [PATCH] make generate --- .../generated/dashboards/rhacs-central.yaml | 59 ++++++++++++++++++- 1 file changed, 58 insertions(+), 1 deletion(-) diff --git a/resources/grafana/generated/dashboards/rhacs-central.yaml b/resources/grafana/generated/dashboards/rhacs-central.yaml index a83bb13f..e7a9e261 100644 --- a/resources/grafana/generated/dashboards/rhacs-central.yaml +++ b/resources/grafana/generated/dashboards/rhacs-central.yaml @@ -522,6 +522,7 @@ spec: "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", + "axisBorderShow": false, "fillOpacity": 10, "gradientMode": "none", "hideFrom": { @@ -531,6 +532,7 @@ spec: }, "lineInterpolation": "stepAfter", "lineWidth": 1, + "insertNulls": false, "pointSize": 5, "scaleDistribution": { "type": "linear" @@ -583,7 +585,6 @@ spec: "y": 7 }, "id": 110, - "links": [], "options": { "legend": { "calcs": [], @@ -622,6 +623,62 @@ spec: "legendFormat": "scanner", "range": true, "refId": "B" + }, + { + "datasource": { + "uid": "${datasource}" + }, + "editorMode": "code", + "exemplar": true, + "expr": "sum(increase(kube_pod_container_status_restarts_total{namespace=\"rhacs-$instance_id\", container=\"db\", pod=~\"scanner-db-.*\", job=~\"kube-state-metrics\"}[5m]))", + "hide": false, + "interval": "", + "intervalFactor": 2, + "legendFormat": "scanner-db", + "range": true, + "refId": "F" + }, + { + "datasource": { + "uid": "${datasource}" + }, + "editorMode": "code", + "exemplar": true, + "expr": "sum(increase(kube_pod_container_status_restarts_total{namespace=\"rhacs-$instance_id\", container=\"matcher\", job=~\"kube-state-metrics\"}[5m]))", + "hide": false, + "interval": "", + "intervalFactor": 2, + "legendFormat": "scanner-v4-matcher", + "range": true, + "refId": "C" + }, + { + "datasource": { + "uid": "${datasource}" + }, + "editorMode": "code", + "exemplar": true, + "expr": "sum(increase(kube_pod_container_status_restarts_total{namespace=\"rhacs-$instance_id\", container=\"indexer\", job=~\"kube-state-metrics\"}[5m]))", + "hide": false, + "interval": "", + "intervalFactor": 2, + "legendFormat": "scanner-v4-indexer", + "range": true, + "refId": "D" + }, + { + "datasource": { + "uid": "${datasource}" + }, + "editorMode": "code", + "exemplar": true, + "expr": "sum(increase(kube_pod_container_status_restarts_total{namespace=\"rhacs-$instance_id\", container=\"db\", pod=~\"scanner-v4-db-.*\", job=~\"kube-state-metrics\"}[5m]))", + "hide": false, + "interval": "", + "intervalFactor": 2, + "legendFormat": "scanner-v4-db", + "range": true, + "refId": "E" } ], "title": "Container Restarts",