From a45725bef03420e1f8283280b73e41ef4bdbb849 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Tue, 30 Jul 2024 10:15:04 +0100 Subject: [PATCH 1/2] chore(scaletest): update dashboard --- scaletest/scaletest_dashboard.json | 2022 ++++++++++++++++++++++------ 1 file changed, 1642 insertions(+), 380 deletions(-) diff --git a/scaletest/scaletest_dashboard.json b/scaletest/scaletest_dashboard.json index 23aae65a266db..b8295c6967e66 100644 --- a/scaletest/scaletest_dashboard.json +++ b/scaletest/scaletest_dashboard.json @@ -7,6 +7,22 @@ "type": "datasource", "pluginId": "prometheus", "pluginName": "Prometheus" + }, + { + "name": "DS_GOOGLE_CLOUD MONITORING", + "label": "Google Cloud Monitoring", + "description": "", + "type": "datasource", + "pluginId": "stackdriver", + "pluginName": "Google Cloud Monitoring" + }, + { + "name": "DS_GOOGLE_CLOUD LOGGING :: V2-LOADTEST", + "label": "Google Cloud Logging :: v2-loadtest", + "description": "", + "type": "datasource", + "pluginId": "googlecloud-logging-datasource", + "pluginName": "Google Cloud Logging" } ], "__elements": {}, @@ -17,11 +33,17 @@ "name": "Bar chart", "version": "" }, + { + "type": "datasource", + "id": "googlecloud-logging-datasource", + "name": "Google Cloud Logging", + "version": "1.3.0" + }, { "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "9.5.2" + "version": "11.1.0" }, { "type": "panel", @@ -29,12 +51,24 @@ "name": "Heatmap", "version": "" }, + { + "type": "panel", + "id": "logs", + "name": "Logs", + "version": "" + }, { "type": "datasource", "id": "prometheus", "name": "Prometheus", "version": "1.0.0" }, + { + "type": "datasource", + "id": "stackdriver", + "name": "Google Cloud Monitoring", + "version": "11.1.0" + }, { "type": "panel", "id": "timeseries", @@ -61,6 +95,151 @@ "type": "dashboard" }, "type": "dashboard" + }, + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "enable": true, + "iconColor": "red", + "name": "Scaletest Error", + "target": { + "refId": "Anno", + "tags": [ + "scaletest", + "runner", + "error" + ], + "type": "tags" + } + }, + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "enable": true, + "iconColor": "green", + "name": "Scaletest Phase", + "target": { + "refId": "Anno", + "tags": [ + "scaletest", + "runner", + "phase-default" + ], + "type": "tags" + } + }, + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "enable": true, + "iconColor": "transparent", + "name": "Scaletest Phase (Wait)", + "target": { + "refId": "Anno", + "tags": [ + "scaletest", + "runner", + "phase-wait" + ], + "type": "tags" + } + }, + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "enable": true, + "iconColor": "blue", + "name": "Scaletest Status", + "target": { + "refId": "Anno", + "tags": [ + "scaletest", + "runner", + "status" + ], + "type": "tags" + } + }, + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "enable": true, + "iconColor": "dark-green", + "name": "Concurrent Scenarios", + "target": { + "refId": "Anno", + "tags": [ + "scaletest", + "runner", + "scenario" + ], + "type": "tags" + } + }, + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "enable": true, + "iconColor": "semi-dark-orange", + "name": "Greedy agent", + "target": { + "refId": "Anno", + "tags": [ + "scaletest", + "runner", + "greedy_agent" + ], + "type": "tags" + } + }, + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "enable": false, + "iconColor": "super-light-purple", + "name": "Scaletest Runner Workspace", + "target": { + "refId": "Anno", + "tags": [ + "scaletest", + "runner", + "workspace" + ], + "type": "tags" + } + }, + { + "datasource": { + "type": "datasource", + "uid": "grafana" + }, + "enable": false, + "iconColor": "super-light-orange", + "name": "Pprof", + "target": { + "limit": 100, + "matchAny": false, + "tags": [ + "scaletest", + "runner", + "pprof" + ], + "type": "tags" + } } ] }, @@ -95,6 +274,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -108,6 +288,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -149,7 +330,10 @@ { "id": "custom.lineStyle", "value": { - "dash": [10, 10], + "dash": [ + 10, + 10 + ], "fill": "dash" } } @@ -168,7 +352,10 @@ { "id": "custom.lineStyle", "value": { - "dash": [10, 10], + "dash": [ + 10, + 10 + ], "fill": "dash" } } @@ -251,6 +438,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -265,6 +453,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -307,7 +496,10 @@ { "id": "custom.lineStyle", "value": { - "dash": [10, 10], + "dash": [ + 10, + 10 + ], "fill": "dash" } } @@ -326,7 +518,10 @@ { "id": "custom.lineStyle", "value": { - "dash": [10, 10], + "dash": [ + 10, + 10 + ], "fill": "dash" } } @@ -405,6 +600,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": true, "axisColorMode": "text", "axisLabel": "", @@ -418,6 +614,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -460,7 +657,10 @@ { "id": "custom.lineStyle", "value": { - "dash": [10, 10], + "dash": [ + 10, + 10 + ], "fill": "dash" } } @@ -479,7 +679,10 @@ { "id": "custom.lineStyle", "value": { - "dash": [10, 10], + "dash": [ + 10, + 10 + ], "fill": "dash" } } @@ -513,7 +716,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "sum by(pod) (-rate(container_network_transmit_bytes_total{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"^(coder|provisionerd)-[^-]+-[^-]+$\"}[$__rate_interval]))", + "expr": "sum by(pod) (-rate(container_network_transmit_bytes_total{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"^coder-(provisioner-)?[a-z0-9]+-[a-z0-9]+$\"}[$__rate_interval]))", "hide": false, "legendFormat": "tx {{pod}}", "range": true, @@ -525,9 +728,9 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "sum by(pod) (rate(container_network_receive_bytes_total{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"^(coder|provisionerd)-[^-]+-[^-]+$\"}[$__rate_interval]))", + "expr": "sum by(pod) (rate(container_network_receive_bytes_total{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"^coder-(provisioner-)?[a-z0-9]+-[a-z0-9]+$\"}[$__rate_interval]))", "hide": false, - "legendFormat": "rx {{pod}", + "legendFormat": "rx {{pod}}", "range": true, "refId": "B" } @@ -546,6 +749,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -560,6 +764,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -602,7 +807,10 @@ { "id": "custom.lineStyle", "value": { - "dash": [10, 10], + "dash": [ + 10, + 10 + ], "fill": "dash" } } @@ -621,7 +829,10 @@ { "id": "custom.lineStyle", "value": { - "dash": [10, 10], + "dash": [ + 10, + 10 + ], "fill": "dash" } } @@ -665,56 +876,34 @@ "title": "Coder pod restarts", "type": "timeseries" }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 17 - }, - "id": 29, - "panels": [], - "title": "Database", - "type": "row" - }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "stackdriver", + "uid": "${DS_GOOGLE_CLOUD MONITORING}" }, - "description": "LOGARITHMIC Y AXIS", + "description": "", "fieldConfig": { "defaults": { "color": { - "mode": "palette-classic" + "fixedColor": "#989898", + "mode": "fixed" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "bars", - "fillOpacity": 100, + "fillOpacity": 80, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, - "lineInterpolation": "linear", "lineWidth": 1, - "pointSize": 5, "scaleDistribution": { - "log": 2, - "type": "log" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "normal" + "type": "linear" }, "thresholdsStyle": { "mode": "off" @@ -725,12 +914,8 @@ "mode": "absolute", "steps": [ { - "color": "green", + "color": "blue", "value": null - }, - { - "color": "red", - "value": 80 } ] }, @@ -739,93 +924,151 @@ "overrides": [] }, "gridPos": { - "h": 16, + "h": 8, "w": 12, "x": 0, - "y": 18 + "y": 17 }, - "id": 36, + "id": 50, "options": { + "barRadius": 0, + "barWidth": 0.97, + "fullHighlight": false, + "groupWidth": 0.7, "legend": { "calcs": [], "displayMode": "list", "placement": "bottom", "showLegend": true }, + "orientation": "auto", + "showValue": "auto", + "stacking": "none", "tooltip": { - "mode": "single", + "mode": "multi", "sort": "none" - } + }, + "xTickLabelRotation": 0, + "xTickLabelSpacing": 200 }, + "pluginVersion": "9.5.2", "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum(rate(pg_stat_database_tup_inserted{cluster=~\"$cluster\", datname=\"${cluster}-coder\"}[$__rate_interval]))", - "hide": false, - "legendFormat": "INSERT", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum(rate(pg_stat_database_tup_updated{cluster=~\"$cluster\", datname=\"${cluster}-coder\"}[$__rate_interval]))", - "hide": false, - "legendFormat": "UPDATE", - "range": true, - "refId": "B" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "sum(rate(pg_stat_database_tup_deleted{cluster=~\"$cluster\", datname=\"${cluster}-coder\"}[$__rate_interval]))", - "hide": false, - "legendFormat": "DELETE", - "range": true, - "refId": "C" - }, + "type": "stackdriver", + "uid": "${DS_GOOGLE_CLOUD MONITORING}" + }, + "queryType": "timeSeriesList", + "refId": "A", + "timeSeriesList": { + "alignmentPeriod": "+300s", + "crossSeriesReducer": "REDUCE_NONE", + "filters": [ + "resource.label.project_id", + "=", + "v2-loadtest", + "AND", + "resource.label.namespace_name", + "=", + "coder-big", + "AND", + "resource.label.container_name", + "=", + "coder", + "AND", + "resource.label.cluster_name", + "=", + "big", + "AND", + "resource.type", + "=", + "k8s_container", + "AND", + "resource.label.pod_name", + "!=~", + "coder-scaletest-.*", + "AND", + "resource.label.pod_name", + "=~", + "coder-.*", + "AND", + "metric.type", + "=", + "logging.googleapis.com/log_entry_count" + ], + "groupBys": [], + "perSeriesAligner": "ALIGN_SUM", + "preprocessor": "none", + "projectName": "v2-loadtest" + } + } + ], + "title": "Coder Logs Entries (All Levels)", + "type": "barchart" + }, + { + "datasource": { + "type": "googlecloud-logging-datasource", + "uid": "${DS_GOOGLE_CLOUD LOGGING :: V2-LOADTEST}" + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 17 + }, + "id": 51, + "options": { + "dedupStrategy": "none", + "enableLogDetails": true, + "prettifyLogMessage": false, + "showCommonLabels": false, + "showLabels": false, + "showTime": true, + "sortOrder": "Descending", + "wrapLogMessage": false + }, + "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "googlecloud-logging-datasource", + "uid": "${DS_GOOGLE_CLOUD LOGGING :: V2-LOADTEST}" }, - "editorMode": "code", - "expr": "sum(rate(pg_stat_database_tup_returned{cluster=~\"$cluster\", datname=\"${cluster}-coder\"}[$__rate_interval]))", - "hide": false, - "legendFormat": "RETURN", - "range": true, - "refId": "D" + "projectId": "v2-loadtest", + "queryText": "resource.type=\"k8s_container\" AND\nresource.labels.cluster_name=\"big\" AND\nresource.labels.namespace_name=\"coder-big\" AND\nresource.labels.location=\"us-central1-a\" AND\nresource.labels.project_id=\"v2-loadtest\" AND\n(resource.labels.container_name=\"coder\" OR resource.labels.container_name=\"coder-provisionerd\") AND\njsonPayload.message!=\"\" AND\nseverity=\"ERROR\"", + "refId": "Error" }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "googlecloud-logging-datasource", + "uid": "${DS_GOOGLE_CLOUD LOGGING :: V2-LOADTEST}" }, - "editorMode": "code", - "expr": "sum(rate(pg_stat_database_tup_fetched{cluster=~\"$cluster\", datname=\"${cluster}-coder\"}[$__rate_interval]))", "hide": false, - "legendFormat": "FETCH", - "range": true, - "refId": "E" + "projectId": "v2-loadtest", + "queryText": "resource.type=\"k8s_container\" AND\nresource.labels.cluster_name=\"big\" AND\nresource.labels.namespace_name=\"coder-big\" AND\nresource.labels.location=\"us-central1-a\" AND\nresource.labels.project_id=\"v2-loadtest\" AND\ntextPayload=~\"panic:.*\"", + "refId": "Panic" } ], - "title": "DB insert/update/delete/return", - "type": "timeseries" + "title": "Coder Error Logs", + "type": "logs" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 25 + }, + "id": 29, + "panels": [], + "title": "Database", + "type": "row" }, { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "stackdriver", + "uid": "${DS_GOOGLE_CLOUD MONITORING}" }, "fieldConfig": { "defaults": { @@ -833,19 +1076,21 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, - "drawStyle": "bars", - "fillOpacity": 100, + "drawStyle": "line", + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -856,13 +1101,15 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "normal" + "mode": "none" }, "thresholdsStyle": { "mode": "off" } }, "mappings": [], + "max": 1, + "min": 0, "thresholds": { "mode": "absolute", "steps": [ @@ -876,17 +1123,17 @@ } ] }, - "unit": "none" + "unit": "percentunit" }, "overrides": [] }, "gridPos": { "h": 8, "w": 12, - "x": 12, - "y": 18 + "x": 0, + "y": 26 }, - "id": 39, + "id": 52, "options": { "legend": { "calcs": [], @@ -902,28 +1149,616 @@ "targets": [ { "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" - }, - "editorMode": "code", - "expr": "pg_stat_activity_count{datname=~\"${cluster}-coder\", cluster=~\"${cluster}\", state=\"active\"} !=0", - "hide": false, - "legendFormat": "active", - "range": true, - "refId": "C" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS}" + "type": "stackdriver", + "uid": "${DS_GOOGLE_CLOUD MONITORING}" + }, + "queryType": "timeSeriesList", + "refId": "A", + "timeSeriesList": { + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_NONE", + "filters": [ + "resource.label.project_id", + "=", + "v2-loadtest", + "AND", + "metric.type", + "=", + "cloudsql.googleapis.com/database/cpu/utilization" + ], + "groupBys": [ + "resource.label.database_id" + ], + "perSeriesAligner": "ALIGN_NONE", + "preprocessor": "none", + "projectName": "v2-loadtest" + } + } + ], + "title": "DB CPU Util%", + "type": "timeseries" + }, + { + "datasource": { + "type": "stackdriver", + "uid": "${DS_GOOGLE_CLOUD MONITORING}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" }, - "editorMode": "code", - "expr": "pg_stat_activity_count{datname=~\"${cluster}-coder\", cluster=~\"${cluster}\", state=\"idle\"} !=0", - "hide": false, - "legendFormat": "idle", - "range": true, - "refId": "A" - }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "max": 1, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 26 + }, + "id": 53, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "stackdriver", + "uid": "${DS_GOOGLE_CLOUD MONITORING}" + }, + "queryType": "timeSeriesList", + "refId": "A", + "timeSeriesList": { + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_NONE", + "filters": [ + "resource.label.project_id", + "=", + "v2-loadtest", + "AND", + "metric.type", + "=", + "cloudsql.googleapis.com/database/memory/utilization" + ], + "groupBys": [], + "perSeriesAligner": "ALIGN_NONE", + "preprocessor": "none", + "projectName": "v2-loadtest" + } + } + ], + "title": "DB Mem Util%", + "type": "timeseries" + }, + { + "datasource": { + "type": "stackdriver", + "uid": "${DS_GOOGLE_CLOUD MONITORING}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 34 + }, + "id": 54, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "stackdriver", + "uid": "${DS_GOOGLE_CLOUD MONITORING}" + }, + "queryType": "timeSeriesList", + "refId": "A", + "timeSeriesList": { + "alignmentPeriod": "+60s", + "crossSeriesReducer": "REDUCE_NONE", + "filters": [ + "resource.label.project_id", + "=", + "v2-loadtest", + "AND", + "metric.type", + "=", + "cloudsql.googleapis.com/database/disk/read_ops_count" + ], + "groupBys": [], + "perSeriesAligner": "ALIGN_DELTA", + "preprocessor": "none", + "projectName": "v2-loadtest" + } + } + ], + "title": "DB Disk Read I/O", + "type": "timeseries" + }, + { + "datasource": { + "type": "stackdriver", + "uid": "${DS_GOOGLE_CLOUD MONITORING}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 34 + }, + "id": 55, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "stackdriver", + "uid": "${DS_GOOGLE_CLOUD MONITORING}" + }, + "queryType": "timeSeriesList", + "refId": "A", + "timeSeriesList": { + "alignmentPeriod": "cloud-monitoring-auto", + "crossSeriesReducer": "REDUCE_NONE", + "filters": [ + "resource.label.project_id", + "=", + "v2-loadtest", + "AND", + "metric.type", + "=", + "cloudsql.googleapis.com/database/disk/write_ops_count" + ], + "groupBys": [], + "perSeriesAligner": "ALIGN_NONE", + "preprocessor": "rate", + "projectName": "v2-loadtest" + } + } + ], + "title": "DB Disk Write I/O", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "description": "LOGARITHMIC Y AXIS", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 100, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "log": 2, + "type": "log" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 16, + "w": 12, + "x": 0, + "y": 42 + }, + "id": 36, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum(rate(pg_stat_database_tup_inserted{cluster=~\"$cluster\", datname=\"${cluster}-coder\"}[$__rate_interval]))", + "hide": false, + "legendFormat": "INSERT", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum(rate(pg_stat_database_tup_updated{cluster=~\"$cluster\", datname=\"${cluster}-coder\"}[$__rate_interval]))", + "hide": false, + "legendFormat": "UPDATE", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum(rate(pg_stat_database_tup_deleted{cluster=~\"$cluster\", datname=\"${cluster}-coder\"}[$__rate_interval]))", + "hide": false, + "legendFormat": "DELETE", + "range": true, + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum(rate(pg_stat_database_tup_returned{cluster=~\"$cluster\", datname=\"${cluster}-coder\"}[$__rate_interval]))", + "hide": false, + "legendFormat": "RETURN", + "range": true, + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum(rate(pg_stat_database_tup_fetched{cluster=~\"$cluster\", datname=\"${cluster}-coder\"}[$__rate_interval]))", + "hide": false, + "legendFormat": "FETCH", + "range": true, + "refId": "E" + } + ], + "title": "DB insert/update/delete/return", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisBorderShow": false, + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 100, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "insertNulls": false, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 42 + }, + "id": 39, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "pg_stat_activity_count{datname=~\"${cluster}-coder\", cluster=~\"${cluster}\", state=\"active\"} !=0", + "hide": false, + "legendFormat": "active", + "range": true, + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "pg_stat_activity_count{datname=~\"${cluster}-coder\", cluster=~\"${cluster}\", state=\"idle\"} !=0", + "hide": false, + "legendFormat": "idle", + "range": true, + "refId": "A" + }, { "datasource": { "type": "prometheus", @@ -963,6 +1798,7 @@ "mode": "palette-classic" }, "custom": { + "axisBorderShow": false, "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", @@ -976,6 +1812,7 @@ "tooltip": false, "viz": false }, + "insertNulls": false, "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 5, @@ -1014,7 +1851,7 @@ "h": 8, "w": 12, "x": 12, - "y": 26 + "y": 50 }, "id": 37, "options": { @@ -1082,7 +1919,7 @@ "h": 26, "w": 12, "x": 0, - "y": 34 + "y": 58 }, "id": 30, "options": { @@ -1114,7 +1951,8 @@ "layout": "auto" }, "tooltip": { - "show": true, + "mode": "single", + "showColorScale": false, "yHistogram": false }, "yAxis": { @@ -1122,14 +1960,14 @@ "reverse": false } }, - "pluginVersion": "9.5.2", + "pluginVersion": "11.1.0", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "editorMode": "builder", + "editorMode": "code", "expr": "histogram_quantile(0.95, sum by(le, query) (rate(coderd_db_query_latencies_seconds_bucket{cluster=\"$cluster\", namespace=\"$namespace\", pod=~\"$pod\"}[$__rate_interval])))", "legendFormat": "__auto", "range": true, @@ -1163,7 +2001,7 @@ "h": 26, "w": 12, "x": 12, - "y": 34 + "y": 58 }, "id": 31, "options": { @@ -1195,7 +2033,8 @@ "layout": "auto" }, "tooltip": { - "show": true, + "mode": "single", + "showColorScale": false, "yHistogram": false }, "yAxis": { @@ -1203,7 +2042,7 @@ "reverse": false } }, - "pluginVersion": "9.5.2", + "pluginVersion": "11.1.0", "targets": [ { "datasource": { @@ -1226,7 +2065,7 @@ "h": 1, "w": 24, "x": 0, - "y": 60 + "y": 84 }, "id": 16, "panels": [], @@ -1278,23 +2117,117 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", "value": 80 } ] - } + }, + "unit": "reqps" }, "overrides": [] }, "gridPos": { - "h": 9, - "w": 24, + "h": 11, + "w": 12, "x": 0, - "y": 61 + "y": 85 + }, + "id": 45, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "builder", + "exemplar": false, + "expr": "sum by(pod) (rate(coderd_api_requests_processed_total{cluster=\"$cluster\", namespace=~\"$namespace\", pod=~\"$pod\"}[$__rate_interval]))", + "instant": true, + "key": "Q-2eb2f8ac-845d-462d-9bb0-b98334fbfd4a-0", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "API Requests by pod", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 11, + "w": 12, + "x": 12, + "y": 85 }, "id": 44, "options": { @@ -1317,7 +2250,7 @@ }, "editorMode": "code", "exemplar": false, - "expr": "sum(rate(coderd_api_requests_processed_total{cluster=\"$cluster\", code=~\"5..\"}[$__rate_interval]))", + "expr": "sum(rate(coderd_api_requests_processed_total{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"$pod\", code=~\"5..\"}[$__rate_interval]))", "instant": true, "key": "Q-2eb2f8ac-845d-462d-9bb0-b98334fbfd4a-0", "legendFormat": "5xx", @@ -1330,7 +2263,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "sum(rate(coderd_api_requests_processed_total{cluster=\"$cluster\", code=~\"4..\"}[$__rate_interval]))", + "expr": "sum(rate(coderd_api_requests_processed_total{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"$pod\", code=~\"4..\"}[$__rate_interval]))", "instant": true, "key": "Q-fe3b7389-28e7-4b2c-90ef-3b1490f99528-1", "legendFormat": "4xx", @@ -1365,16 +2298,96 @@ "h": 10, "w": 24, "x": 0, - "y": 70 + "y": 96 + }, + "id": 4, + "options": { + "calculate": false, + "cellGap": 1, + "color": { + "exponent": 0.5, + "fill": "dark-orange", + "min": 0, + "mode": "scheme", + "reverse": false, + "scale": "exponential", + "scheme": "Viridis", + "steps": 64 + }, + "exemplars": { + "color": "rgba(255,0,255,0.7)" + }, + "filterValues": { + "le": 1e-9 + }, + "legend": { + "show": true + }, + "rowsFrame": { + "layout": "auto" + }, + "tooltip": { + "show": true, + "yHistogram": false + }, + "yAxis": { + "axisPlacement": "left", + "reverse": false + } + }, + "pluginVersion": "9.5.2", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by (code,method) (rate(coderd_api_requests_processed_total{cluster=~\"$cluster\",namespace=~\"$namespace\",pod=~\"$pod\",container=\"coder\",code!=\"0\"}[$__rate_interval]))", + "legendFormat": "{{method}} {{code}}", + "range": true, + "refId": "A" + } + ], + "title": "API requests/sec by response, method", + "type": "heatmap" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "scaleDistribution": { + "type": "linear" + } + } + }, + "overrides": [] + }, + "gridPos": { + "h": 18, + "w": 12, + "x": 0, + "y": 106 }, - "id": 4, + "id": 33, "options": { "calculate": false, "cellGap": 1, + "cellValues": { + "unit": "s" + }, "color": { "exponent": 0.5, "fill": "dark-orange", - "min": 0, "mode": "scheme", "reverse": false, "scale": "exponential", @@ -1409,14 +2422,15 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "editorMode": "code", - "expr": "sum by (code,method) (rate(coderd_api_requests_processed_total{cluster=~\"$cluster\",namespace=~\"$namespace\",pod=~\"$pod\",container=\"coder\",code!=\"0\"}[$__rate_interval]))", - "legendFormat": "{{method}} {{code}}", + "editorMode": "builder", + "expr": "histogram_quantile(0.95, sum by(le, path) (rate(coderd_api_request_latencies_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"$pod\", path=~\"^/api/v2/.*\"}[$__rate_interval])))", + "interval": "", + "legendFormat": "{{path}}", "range": true, "refId": "A" } ], - "title": "API requests/sec by response, method", + "title": "API Request Latency P95", "type": "heatmap" }, { @@ -1426,42 +2440,15 @@ }, "fieldConfig": { "defaults": { - "color": { - "mode": "palette-classic" - }, "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "fillOpacity": 80, - "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, - "lineWidth": 1, "scaleDistribution": { "type": "linear" - }, - "thresholdsStyle": { - "mode": "off" } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] } }, "overrides": [] @@ -1469,30 +2456,42 @@ "gridPos": { "h": 18, "w": 12, - "x": 0, - "y": 80 + "x": 12, + "y": 106 }, - "id": 33, + "id": 34, "options": { - "barRadius": 0, - "barWidth": 0.97, - "fullHighlight": false, - "groupWidth": 0.7, + "calculate": false, + "cellGap": 1, + "color": { + "exponent": 0.5, + "fill": "dark-orange", + "mode": "scheme", + "reverse": false, + "scale": "exponential", + "scheme": "Viridis", + "steps": 64 + }, + "exemplars": { + "color": "rgba(255,0,255,0.7)" + }, + "filterValues": { + "le": 1e-9 + }, "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true + "show": true + }, + "rowsFrame": { + "layout": "auto" }, - "orientation": "auto", - "showValue": "auto", - "stacking": "none", "tooltip": { - "mode": "single", - "sort": "none" + "show": true, + "yHistogram": false }, - "xTickLabelRotation": 0, - "xTickLabelSpacing": 200 + "yAxis": { + "axisPlacement": "left", + "reverse": false + } }, "pluginVersion": "9.5.2", "targets": [ @@ -1502,15 +2501,28 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "builder", - "expr": "histogram_quantile(0.95, sum by(le, path) (rate(coderd_api_request_latencies_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"$pod\", path=~\"^/api/v2/.*\"}[$__rate_interval])))", + "expr": "sum by(method, path) (rate(coderd_api_request_latencies_seconds_count{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"$pod\", path=~\"^/api/v2/.*\"}[$__rate_interval]))", "interval": "", - "legendFormat": "{{path}}", + "legendFormat": "{{method}} {{path}}", "range": true, "refId": "A" } ], - "title": "API Request Latency P95", - "type": "barchart" + "title": "API Requests", + "type": "heatmap" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 124 + }, + "id": 40, + "panels": [], + "title": "Workspace Resources", + "type": "row" }, { "datasource": { @@ -1528,8 +2540,8 @@ "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, - "drawStyle": "bars", - "fillOpacity": 100, + "drawStyle": "line", + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -1538,7 +2550,7 @@ }, "lineInterpolation": "linear", "lineWidth": 1, - "pointSize": 5, + "pointSize": 1, "scaleDistribution": { "type": "linear" }, @@ -1546,7 +2558,7 @@ "spanNulls": false, "stacking": { "group": "A", - "mode": "normal" + "mode": "none" }, "thresholdsStyle": { "mode": "off" @@ -1557,26 +2569,43 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "limit" + }, + "properties": [ + { + "id": "custom.drawStyle", + "value": "line" }, { - "color": "red", - "value": 80 + "id": "custom.lineStyle", + "value": { + "dash": [ + 10, + 10 + ], + "fill": "dash" + } } ] - }, - "unit": "reqps" - }, - "overrides": [] + } + ] }, "gridPos": { - "h": 18, + "h": 8, "w": 12, - "x": 12, - "y": 80 + "x": 0, + "y": 125 }, - "id": 34, + "id": 41, "options": { "legend": { "calcs": [], @@ -1589,37 +2618,34 @@ "sort": "none" } }, - "pluginVersion": "9.5.2", "targets": [ { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "editorMode": "builder", - "expr": "sum by(method, path) (rate(coderd_api_request_latencies_seconds_count{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"$pod\", path=~\"^/api/v2/.*\"}[$__rate_interval]))", - "interval": "", - "legendFormat": "{{method}} {{path}}", + "editorMode": "code", + "expr": "max(kube_pod_container_resource_limits{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"coder-scaletest-.*-scaletest-.*\", pod!=\"coder-scaletest-runner-scaletest-runner\", resource=\"cpu\"})", + "legendFormat": "limit", "range": true, "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "avg(rate(container_cpu_usage_seconds_total{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"coder-scaletest-.*-scaletest-.*\", pod!=\"coder-scaletest-runner-scaletest-runner\", container=\"dev\"}[$__rate_interval]))", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "B" } ], - "title": "API Requests", + "title": "Scaletest Workspace CPU Usage (Avg)", "type": "timeseries" }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 98 - }, - "id": 40, - "panels": [], - "title": "Workspace Resources", - "type": "row" - }, { "datasource": { "type": "prometheus", @@ -1631,7 +2657,7 @@ "mode": "palette-classic" }, "custom": { - "axisCenteredZero": false, + "axisCenteredZero": true, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", @@ -1644,14 +2670,14 @@ "tooltip": false, "viz": false }, - "lineInterpolation": "linear", + "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 1, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", - "spanNulls": false, + "spanNulls": 60000, "stacking": { "group": "A", "mode": "none" @@ -1665,11 +2691,11 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] - } + }, + "unit": "binBps" }, "overrides": [ { @@ -1685,7 +2711,10 @@ { "id": "custom.lineStyle", "value": { - "dash": [10, 10], + "dash": [ + 10, + 10 + ], "fill": "dash" } } @@ -1694,12 +2723,12 @@ ] }, "gridPos": { - "h": 8, + "h": 16, "w": 12, - "x": 0, - "y": 99 + "x": 12, + "y": 125 }, - "id": 41, + "id": 43, "options": { "legend": { "calcs": [], @@ -1719,10 +2748,12 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "max(kube_pod_container_resource_limits{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"coder-scaletest-.*-scaletest-.*\", resource=\"cpu\"})", - "legendFormat": "limit", + "expr": "sum(rate(container_network_receive_bytes_total{cluster=~\"${cluster}\", namespace=~\"${namespace}\", pod=~\"coder-scaletest-.*-scaletest-.*\", pod!=\"coder-scaletest-runner-scaletest-runner\"}[$__rate_interval]))", + "format": "time_series", + "hide": false, + "legendFormat": "rx", "range": true, - "refId": "A" + "refId": "B" }, { "datasource": { @@ -1730,14 +2761,14 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "sum by(pod) (rate(container_cpu_usage_seconds_total{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"coder-scaletest-.*-scaletest-.*\", container=\"dev\"}[$__rate_interval]))", + "expr": "sum(rate(container_network_transmit_bytes_total{cluster=~\"${cluster}\", namespace=~\"${namespace}\", pod=~\"coder-scaletest-.*-scaletest-.*\", pod!=\"coder-scaletest-runner-scaletest-runner\"}[$__rate_interval])) * -1", "hide": false, - "legendFormat": "__auto", + "legendFormat": "tx {{pod}}", "range": true, - "refId": "B" + "refId": "A" } ], - "title": "Scaletest Workspace CPU Usage", + "title": "Scaletest Workspace Network Usage (Sum)", "type": "timeseries" }, { @@ -1751,27 +2782,27 @@ "mode": "palette-classic" }, "custom": { - "axisCenteredZero": true, + "axisCenteredZero": false, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 23, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, "tooltip": false, "viz": false }, - "lineInterpolation": "smooth", + "lineInterpolation": "linear", "lineWidth": 1, "pointSize": 1, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", - "spanNulls": 60000, + "spanNulls": false, "stacking": { "group": "A", "mode": "none" @@ -1785,12 +2816,11 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, - "unit": "binBps" + "unit": "bytes" }, "overrides": [ { @@ -1806,7 +2836,10 @@ { "id": "custom.lineStyle", "value": { - "dash": [10, 10], + "dash": [ + 10, + 10 + ], "fill": "dash" } } @@ -1815,12 +2848,12 @@ ] }, "gridPos": { - "h": 16, + "h": 8, "w": 12, - "x": 12, - "y": 99 + "x": 0, + "y": 133 }, - "id": 43, + "id": 42, "options": { "legend": { "calcs": [], @@ -1840,27 +2873,25 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "sum (rate(container_network_receive_bytes_total{cluster=~\"${cluster}\", namespace=~\"${namespace}\", pod=~\"coder-scaletest-.*-scaletest-.*\"}[$__rate_interval]))", - "format": "time_series", - "hide": false, - "legendFormat": "rx", + "expr": "max(kube_pod_container_resource_limits{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"coder-scaletest-.*-scaletest-.*\", pod!=\"coder-scaletest-runner-scaletest-runner\", resource=\"memory\"})", + "legendFormat": "limit", "range": true, - "refId": "B" + "refId": "A" }, { "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "editorMode": "builder", - "expr": "sum(rate(container_network_transmit_bytes_total{cluster=~\"${cluster}\", namespace=~\"${namespace}\", pod=~\"coder-scaletest-.*-scaletest-.*\"}[$__rate_interval])) * -1", + "editorMode": "code", + "expr": "avg(container_memory_usage_bytes{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"coder-scaletest-.*-scaletest-.*\", pod!=\"coder-scaletest-runner-scaletest-runner\", container!=\"\"})", "hide": false, - "legendFormat": "tx {{pod}}", + "legendFormat": "__auto", "range": true, - "refId": "A" + "refId": "B" } ], - "title": "Scaletest Workspace Network Usage", + "title": "Scaletest Workspace Memory Usage (Avg)", "type": "timeseries" }, { @@ -1874,7 +2905,7 @@ "mode": "palette-classic" }, "custom": { - "axisCenteredZero": false, + "axisCenteredZero": true, "axisColorMode": "text", "axisLabel": "", "axisPlacement": "auto", @@ -1887,14 +2918,14 @@ "tooltip": false, "viz": false }, - "lineInterpolation": "linear", + "lineInterpolation": "smooth", "lineWidth": 1, "pointSize": 1, "scaleDistribution": { "type": "linear" }, "showPoints": "auto", - "spanNulls": false, + "spanNulls": 60000, "stacking": { "group": "A", "mode": "none" @@ -1908,12 +2939,11 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, - "unit": "bytes" + "unit": "none" }, "overrides": [ { @@ -1929,7 +2959,10 @@ { "id": "custom.lineStyle", "value": { - "dash": [10, 10], + "dash": [ + 10, + 10 + ], "fill": "dash" } } @@ -1938,12 +2971,12 @@ ] }, "gridPos": { - "h": 8, + "h": 16, "w": 12, - "x": 0, - "y": 107 + "x": 12, + "y": 141 }, - "id": 42, + "id": 56, "options": { "legend": { "calcs": [], @@ -1963,10 +2996,12 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "max(kube_pod_container_resource_limits{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"coder-scaletest-.*-scaletest-.*\", resource=\"memory\"})", - "legendFormat": "limit", + "expr": "sum(rate(container_network_receive_errors_total{cluster=~\"${cluster}\", namespace=~\"${namespace}\", pod=~\"coder-scaletest-.*-scaletest-.*\", pod!=\"coder-scaletest-runner-scaletest-runner\"}[$__rate_interval]))", + "format": "time_series", + "hide": false, + "legendFormat": "rx errs {{pod}}", "range": true, - "refId": "A" + "refId": "B" }, { "datasource": { @@ -1974,14 +3009,14 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "sum by(pod) (container_memory_usage_bytes{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"coder-scaletest-.*-scaletest-.*\", container!=\"\"})", + "expr": "sum(rate(container_network_transmit_errors_total{cluster=~\"${cluster}\", namespace=~\"${namespace}\", pod=~\"coder-scaletest-.*-scaletest-.*\", pod!=\"coder-scaletest-runner-scaletest-runner\"}[$__rate_interval])) * -1", "hide": false, - "legendFormat": "__auto", + "legendFormat": "tx errs {{pod}}", "range": true, - "refId": "B" + "refId": "A" } ], - "title": "Scaletest Workspace Memory Usage", + "title": "Scaletest Workspace Network RX/TX errs (Sum)", "type": "timeseries" }, { @@ -1990,7 +3025,7 @@ "h": 1, "w": 24, "x": 0, - "y": 115 + "y": 157 }, "id": 18, "panels": [], @@ -2014,7 +3049,7 @@ "axisPlacement": "auto", "barAlignment": 0, "drawStyle": "line", - "fillOpacity": 100, + "fillOpacity": 0, "gradientMode": "none", "hideFrom": { "legend": false, @@ -2042,8 +3077,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2059,7 +3093,7 @@ "h": 18, "w": 12, "x": 0, - "y": 116 + "y": 158 }, "id": 20, "options": { @@ -2148,8 +3182,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2165,7 +3198,7 @@ "h": 18, "w": 12, "x": 12, - "y": 116 + "y": 158 }, "id": 38, "options": { @@ -2266,8 +3299,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2283,7 +3315,7 @@ "h": 9, "w": 12, "x": 0, - "y": 134 + "y": 176 }, "id": 3, "options": { @@ -2304,11 +3336,11 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "editorMode": "code", - "expr": "sum(coderd_api_concurrent_websockets{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"$pod\", container=\"coder\"})", + "editorMode": "builder", + "expr": "sum by(pod) (coderd_api_concurrent_websockets{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"$pod\", container=\"coder\"})", "format": "time_series", "interval": "", - "legendFormat": "Websockets", + "legendFormat": "__auto", "range": true, "refId": "A" } @@ -2361,8 +3393,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2378,7 +3409,7 @@ "h": 9, "w": 12, "x": 12, - "y": 134 + "y": 176 }, "id": 19, "options": { @@ -2400,7 +3431,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "sum(coderd_agents_connections{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"$pod\"})", + "expr": "sum by (pod) (coderd_agents_connections{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"$pod\"})", "legendFormat": "__auto", "range": true, "refId": "A" @@ -2415,7 +3446,7 @@ "h": 1, "w": 24, "x": 0, - "y": 143 + "y": 185 }, "id": 14, "panels": [], @@ -2467,8 +3498,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2484,7 +3514,7 @@ "h": 16, "w": 12, "x": 0, - "y": 144 + "y": 186 }, "id": 11, "options": { @@ -2507,7 +3537,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "builder", - "expr": "sum by(pod) (rate(coderd_scaletest_bytes_written_total{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=\"coder-scaletest-workspace-traffic\"}[$__rate_interval])) * -1", + "expr": "sum by(pod) (rate(coderd_scaletest_bytes_written_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[$__rate_interval])) * -1", "legendFormat": "tx inside container", "range": true, "refId": "A" @@ -2518,7 +3548,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "builder", - "expr": "sum by(pod) (rate(coderd_scaletest_bytes_read_total{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=\"coder-scaletest-workspace-traffic\"}[$__rate_interval]))", + "expr": "sum by(pod) (rate(coderd_scaletest_bytes_read_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[$__rate_interval]))", "hide": false, "legendFormat": "rx inside container", "range": true, @@ -2597,8 +3627,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2614,7 +3643,7 @@ "h": 8, "w": 12, "x": 12, - "y": 144 + "y": 186 }, "id": 12, "options": { @@ -2637,7 +3666,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "builder", - "expr": "histogram_quantile(0.95, sum by(le) (rate(coderd_scaletest_read_latency_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\"}[$__rate_interval])))", + "expr": "histogram_quantile(0.95, sum by(le, pod) (rate(coderd_scaletest_read_latency_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\"}[$__rate_interval])))", "hide": false, "legendFormat": "__auto", "range": true, @@ -2692,8 +3721,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2709,7 +3737,7 @@ "h": 8, "w": 12, "x": 12, - "y": 152 + "y": 194 }, "id": 32, "options": { @@ -2732,7 +3760,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "builder", - "expr": "histogram_quantile(0.95, sum by(le) (rate(coderd_scaletest_write_latency_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\"}[$__rate_interval])))", + "expr": "histogram_quantile(0.95, sum by(le, pod) (rate(coderd_scaletest_write_latency_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\"}[$__rate_interval])))", "hide": false, "legendFormat": "__auto", "range": true, @@ -2787,8 +3815,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2803,7 +3830,7 @@ "h": 8, "w": 12, "x": 0, - "y": 160 + "y": 202 }, "id": 13, "options": { @@ -2826,7 +3853,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "builder", - "expr": "sum(rate(coderd_scaletest_read_errors_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[$__rate_interval]))", + "expr": "sum by(pod) (rate(coderd_scaletest_read_errors_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[$__rate_interval]))", "hide": false, "legendFormat": "__auto", "range": true, @@ -2881,8 +3908,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2897,7 +3923,7 @@ "h": 8, "w": 12, "x": 12, - "y": 160 + "y": 202 }, "id": 28, "options": { @@ -2920,7 +3946,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "builder", - "expr": "sum(rate(coderd_scaletest_write_errors_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[$__rate_interval]))", + "expr": "sum by(pod) (rate(coderd_scaletest_write_errors_total{cluster=~\"$cluster\", namespace=~\"$namespace\"}[$__rate_interval]))", "hide": false, "legendFormat": "__auto", "range": true, @@ -2975,8 +4001,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] } @@ -2995,7 +4020,10 @@ { "id": "custom.lineStyle", "value": { - "dash": [10, 10], + "dash": [ + 10, + 10 + ], "fill": "dash" } } @@ -3014,7 +4042,10 @@ { "id": "custom.lineStyle", "value": { - "dash": [10, 10], + "dash": [ + 10, + 10 + ], "fill": "dash" } } @@ -3026,7 +4057,7 @@ "h": 8, "w": 8, "x": 0, - "y": 168 + "y": 210 }, "id": 22, "options": { @@ -3048,7 +4079,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "sum by(pod) (rate(container_cpu_usage_seconds_total{cluster=~\"$cluster\", namespace=~\"$namespace\",pod=\"coder-scaletest-workspace-traffic\"}[$__rate_interval]))", + "expr": "sum by(pod) (rate(container_cpu_usage_seconds_total{cluster=~\"$cluster\", namespace=~\"$namespace\",pod=\"coder-scaletest-runner-scaletest-runner\", container=\"dev\"}[$__rate_interval]))", "hide": false, "legendFormat": "__auto", "range": true, @@ -3103,8 +4134,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -3124,7 +4154,10 @@ { "id": "custom.lineStyle", "value": { - "dash": [10, 10], + "dash": [ + 10, + 10 + ], "fill": "dash" } } @@ -3143,7 +4176,10 @@ { "id": "custom.lineStyle", "value": { - "dash": [10, 10], + "dash": [ + 10, + 10 + ], "fill": "dash" } } @@ -3155,7 +4191,7 @@ "h": 8, "w": 8, "x": 8, - "y": 168 + "y": 210 }, "id": 23, "options": { @@ -3176,8 +4212,8 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS}" }, - "editorMode": "builder", - "expr": "sum by(pod) (container_memory_working_set_bytes{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=\"coder-scaletest-workspace-traffic\"})", + "editorMode": "code", + "expr": "sum by(pod) (container_memory_working_set_bytes{cluster=~\"$cluster\", namespace=~\"$namespace\",pod=\"coder-scaletest-runner-scaletest-runner\",container=\"dev\"})", "hide": false, "legendFormat": "__auto", "range": true, @@ -3233,8 +4269,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" } ] }, @@ -3254,7 +4289,10 @@ { "id": "custom.lineStyle", "value": { - "dash": [10, 10], + "dash": [ + 10, + 10 + ], "fill": "dash" } } @@ -3273,7 +4311,10 @@ { "id": "custom.lineStyle", "value": { - "dash": [10, 10], + "dash": [ + 10, + 10 + ], "fill": "dash" } } @@ -3285,7 +4326,7 @@ "h": 8, "w": 8, "x": 16, - "y": 168 + "y": 210 }, "id": 26, "options": { @@ -3307,7 +4348,7 @@ "uid": "${DS_PROMETHEUS}" }, "editorMode": "code", - "expr": "sum by(pod) (increase(kube_pod_container_status_restarts_total{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=\"coder-scaletest-workspace-traffic\"}[$__rate_interval]))", + "expr": "sum by(pod) (increase(kube_pod_container_status_restarts_total{cluster=~\"$cluster\", namespace=~\"$namespace\",pod=\"coder-scaletest-runner-scaletest-runner\"}[$__rate_interval]))", "hide": false, "legendFormat": "__auto", "range": true, @@ -3323,7 +4364,205 @@ "h": 1, "w": 24, "x": 0, - "y": 176 + "y": 218 + }, + "id": 46, + "panels": [], + "title": "Scaletest Dashboard Actions", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "log": 2, + "type": "log" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "s" + }, + "overrides": [] + }, + "gridPos": { + "h": 19, + "w": 12, + "x": 0, + "y": 219 + }, + "id": 47, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "builder", + "expr": "histogram_quantile(0.95, sum by(le, action) (rate(coderd_scaletest_dashboard_duration_seconds_bucket{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"$pod\"}[$__rate_interval])))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Dashboard Actions Duration P95", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 19, + "w": 12, + "x": 12, + "y": 219 + }, + "id": 49, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum by(le, action) (rate(coderd_scaletest_dashboard_errors_total{cluster=~\"$cluster\", namespace=~\"$namespace\", pod=~\"$pod\"}[$__rate_interval]))", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Dashboard Actions Errors", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 238 }, "id": 17, "panels": [], @@ -3376,8 +4615,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3393,7 +4631,7 @@ "h": 7, "w": 12, "x": 0, - "y": 177 + "y": 239 }, "id": 5, "options": { @@ -3497,8 +4735,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3514,7 +4751,7 @@ "h": 7, "w": 12, "x": 12, - "y": 177 + "y": 239 }, "id": 6, "options": { @@ -3617,8 +4854,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3633,7 +4869,7 @@ "h": 8, "w": 12, "x": 0, - "y": 184 + "y": 246 }, "id": 8, "options": { @@ -3709,8 +4945,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -3741,6 +4976,22 @@ } } ] + }, + { + "matcher": { + "id": "byName", + "options": "external_daemons" + }, + "properties": [ + { + "id": "custom.drawStyle", + "value": "line" + }, + { + "id": "custom.fillOpacity", + "value": 0 + } + ] } ] }, @@ -3748,7 +4999,7 @@ "h": 8, "w": 12, "x": 12, - "y": 184 + "y": 246 }, "id": 35, "options": { @@ -3783,9 +5034,21 @@ "editorMode": "code", "expr": "sum by(status, container) (coderd_provisionerd_num_daemons{cluster=~\"$cluster\", namespace=~\"$namespace\", container=~\"^(coder|provisionerd)$\"})", "hide": false, - "legendFormat": "daemons", + "legendFormat": "builtin_daemons", "range": true, "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS}" + }, + "editorMode": "code", + "expr": "sum(kube_pod_container_status_running {cluster=~\"$cluster\", namespace=~\"coder-big\", pod=~\"coder-provisioner-.*\"})", + "hide": false, + "legendFormat": "external_daemons", + "range": true, + "refId": "C" } ], "title": "Concurrent Provisioner Jobs", @@ -3793,8 +5056,7 @@ } ], "refresh": false, - "schemaVersion": 38, - "style": "dark", + "schemaVersion": 39, "tags": [], "templating": { "list": [ @@ -3847,7 +5109,7 @@ "type": "query" }, { - "allValue": "coder-.*", + "allValue": ".*", "current": {}, "datasource": { "type": "prometheus", @@ -3873,13 +5135,13 @@ ] }, "time": { - "from": "2023-06-27T11:56:59.659Z", - "to": "2023-06-27T16:04:43.640Z" + "from": "now-6h", + "to": "now" }, "timepicker": {}, "timezone": "", - "title": "Coder Scaletest Dashboard", + "title": "CoderV2 Loadtest Dashboard", "uid": "qLVSTR-Vz", - "version": 170, + "version": 254, "weekStart": "" -} +} \ No newline at end of file From 7ee037ec55c61d0ff781d0cc3334681e4b78baf9 Mon Sep 17 00:00:00 2001 From: Cian Johnston Date: Tue, 30 Jul 2024 10:21:17 +0100 Subject: [PATCH 2/2] fixup! chore(scaletest): update dashboard --- scaletest/scaletest_dashboard.json | 144 ++++++----------------------- 1 file changed, 28 insertions(+), 116 deletions(-) diff --git a/scaletest/scaletest_dashboard.json b/scaletest/scaletest_dashboard.json index b8295c6967e66..f744805883c36 100644 --- a/scaletest/scaletest_dashboard.json +++ b/scaletest/scaletest_dashboard.json @@ -106,11 +106,7 @@ "name": "Scaletest Error", "target": { "refId": "Anno", - "tags": [ - "scaletest", - "runner", - "error" - ], + "tags": ["scaletest", "runner", "error"], "type": "tags" } }, @@ -124,11 +120,7 @@ "name": "Scaletest Phase", "target": { "refId": "Anno", - "tags": [ - "scaletest", - "runner", - "phase-default" - ], + "tags": ["scaletest", "runner", "phase-default"], "type": "tags" } }, @@ -142,11 +134,7 @@ "name": "Scaletest Phase (Wait)", "target": { "refId": "Anno", - "tags": [ - "scaletest", - "runner", - "phase-wait" - ], + "tags": ["scaletest", "runner", "phase-wait"], "type": "tags" } }, @@ -160,11 +148,7 @@ "name": "Scaletest Status", "target": { "refId": "Anno", - "tags": [ - "scaletest", - "runner", - "status" - ], + "tags": ["scaletest", "runner", "status"], "type": "tags" } }, @@ -178,11 +162,7 @@ "name": "Concurrent Scenarios", "target": { "refId": "Anno", - "tags": [ - "scaletest", - "runner", - "scenario" - ], + "tags": ["scaletest", "runner", "scenario"], "type": "tags" } }, @@ -196,11 +176,7 @@ "name": "Greedy agent", "target": { "refId": "Anno", - "tags": [ - "scaletest", - "runner", - "greedy_agent" - ], + "tags": ["scaletest", "runner", "greedy_agent"], "type": "tags" } }, @@ -214,11 +190,7 @@ "name": "Scaletest Runner Workspace", "target": { "refId": "Anno", - "tags": [ - "scaletest", - "runner", - "workspace" - ], + "tags": ["scaletest", "runner", "workspace"], "type": "tags" } }, @@ -233,11 +205,7 @@ "target": { "limit": 100, "matchAny": false, - "tags": [ - "scaletest", - "runner", - "pprof" - ], + "tags": ["scaletest", "runner", "pprof"], "type": "tags" } } @@ -330,10 +298,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -352,10 +317,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -496,10 +458,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -518,10 +477,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -657,10 +613,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -679,10 +632,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -807,10 +757,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -829,10 +776,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -1166,9 +1110,7 @@ "=", "cloudsql.googleapis.com/database/cpu/utilization" ], - "groupBys": [ - "resource.label.database_id" - ], + "groupBys": ["resource.label.database_id"], "perSeriesAligner": "ALIGN_NONE", "preprocessor": "none", "projectName": "v2-loadtest" @@ -2588,10 +2530,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -2711,10 +2650,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -2836,10 +2772,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -2959,10 +2892,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -4020,10 +3950,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -4042,10 +3969,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -4154,10 +4078,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -4176,10 +4097,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -4289,10 +4207,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -4311,10 +4226,7 @@ { "id": "custom.lineStyle", "value": { - "dash": [ - 10, - 10 - ], + "dash": [10, 10], "fill": "dash" } } @@ -5144,4 +5056,4 @@ "uid": "qLVSTR-Vz", "version": 254, "weekStart": "" -} \ No newline at end of file +}