From 08c4e6d90522da912efa02a26038d045e2d9f404 Mon Sep 17 00:00:00 2001 From: Gerald Nunn Date: Mon, 22 Jul 2024 16:27:52 -0700 Subject: [PATCH] First iteration of Rollouts dashboard Signed-off-by: Gerald Nunn --- controllers/dashboards/gitops-rollouts.json | 1180 +++++-------------- 1 file changed, 268 insertions(+), 912 deletions(-) diff --git a/controllers/dashboards/gitops-rollouts.json b/controllers/dashboards/gitops-rollouts.json index d302227b9..04a18c053 100644 --- a/controllers/dashboards/gitops-rollouts.json +++ b/controllers/dashboards/gitops-rollouts.json @@ -16,90 +16,6 @@ "title": "Rollouts", "showTitle": true, "panels": [ - { - "cacheTimeout": null, - "colorBackground": false, - "colorValue": false, - "colors": [ - "#299c46", - "rgba(237, 129, 40, 0.89)", - "#d44a3a" - ], - "datasource": "$datasource", - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "fill": 1, - "format": "dtdurations", - "gauge": { - "maxValue": 100, - "minValue": 0, - "show": false, - "thresholdLabels": false, - "thresholdMarkers": true - }, - "id": 2, - "interval": null, - "links": [], - "mappingType": 1, - "mappingTypes": [ - { - "name": "value to text", - "value": 1 - }, - { - "name": "range to text", - "value": 2 - } - ], - "maxDataPoints": 100, - "nullPointMode": "connected", - "nullText": null, - "postfix": "", - "postfixFontSize": "50%", - "prefix": "", - "prefixFontSize": "50%", - "rangeMaps": [ - { - "from": "null", - "text": "N/A", - "to": "null" - } - ], - "spaceLength": 10, - "span": 2, - "stack": false, - "sparkline": { - "fillColor": "rgba(31, 118, 189, 0.18)", - "full": false, - "lineColor": "rgb(31, 120, 193)", - "show": false - }, - "tableColumn": "", - "targets": [ - { - "expr": "time() - max(process_start_time_seconds{job=\"argo-rollouts-metrics\"})", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": "", - "title": "Uptime (controller)", - "type": "singlestat", - "valueFontSize": "80%", - "valueMaps": [ - { - "op": "=", - "text": "N/A", - "value": "null" - } - ], - "valueName": "current" - }, { "cacheTimeout": null, "datasource": "$datasource", @@ -156,11 +72,11 @@ "textMode": "auto" }, "spaceLength": 10, - "span": 2, + "span": 3, "stack": false, "targets": [ { - "expr": "sum(rollout_info{job=\"argo-rollouts-metrics\"})", + "expr": "sum(rollout_info{job=\"argo-rollouts-metrics\", namespace=~\"$namespace\"})", "format": "time_series", "intervalFactor": 1, "refId": "A" @@ -172,109 +88,6 @@ "type": "singlestat" }, { - "aliasColors": {}, - "bars": false, - "cacheTimeout": null, - "dashLength": 10, - "dashes": false, - "datasource": "$datasource", - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "fill": 1, - "fillGradient": 0, - "hiddenSeries": false, - "id": 25, - "legend": { - "avg": false, - "current": false, - "max": false, - "min": false, - "show": true, - "total": false, - "values": false - }, - "lines": true, - "linewidth": 1, - "links": [], - "nullPointMode": "null", - "options": { - "alertThreshold": true - }, - "paceLength": 10, - "percentage": false, - "pluginVersion": "7.4.3", - "pointradius": 2, - "points": false, - "renderer": "flot", - "seriesOverrides": [], - "spaceLength": 10, - "span": 2, - "stack": false, - "steppedLine": false, - "targets": [ - { - "expr": "sum(rollout_info{job=\"argo-rollouts-metrics\"}) by (strategy)", - "format": "time_series", - "intervalFactor": 1, - "refId": "A" - } - ], - "thresholds": [], - "timeFrom": null, - "timeRegions": [], - "timeShift": null, - "title": "Rollouts", - "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 - } - } - ] - }, - { - "collapse": false, - "editable": false, - "height": "250px", - "title": "Controller Stats", - "showTitle": true, - "panels": [ - { - "cacheTimeout": null, "datasource": "$datasource", "fieldConfig": { "defaults": { @@ -282,49 +95,33 @@ "mode": "thresholds" }, "custom": {}, - "mappings": [ - { - "id": 0, - "op": "=", - "text": "", - "type": 1, - "value": "" - } - ], + "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "#d44a3a", + "color": "green", "value": null }, { - "color": "rgba(237, 129, 40, 0.89)", - "value": 0 - }, - { - "color": "#629e51", - "value": 1 + "color": "red", + "value": 80 } ] - }, - "unit": "none" + } }, "overrides": [] }, "gridPos": { - "h": 3, + "h": 5, "w": 4, - "x": 0, - "y": 5 + "x": 4, + "y": 6 }, - "id": 18, - "interval": null, - "links": [], - "maxDataPoints": 100, + "id": 37, "options": { "colorMode": "value", - "graphMode": "none", + "graphMode": "area", "justifyMode": "auto", "orientation": "auto", "reduceOptions": { @@ -337,77 +134,58 @@ "text": {}, "textMode": "auto" }, - "span": 2, - "stack": true, + "span": 3, + "stack": false, "targets": [ { - "expr": "sum(rollout_info{phase=\"Completed\",job=\"argo-rollouts-metrics\"} == 1)", - "format": "time_series", - "hide": false, + "expr": "sum(rollout_info_replicas_desired{job=\"argo-rollouts-metrics\",namespace=~\"$namespace\"})", "instant": true, "interval": "", - "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], - "title": "Stable", + "title": "Replicas (desired)", "type": "singlestat" }, { - "cacheTimeout": null, "datasource": "$datasource", "fieldConfig": { + "defaults": { "color": { "mode": "thresholds" }, "custom": {}, - "mappings": [ - { - "id": 0, - "op": "=", - "text": "0", - "type": 1, - "value": "null" - } - ], + "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "#5794F2", + "color": "green", "value": null }, { - "color": "#5794F2", - "value": 1 - }, - { - "color": "#5794F2", - "value": 3 + "color": "red", + "value": 80 } ] - }, - "unit": "none" + } }, "overrides": [] }, "gridPos": { - "h": 3, + "h": 5, "w": 4, - "x": 4, - "y": 5 + "x": 8, + "y": 6 }, - "id": 21, - "interval": null, - "links": [], - "maxDataPoints": 100, + "id": 35, "options": { "colorMode": "value", "graphMode": "area", "justifyMode": "auto", - "orientation": "horizontal", + "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" @@ -418,25 +196,24 @@ "text": {}, "textMode": "auto" }, - "span": 2, - "stack": true, + "span": 3, + "stack": false, "targets": [ { - "expr": "sum(rollout_info{phase=\"Progressing\",job=\"argo-rollouts-metrics\"})", - "format": "time_series", + "expr": "sum(rollout_info_replicas_available{job=\"argo-rollouts-metrics\",namespace=~\"$namespace\"})", "hide": false, "instant": true, "interval": "", - "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], - "title": "Progressing", + "timeFrom": null, + "timeShift": null, + "title": "Replica (available)", "type": "singlestat" }, { - "cacheTimeout": null, "datasource": "$datasource", "fieldConfig": { "defaults": { @@ -444,51 +221,35 @@ "mode": "thresholds" }, "custom": {}, - "mappings": [ - { - "id": 0, - "op": "=", - "text": "0", - "type": 1, - "value": "null" - } - ], + "mappings": [], "thresholds": { "mode": "absolute", "steps": [ { - "color": "#5794F2", + "color": "green", "value": null }, { - "color": "#5794F2", - "value": 1 - }, - { - "color": "#5794F2", - "value": 3 + "color": "red", + "value": 80 } ] - }, - "unit": "none" + } }, "overrides": [] }, "gridPos": { - "h": 3, + "h": 5, "w": 4, - "x": 8, - "y": 5 + "x": 12, + "y": 6 }, - "id": 43, - "interval": null, - "links": [], - "maxDataPoints": 100, + "id": 38, "options": { "colorMode": "value", - "graphMode": "none", + "graphMode": "area", "justifyMode": "auto", - "orientation": "horizontal", + "orientation": "auto", "reduceOptions": { "calcs": [ "lastNotNull" @@ -499,344 +260,29 @@ "text": {}, "textMode": "auto" }, - "span": 2, - "stack": true, + "span": 3, + "stack": false, "targets": [ { - "expr": "sum(rollout_info{phase=\"Paused\",job=\"argo-rollouts-metrics\"})", - "format": "time_series", + "expr": "sum(rollout_info_replicas_unavailable{job=\"argo-rollouts-metrics\",namespace=~\"$namespace\"})", "hide": false, "instant": true, "interval": "", - "intervalFactor": 1, "legendFormat": "", "refId": "A" } ], - "title": "Paused", + "timeFrom": null, + "timeShift": null, + "title": "Replica (unavailable)", "type": "singlestat" }, { + "aliasColors": {}, + "bars": false, "cacheTimeout": null, - "datasource": "$datasource", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": {}, - "mappings": [ - { - "id": 0, - "op": "=", - "text": "0", - "type": 1, - "value": "null" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#F2495C", - "value": null - }, - { - "color": "#F2495C", - "value": 0 - }, - { - "color": "#F2495C", - "value": 1 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 4, - "x": 12, - "y": 5 - }, - "id": 30, - "interval": null, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "span": 2, - "stack": true, - "targets": [ - { - "expr": "sum(rollout_info{job=\"argo-rollouts-metrics\",phase=\"Error\"} == 1)", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "refId": "A" - } - ], - "title": "Error", - "type": "singlestat" - }, - { - "cacheTimeout": null, - "datasource": "$datasource", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": {}, - "mappings": [ - { - "id": 0, - "op": "=", - "text": "0", - "type": 1, - "value": "null" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#F2495C", - "value": null - }, - { - "color": "#F2495C", - "value": 0 - }, - { - "color": "#F2495C", - "value": 1 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 4, - "x": 16, - "y": 5 - }, - "id": 24, - "interval": null, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "7.4.3", - "targets": [ - { - "expr": "sum(rollout_info{job=\"argo-rollouts-metrics\",phase=\"InvalidSpec\"} == 1)", - "format": "time_series", - "hide": false, - "instant": true, - "interval": "", - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "title": "Invalid Spec", - "type": "singlestat" - }, - { - "cacheTimeout": null, - "datasource": "$datasource", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": {}, - "mappings": [ - { - "id": 0, - "op": "=", - "text": "0", - "type": 1, - "value": "null" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#F2495C", - "value": null - }, - { - "color": "#F2495C", - "value": 0 - }, - { - "color": "#F2495C", - "value": 1 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 4, - "x": 20, - "y": 5 - }, - "id": 28, - "interval": null, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "span": 2, - "stack": true, - "targets": [ - { - "expr": "sum(rollout_info{job=\"argo-rollouts-metrics\",phase=\"Timeout\"} == 1)", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "refId": "A" - } - ], - "title": "Timeout", - "type": "singlestat" - }, - { - "cacheTimeout": null, - "datasource": "$datasource", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": {}, - "mappings": [ - { - "id": 0, - "op": "=", - "text": "0", - "type": 1, - "value": "null" - } - ], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "#FF9830", - "value": null - }, - { - "color": "green", - "value": 0 - }, - { - "color": "red", - "value": 1 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 3, - "w": 4, - "x": 0, - "y": 8 - }, - "id": 23, - "interval": null, - "links": [], - "maxDataPoints": 100, - "options": { - "colorMode": "value", - "graphMode": "none", - "justifyMode": "auto", - "orientation": "horizontal", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" - }, - "span": 2, - "stack": true, - "targets": [ - { - "expr": "sum(rollout_info{job=\"argo-rollouts-metrics\",phase=\"Abort\"} == 1)", - "format": "time_series", - "hide": false, - "interval": "", - "intervalFactor": 1, - "legendFormat": "", - "refId": "A" - } - ], - "title": "Aborted", - "type": "singlestat" - }, - { - "aliasColors": {}, - "bars": false, - "dashLength": 10, - "dashes": false, + "dashLength": 10, + "dashes": false, "datasource": "$datasource", "fieldConfig": { "defaults": { @@ -846,14 +292,8 @@ }, "fill": 1, "fillGradient": 0, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 11 - }, "hiddenSeries": false, - "id": 6, + "id": 25, "legend": { "avg": false, "current": false, @@ -878,12 +318,14 @@ "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, + "span": 12, "stack": false, "steppedLine": false, "targets": [ { - "expr": "sum(increase(rollout_reconcile_count{job=\"argo-rollouts-metrics\"}[10m]))", + "expr": "sum(rollout_info{job=\"argo-rollouts-metrics\", namespace=~\"$namespace\"}) by (phase)", "format": "time_series", + "legendFormat": "{{phase}}", "intervalFactor": 1, "refId": "A" } @@ -892,7 +334,7 @@ "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Reconcile Activity", + "title": "Phase", "tooltip": { "shared": true, "sort": 0, @@ -929,80 +371,10 @@ "alignLevel": null } }, - { - "cards": { - "cardPadding": null, - "cardRound": null - }, - "color": { - "cardColor": "#b4ff00", - "colorScale": "sqrt", - "colorScheme": "interpolateSpectral", - "exponent": 0.5, - "min": null, - "mode": "spectrum" - }, - "dataFormat": "tsbuckets", - "datasource": "$datasource", - "fieldConfig": { - "defaults": { - "custom": {} - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 24, - "x": 0, - "y": 19 - }, - "heatmap": {}, - "hideZeroBuckets": false, - "highlightCards": true, - "id": 8, - "legend": { - "show": false - }, - "links": [], - "reverseYBuckets": false, - "targets": [ - { - "expr": "sum(increase(rollout_reconcile_bucket[10m])) by (le)", - "format": "heatmap", - "intervalFactor": 1, - "legendFormat": "{{le}}", - "refId": "A" - } - ], - "timeFrom": null, - "timeShift": null, - "title": "Reconciliation Performance", - "tooltip": { - "show": true, - "showHistogram": false - }, - "type": "heatmap", - "xAxis": { - "show": true - }, - "xBucketNumber": null, - "xBucketSize": null, - "yAxis": { - "decimals": null, - "format": "short", - "logBase": 1, - "max": null, - "min": null, - "show": true, - "splitFactor": null - }, - "yBucketBound": "auto", - "yBucketNumber": null, - "yBucketSize": null - }, { "aliasColors": {}, "bars": false, + "cacheTimeout": null, "dashLength": 10, "dashes": false, "datasource": "$datasource", @@ -1014,14 +386,8 @@ }, "fill": 1, "fillGradient": 0, - "gridPos": { - "h": 6, - "w": 24, - "x": 0, - "y": 27 - }, "hiddenSeries": false, - "id": 12, + "id": 25, "legend": { "avg": false, "current": false, @@ -1046,12 +412,14 @@ "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, + "span": 12, "stack": false, "steppedLine": false, "targets": [ { - "expr": "go_memstats_heap_alloc_bytes{job=\"argo-rollouts-metrics\"}", + "expr": "sum(rollout_info{job=\"argo-rollouts-metrics\", namespace=~\"$namespace\"}) by (strategy)", "format": "time_series", + "legendFormat": "{{strategy}}", "intervalFactor": 1, "refId": "A" } @@ -1060,7 +428,7 @@ "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Memory Used", + "title": "Strategy", "tooltip": { "shared": true, "sort": 0, @@ -1103,258 +471,273 @@ "collapse": false, "editable": false, "height": "250px", - "title": "Rollout Status", + "title": "Controller Stats", "showTitle": true, "panels": [ { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": "$datasource", "fieldConfig": { "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": { - "align": "center", - "filterable": false - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } + "custom": {} }, "overrides": [] }, + "fill": 1, + "fillGradient": 0, "gridPos": { - "h": 5, - "w": 4, + "h": 8, + "w": 24, "x": 0, - "y": 6 + "y": 11 }, - "id": 42, + "hiddenSeries": false, + "id": 6, + "legend": { + "avg": false, + "current": false, + "max": false, + "min": false, + "show": true, + "total": false, + "values": false + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", "options": { - "showHeader": false + "alertThreshold": true }, + "paceLength": 10, + "percentage": false, "pluginVersion": "7.4.3", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, "targets": [ { - "expr": "rollout_info{job=\"argo-rollouts-metrics\",namespace=\"$namespace\",name=\"$rollout\"}", - "format": "table", - "instant": true, - "interval": "", - "legendFormat": "", + "expr": "sum(increase(rollout_reconcile_count{job=\"argo-rollouts-metrics\", namespace=~\"$namespace\"}[10m]))", + "format": "time_series", + "intervalFactor": 1, "refId": "A" } ], - "title": "Phase", - "transformations": [ - { - "id": "filterFieldsByName", - "options": { - "include": { - "names": [ - "phase" - ] - } - } - } - ], - "type": "table" - }, - { - "datasource": "$datasource", - "fieldConfig": { - "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": {}, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } - }, - "overrides": [] + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Reconcile Activity", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" }, - "gridPos": { - "h": 5, - "w": 4, - "x": 4, - "y": 6 + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] }, - "id": 37, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false + "yaxes": [ + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true }, - "text": {}, - "textMode": "auto" - }, - "pluginVersion": "7.4.3", - "targets": [ { - "expr": "rollout_info_replicas_desired{job=\"argo-rollouts-metrics\",namespace=\"$namespace\",name=\"$rollout\"}", - "instant": true, - "interval": "", - "legendFormat": "", - "refId": "A" + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true } ], - "title": "Replicas (desired)", - "type": "singlestat" + "yaxis": { + "align": false, + "alignLevel": null + } }, { + "cards": { + "cardPadding": null, + "cardRound": null + }, + "color": { + "cardColor": "#b4ff00", + "colorScale": "sqrt", + "colorScheme": "interpolateSpectral", + "exponent": 0.5, + "min": null, + "mode": "spectrum" + }, + "dataFormat": "tsbuckets", "datasource": "$datasource", "fieldConfig": { "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": {}, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } + "custom": {} }, "overrides": [] }, "gridPos": { - "h": 5, - "w": 4, - "x": 8, - "y": 6 + "h": 8, + "w": 24, + "x": 0, + "y": 19 }, - "id": 35, - "options": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" + "heatmap": {}, + "hideZeroBuckets": false, + "highlightCards": true, + "id": 8, + "legend": { + "show": false }, - "pluginVersion": "7.4.3", + "links": [], + "reverseYBuckets": false, "targets": [ { - "expr": "rollout_info_replicas_available{job=\"argo-rollouts-metrics\",namespace=\"$namespace\",name=\"$name\"}", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", + "expr": "sum(increase(rollout_reconcile_bucket{namespace=~\"$namespace\"}[10m])) by (le)", + "format": "heatmap", + "intervalFactor": 1, + "legendFormat": "{{le}}", "refId": "A" } ], "timeFrom": null, "timeShift": null, - "title": "Replica (available)", - "type": "singlestat" + "title": "Reconciliation Performance", + "tooltip": { + "show": true, + "showHistogram": false + }, + "type": "graph", + "xAxis": { + "show": true + }, + "xBucketNumber": null, + "xBucketSize": null, + "yAxis": { + "decimals": null, + "format": "short", + "logBase": 1, + "max": null, + "min": null, + "show": true, + "splitFactor": null + }, + "yBucketBound": "auto", + "yBucketNumber": null, + "yBucketSize": null }, { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, "datasource": "$datasource", "fieldConfig": { "defaults": { - "color": { - "mode": "thresholds" - }, - "custom": {}, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - } + "custom": {} }, "overrides": [] }, + "fill": 1, + "fillGradient": 0, "gridPos": { - "h": 5, - "w": 4, - "x": 12, - "y": 6 + "h": 6, + "w": 24, + "x": 0, + "y": 27 }, - "id": 38, + "hiddenSeries": false, + "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": { - "colorMode": "value", - "graphMode": "area", - "justifyMode": "auto", - "orientation": "auto", - "reduceOptions": { - "calcs": [ - "lastNotNull" - ], - "fields": "", - "values": false - }, - "text": {}, - "textMode": "auto" + "alertThreshold": true }, + "paceLength": 10, + "percentage": false, "pluginVersion": "7.4.3", + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, "targets": [ { - "expr": "rollout_info_replicas_unavailable{job=\"argo-rollouts-metrics\",namespace=\"$namespace\",name=\"$rollout\"}", - "hide": false, - "instant": true, - "interval": "", - "legendFormat": "", + "expr": "go_memstats_heap_alloc_bytes{job=\"argo-rollouts-metrics\", namespace=~\"$namespace\"}", + "format": "time_series", + "intervalFactor": 1, "refId": "A" } ], + "thresholds": [], "timeFrom": null, + "timeRegions": [], "timeShift": null, - "title": "Replica (unavailable)", - "type": "singlestat" + "title": "Memory Used", + "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 + } } ] } @@ -1409,33 +792,6 @@ "tagsQuery": "", "type": "query", "useTags": false - }, - { - "allValue": ".+", - "current": { - "selected": true, - "text": "All", - "value": "$__all" - }, - "datasource": "$datasource", - "description": "rollout name", - "error": null, - "hide": 0, - "includeAll": false, - "label": "rollout", - "multi": false, - "name": "rollout", - "options": [], - "query": "label_values(rollout_info{namespace=~\"$namespace\"}, name)", - "refresh": 2, - "regex": "", - "skipUrlSync": false, - "sort": 1, - "tagValuesQuery": "", - "tags": [], - "tagsQuery": "", - "type": "query", - "useTags": false } ] },