From 6ba10e6631d6c78c327ca8c2d016a59fbb362605 Mon Sep 17 00:00:00 2001 From: Mykhailo Kuznietsov Date: Tue, 10 Sep 2019 11:19:19 +0300 Subject: [PATCH 1/3] Add Grafana panels with workspace traces metrics --- .../monitoring/grafana-dashboards.yaml | 954 +++++++++++++++--- 1 file changed, 819 insertions(+), 135 deletions(-) diff --git a/deploy/openshift/templates/monitoring/grafana-dashboards.yaml b/deploy/openshift/templates/monitoring/grafana-dashboards.yaml index f8c012850b6..0bc48f19ed0 100644 --- a/deploy/openshift/templates/monitoring/grafana-dashboards.yaml +++ b/deploy/openshift/templates/monitoring/grafana-dashboards.yaml @@ -3625,7 +3625,7 @@ data: "editable": true, "gnetId": null, "graphTooltip": 1, - "iteration": 1559733497219, + "iteration": 1568012781120, "links": [], "panels": [ { @@ -3826,6 +3826,7 @@ data: "datasource": "$datasource", "description": "", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 5, "w": 5, @@ -3847,7 +3848,9 @@ data: "linewidth": 1, "links": [], "nullPointMode": "null as zero", - "options": {}, + "options": { + "dataLinks": [] + }, "paceLength": 10, "percentage": false, "pointradius": 2, @@ -3922,58 +3925,629 @@ data: "datasource": "$datasource", "description": "", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 5, "w": 6, "x": 5, "y": 7 }, - "id": 48, - "interval": "", + "id": 48, + "interval": "", + "legend": { + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null as zero", + "options": { + "dataLinks": [] + }, + "paceLength": 10, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": true, + "steppedLine": false, + "targets": [ + { + "expr": "sum(increase(che_workspace_failure_total{while=\"STOPPING\"} [1h])) /(sum(increase(che_workspace_failure_total{while=\"STOPPING\"} [1h])) + sum(increase(che_workspace_stopped_total [1h])))", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "fail", + "refId": "A" + }, + { + "expr": "sum(increase(che_workspace_stopped_total [1h]))/(sum(increase(che_workspace_failure_total{while=\"STOPPING\"} [1h])) + sum(increase(che_workspace_stopped_total [1h])))", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "success", + "refId": "B" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Workspace stop rate", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "percentunit", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 5, + "w": 5, + "x": 11, + "y": 7 + }, + "id": 6, + "legend": { + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "che_workspace_status{status=\"STARTING\"}", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "starting", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Starting Workspaces", + "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 + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 5, + "w": 7, + "x": 16, + "y": 7 + }, + "id": 10, + "legend": { + "avg": true, + "current": true, + "max": true, + "min": true, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "che_workspace_status{status=\"RUNNING\"}", + "format": "time_series", + "instant": false, + "intervalFactor": 1, + "legendFormat": "running", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Running Workspaces", + "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 + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 5, + "w": 6, + "x": 0, + "y": 12 + }, + "id": 44, + "legend": { + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null as zero", + "options": { + "dataLinks": [] + }, + "paceLength": 10, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "rate(che_workspace_start_time_seconds_sum[5m])/rate(che_workspace_start_time_seconds_count [5m])", + "format": "time_series", + "hide": false, + "intervalFactor": 1, + "legendFormat": "{{result}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Average workspace start time", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 5, + "w": 6, + "x": 6, + "y": 12 + }, + "id": 49, + "legend": { + "avg": true, + "current": true, + "max": true, + "min": true, + "rightSide": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null as zero", + "options": { + "dataLinks": [] + }, + "paceLength": 10, + "percentage": false, + "pointradius": 2, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "rate(che_workspace_stop_time_seconds_sum[5m])/rate(che_workspace_stop_time_seconds_count [5m])", + "format": "time_series", + "hide": false, + "intervalFactor": 1, + "legendFormat": "{{result}}", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Average workspace stop time", + "tooltip": { + "shared": true, + "sort": 0, + "value_type": "individual" + }, + "type": "graph", + "xaxis": { + "buckets": null, + "mode": "time", + "name": null, + "show": true, + "values": [] + }, + "yaxes": [ + { + "format": "s", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": true + }, + { + "format": "short", + "label": null, + "logBase": 1, + "max": null, + "min": null, + "show": false + } + ], + "yaxis": { + "align": false, + "alignLevel": null + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "$datasource", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 5, + "w": 6, + "x": 12, + "y": 12 + }, + "id": 8, + "legend": { + "avg": false, + "current": true, + "max": false, + "min": false, + "show": true, + "total": false, + "values": true + }, + "lines": true, + "linewidth": 1, + "links": [], + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, + "paceLength": 10, + "percentage": false, + "pointradius": 5, + "points": false, + "renderer": "flot", + "seriesOverrides": [], + "spaceLength": 10, + "stack": false, + "steppedLine": false, + "targets": [ + { + "expr": "sum(che_workspace_failure_total)", + "format": "time_series", + "intervalFactor": 1, + "legendFormat": "failure", + "refId": "A" + } + ], + "thresholds": [], + "timeFrom": null, + "timeRegions": [], + "timeShift": null, + "title": "Workspace Failures", + "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 + } + }, + { + "aliasColors": {}, + "bars": false, + "dashLength": 10, + "dashes": false, + "datasource": "che", + "fill": 1, + "fillGradient": 0, + "gridPos": { + "h": 6, + "w": 11, + "x": 0, + "y": 17 + }, + "id": 55, "legend": { - "avg": true, + "alignAsTable": false, + "avg": false, "current": true, "max": true, - "min": true, + "min": false, + "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, - "links": [], - "nullPointMode": "null as zero", - "options": {}, - "paceLength": 10, + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], "spaceLength": 10, - "stack": true, + "stack": false, "steppedLine": false, "targets": [ { - "expr": "sum(increase(che_workspace_failure_total{while=\"STOPPING\"} [1h])) /(sum(increase(che_workspace_failure_total{while=\"STOPPING\"} [1h])) + sum(increase(che_workspace_stopped_total [1h])))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "fail", + "expr": "che_server_api_tracing_span_seconds_max{operation=\"WorkspaceRuntimes#startAsync\"}", + "legendFormat": "{{operation}}", + "refId": "F" + }, + { + "expr": "che_server_api_tracing_span_seconds_max{operation=\"SidecarToolingProvisioner#provision\"}", + "legendFormat": "{{operation}}", "refId": "A" }, { - "expr": "sum(increase(che_workspace_stopped_total [1h]))/(sum(increase(che_workspace_failure_total{while=\"STOPPING\"} [1h])) + sum(increase(che_workspace_stopped_total [1h])))", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "success", + "expr": "che_server_api_tracing_span_seconds_max{operation=\"OpenShiftEnvironmentProvisioner#provision\"}", + "legendFormat": "{{operation}}", "refId": "B" + }, + { + "expr": "che_server_api_tracing_span_seconds_max{operation=\"UniqueWorkspacePVCStrategy#prepare\"}", + "legendFormat": "{{operation}}", + "refId": "C" + }, + { + "expr": "che_server_api_tracing_span_seconds_max{operation=\"OpenShiftInternalRuntime#startMachines\"}", + "legendFormat": "{{operation}}", + "refId": "D" + }, + { + "expr": "che_server_api_tracing_span_seconds_max{operation=\"WaitMachinesStart\"}", + "legendFormat": "{{operation}}", + "refId": "E" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Workspace stop rate", + "title": "Workspace Start Max", "tooltip": { "shared": true, "sort": 0, @@ -3989,7 +4563,7 @@ data: }, "yaxes": [ { - "format": "percentunit", + "format": "short", "label": null, "logBase": 1, "max": null, @@ -4002,7 +4576,7 @@ data: "logBase": 1, "max": null, "min": null, - "show": false + "show": true } ], "yaxis": { @@ -4015,32 +4589,35 @@ data: "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$datasource", + "datasource": "che", "fill": 1, + "fillGradient": 0, "gridPos": { - "h": 5, - "w": 5, + "h": 6, + "w": 11, "x": 11, - "y": 7 + "y": 17 }, - "id": 6, + "id": 56, "legend": { - "avg": true, + "alignAsTable": false, + "avg": false, "current": true, "max": true, - "min": true, + "min": false, + "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "options": {}, - "paceLength": 10, + "options": { + "dataLinks": [] + }, "percentage": false, - "pointradius": 5, + "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], @@ -4049,18 +4626,41 @@ data: "steppedLine": false, "targets": [ { - "expr": "che_workspace_status{status=\"STARTING\"}", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "starting", + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"WorkspaceRuntimes#startAsync\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"WorkspaceRuntimes#startAsync\"}[5m])", + "legendFormat": "{{operation}}", + "refId": "E" + }, + { + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"SidecarToolingProvisioner#provision\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"SidecarToolingProvisioner#provision\"}[5m])", + "legendFormat": "{{operation}}", "refId": "A" + }, + { + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftEnvironmentProvisioner#provision\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftEnvironmentProvisioner#provision\"}[5m])", + "legendFormat": "{{operation}}", + "refId": "B" + }, + { + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"UniqueWorkspacePVCStrategy#prepare\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"UniqueWorkspacePVCStrategy#prepare\"}[5m])", + "legendFormat": "{{operation}}", + "refId": "C" + }, + { + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#startMachines\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#startMachines\"}[5m])", + "legendFormat": "{{operation}}", + "refId": "D" + }, + { + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"WaitMachinesStart\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"WaitMachinesStart\"}[5m])", + "legendFormat": "{{operation}}", + "refId": "F" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Starting Workspaces", + "title": "Workspace Start Avg", "tooltip": { "shared": true, "sort": 0, @@ -4102,32 +4702,35 @@ data: "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$datasource", + "datasource": "che", "fill": 1, + "fillGradient": 0, "gridPos": { - "h": 5, - "w": 7, - "x": 16, - "y": 7 + "h": 6, + "w": 11, + "x": 0, + "y": 23 }, - "id": 10, + "id": 51, "legend": { - "avg": true, + "alignAsTable": false, + "avg": false, "current": true, "max": true, - "min": true, + "min": false, + "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "options": {}, - "paceLength": 10, + "options": { + "dataLinks": [] + }, "percentage": false, - "pointradius": 5, + "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], @@ -4136,19 +4739,41 @@ data: "steppedLine": false, "targets": [ { - "expr": "che_workspace_status{status=\"RUNNING\"}", - "format": "time_series", - "instant": false, - "intervalFactor": 1, - "legendFormat": "running", - "refId": "A" + "expr": "che_server_api_tracing_span_seconds_max{operation=\"OpenShiftInternalRuntime#createSecrets\"}", + "legendFormat": "{{operation}}", + "refId": "B" + }, + { + "expr": "che_server_api_tracing_span_seconds_max{operation=\"OpenShiftInternalRuntime#createConfigMaps\"}", + "legendFormat": "{{operation}}", + "refId": "D" + }, + { + "expr": "che_server_api_tracing_span_seconds_max{operation=\"OpenShiftInternalRuntime#createServices\"}", + "legendFormat": "{{operation}}", + "refId": "G" + }, + { + "expr": "che_server_api_tracing_span_seconds_max{operation=\"OpenShiftInternalRuntime#createRoutes\"}", + "legendFormat": "{{operation}}", + "refId": "C" + }, + { + "expr": "che_server_api_tracing_span_seconds_max{operation=\"OpenShiftInternalRuntime#doStartMachine\"}", + "legendFormat": "{{operation}}", + "refId": "E" + }, + { + "expr": "che_server_api_tracing_span_seconds_max{operation=\"OpenShiftInternalRuntime#listenEvents\"}", + "legendFormat": "{{operation}}", + "refId": "F" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Running Workspaces", + "title": "OpenShiftInternalRuntime#startMachines Max", "tooltip": { "shared": true, "sort": 0, @@ -4190,31 +4815,33 @@ data: "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$datasource", + "datasource": "che", "fill": 1, + "fillGradient": 0, "gridPos": { - "h": 5, - "w": 6, - "x": 0, - "y": 12 + "h": 6, + "w": 11, + "x": 11, + "y": 23 }, - "id": 44, + "id": 54, "legend": { - "avg": true, + "alignAsTable": false, + "avg": false, "current": true, "max": true, - "min": true, - "rightSide": false, + "min": false, + "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, - "links": [], - "nullPointMode": "null as zero", - "options": {}, - "paceLength": 10, + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 2, "points": false, @@ -4225,19 +4852,41 @@ data: "steppedLine": false, "targets": [ { - "expr": "rate(che_workspace_start_time_seconds_sum[5m])/rate(che_workspace_start_time_seconds_count [5m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "{{result}}", + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#createSecrets\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#createSecrets\"}[5m])", + "legendFormat": "{{operation}}", "refId": "A" + }, + { + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#createConfigMaps\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#createConfigMaps\"}[5m])", + "legendFormat": "{{operation}}", + "refId": "B" + }, + { + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#createServices\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#createServices\"}[5m])", + "legendFormat": "{{operation}}", + "refId": "C" + }, + { + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#createRoutes\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#createRoutes\"}[5m])", + "legendFormat": "{{operation}}", + "refId": "D" + }, + { + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#listenEvents\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#listenEvents\"}[5m])", + "legendFormat": "{{operation}}", + "refId": "E" + }, + { + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#doStartMachine\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#doStartMachine\"}[5m])", + "legendFormat": "{{operation}}", + "refId": "F" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Average workspace start time", + "title": "OpenShiftInternalRuntime#startMachines Avg", "tooltip": { "shared": true, "sort": 0, @@ -4253,7 +4902,7 @@ data: }, "yaxes": [ { - "format": "s", + "format": "short", "label": null, "logBase": 1, "max": null, @@ -4266,7 +4915,7 @@ data: "logBase": 1, "max": null, "min": null, - "show": false + "show": true } ], "yaxis": { @@ -4279,31 +4928,33 @@ data: "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$datasource", + "datasource": "che", "fill": 1, + "fillGradient": 0, "gridPos": { - "h": 5, - "w": 6, - "x": 6, - "y": 12 + "h": 6, + "w": 11, + "x": 0, + "y": 29 }, - "id": 49, + "id": 57, "legend": { - "avg": true, + "alignAsTable": false, + "avg": false, "current": true, "max": true, - "min": true, - "rightSide": false, + "min": false, + "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, - "links": [], - "nullPointMode": "null as zero", - "options": {}, - "paceLength": 10, + "nullPointMode": "null", + "options": { + "dataLinks": [] + }, "percentage": false, "pointradius": 2, "points": false, @@ -4314,19 +4965,21 @@ data: "steppedLine": false, "targets": [ { - "expr": "rate(che_workspace_stop_time_seconds_sum[5m])/rate(che_workspace_stop_time_seconds_count [5m])", - "format": "time_series", - "hide": false, - "intervalFactor": 1, - "legendFormat": "{{result}}", + "expr": "che_server_api_tracing_span_seconds_max{operation=\"WorkspaceRuntimes#stopAsync\"}", + "legendFormat": "{{operation}}", "refId": "A" + }, + { + "expr": "che_server_api_tracing_span_seconds_max{operation=\"OpenShiftInternalRuntime#internalStop\"}", + "legendFormat": "{{operation}}", + "refId": "B" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Average workspace stop time", + "title": "Workspace Stop Max", "tooltip": { "shared": true, "sort": 0, @@ -4342,7 +4995,7 @@ data: }, "yaxes": [ { - "format": "s", + "format": "short", "label": null, "logBase": 1, "max": null, @@ -4355,7 +5008,7 @@ data: "logBase": 1, "max": null, "min": null, - "show": false + "show": true } ], "yaxis": { @@ -4368,32 +5021,35 @@ data: "bars": false, "dashLength": 10, "dashes": false, - "datasource": "$datasource", + "datasource": "che", "fill": 1, + "fillGradient": 0, "gridPos": { - "h": 5, - "w": 6, - "x": 12, - "y": 12 + "h": 6, + "w": 11, + "x": 11, + "y": 29 }, - "id": 8, + "id": 58, "legend": { + "alignAsTable": false, "avg": false, "current": true, - "max": false, + "max": true, "min": false, + "rightSide": true, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 1, - "links": [], "nullPointMode": "null", - "options": {}, - "paceLength": 10, + "options": { + "dataLinks": [] + }, "percentage": false, - "pointradius": 5, + "pointradius": 2, "points": false, "renderer": "flot", "seriesOverrides": [], @@ -4402,18 +5058,21 @@ data: "steppedLine": false, "targets": [ { - "expr": "sum(che_workspace_failure_total)", - "format": "time_series", - "intervalFactor": 1, - "legendFormat": "failure", + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"WorkspaceRuntimes#stopAsync\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"WorkspaceRuntimes#stopAsync\"}[5m])", + "legendFormat": "{{operation}}", "refId": "A" + }, + { + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#internalStop\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#internalStop\"}[5m])", + "legendFormat": "{{operation}}", + "refId": "B" } ], "thresholds": [], "timeFrom": null, "timeRegions": [], "timeShift": null, - "title": "Workspace Failures", + "title": "Workspace Stop Avg", "tooltip": { "shared": true, "sort": 0, @@ -4456,7 +5115,7 @@ data: "h": 1, "w": 24, "x": 0, - "y": 17 + "y": 35 }, "id": 24, "panels": [], @@ -4470,11 +5129,12 @@ data: "dashes": false, "datasource": "$datasource", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 7, "w": 11, "x": 0, - "y": 18 + "y": 36 }, "id": 16, "legend": { @@ -4490,7 +5150,9 @@ data: "linewidth": 1, "links": [], "nullPointMode": "null", - "options": {}, + "options": { + "dataLinks": [] + }, "paceLength": 10, "percentage": false, "pointradius": 5, @@ -4557,7 +5219,7 @@ data: "h": 1, "w": 24, "x": 0, - "y": 25 + "y": 43 }, "id": 22, "panels": [], @@ -4571,11 +5233,12 @@ data: "dashes": false, "datasource": "$datasource", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 7, "w": 9, "x": 0, - "y": 26 + "y": 44 }, "id": 18, "legend": { @@ -4592,7 +5255,9 @@ data: "linewidth": 1, "links": [], "nullPointMode": "null as zero", - "options": {}, + "options": { + "dataLinks": [] + }, "paceLength": 10, "percentage": false, "pointradius": 5, @@ -4684,11 +5349,12 @@ data: "dashes": false, "datasource": "$datasource", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 7, "w": 7, "x": 9, - "y": 26 + "y": 44 }, "id": 26, "legend": { @@ -4705,7 +5371,9 @@ data: "linewidth": 1, "links": [], "nullPointMode": "null as zero", - "options": {}, + "options": { + "dataLinks": [] + }, "paceLength": 10, "percentage": false, "pointradius": 5, @@ -4782,11 +5450,12 @@ data: "datasource": "$datasource", "decimals": null, "fill": 1, + "fillGradient": 0, "gridPos": { "h": 7, "w": 7, "x": 16, - "y": 26 + "y": 44 }, "id": 32, "legend": { @@ -4805,7 +5474,9 @@ data: "linewidth": 1, "links": [], "nullPointMode": "null", - "options": {}, + "options": { + "dataLinks": [] + }, "paceLength": 10, "percentage": false, "pointradius": 5, @@ -4882,11 +5553,12 @@ data: "dashes": false, "datasource": "$datasource", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 8, "w": 9, "x": 0, - "y": 33 + "y": 51 }, "id": 30, "legend": { @@ -4902,7 +5574,9 @@ data: "linewidth": 1, "links": [], "nullPointMode": "null as zero", - "options": {}, + "options": { + "dataLinks": [] + }, "paceLength": 10, "percentage": false, "pointradius": 5, @@ -4976,11 +5650,12 @@ data: "dashes": false, "datasource": "$datasource", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 8, "w": 7, "x": 9, - "y": 33 + "y": 51 }, "id": 34, "legend": { @@ -4996,7 +5671,9 @@ data: "linewidth": 1, "links": [], "nullPointMode": "null as zero", - "options": {}, + "options": { + "dataLinks": [] + }, "paceLength": 10, "percentage": false, "pointradius": 5, @@ -5072,11 +5749,12 @@ data: "datasource": "$datasource", "description": "", "fill": 1, + "fillGradient": 0, "gridPos": { "h": 8, "w": 7, "x": 16, - "y": 33 + "y": 51 }, "id": 28, "legend": { @@ -5092,7 +5770,9 @@ data: "linewidth": 1, "links": [], "nullPointMode": "null as zero", - "options": {}, + "options": { + "dataLinks": [] + }, "paceLength": 10, "percentage": false, "pointradius": 5, @@ -5167,7 +5847,7 @@ data: "h": 1, "w": 24, "x": 0, - "y": 41 + "y": 59 }, "id": 42, "panels": [], @@ -5192,7 +5872,7 @@ data: "h": 12, "w": 11, "x": 0, - "y": 42 + "y": 60 }, "heatmap": {}, "hideZeroBuckets": false, @@ -5258,7 +5938,7 @@ data: "h": 12, "w": 13, "x": 11, - "y": 42 + "y": 60 }, "heatmap": {}, "hideZeroBuckets": false, @@ -5308,12 +5988,16 @@ data: } ], "refresh": "15m", - "schemaVersion": 18, + "schemaVersion": 19, "style": "dark", "tags": [], "templating": { "list": [ { + "current": { + "text": "che", + "value": "che" + }, "hide": 0, "includeAll": false, "label": null, From b6136d6631dcb39dbdd5befc71c7c0e3485b532c Mon Sep 17 00:00:00 2001 From: Mykhailo Kuznietsov Date: Wed, 11 Sep 2019 17:13:32 +0300 Subject: [PATCH 2/3] fixup! Add Grafana panels with workspace traces metrics --- .../monitoring/grafana-dashboards.yaml | 118 ++++++++---------- 1 file changed, 51 insertions(+), 67 deletions(-) diff --git a/deploy/openshift/templates/monitoring/grafana-dashboards.yaml b/deploy/openshift/templates/monitoring/grafana-dashboards.yaml index 0bc48f19ed0..1ea220bcc72 100644 --- a/deploy/openshift/templates/monitoring/grafana-dashboards.yaml +++ b/deploy/openshift/templates/monitoring/grafana-dashboards.yaml @@ -3625,7 +3625,7 @@ data: "editable": true, "gnetId": null, "graphTooltip": 1, - "iteration": 1568012781120, + "iteration": 1568122748216, "links": [], "panels": [ { @@ -4476,7 +4476,7 @@ data: "bars": false, "dashLength": 10, "dashes": false, - "datasource": "che", + "datasource": "$datasource", "fill": 1, "fillGradient": 0, "gridPos": { @@ -4499,7 +4499,7 @@ data: }, "lines": true, "linewidth": 1, - "nullPointMode": "null", + "nullPointMode": "null as zero", "options": { "dataLinks": [] }, @@ -4567,7 +4567,7 @@ data: "label": null, "logBase": 1, "max": null, - "min": null, + "min": 0, "show": true }, { @@ -4575,7 +4575,7 @@ data: "label": null, "logBase": 1, "max": null, - "min": null, + "min": 0, "show": true } ], @@ -4589,7 +4589,7 @@ data: "bars": false, "dashLength": 10, "dashes": false, - "datasource": "che", + "datasource": "$datasource", "fill": 1, "fillGradient": 0, "gridPos": { @@ -4626,32 +4626,32 @@ data: "steppedLine": false, "targets": [ { - "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"WorkspaceRuntimes#startAsync\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"WorkspaceRuntimes#startAsync\"}[5m])", - "legendFormat": "{{operation}}", - "refId": "E" - }, - { - "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"SidecarToolingProvisioner#provision\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"SidecarToolingProvisioner#provision\"}[5m])", + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"WorkspaceRuntimes#startAsync\"}[1h]) / rate(che_server_api_tracing_span_seconds_count{operation=\"WorkspaceRuntimes#startAsync\"}[1h])", "legendFormat": "{{operation}}", "refId": "A" }, { - "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftEnvironmentProvisioner#provision\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftEnvironmentProvisioner#provision\"}[5m])", + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"SidecarToolingProvisioner#provision\"}[1h]) / rate(che_server_api_tracing_span_seconds_count{operation=\"SidecarToolingProvisioner#provision\"}[1h])", "legendFormat": "{{operation}}", "refId": "B" }, { - "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"UniqueWorkspacePVCStrategy#prepare\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"UniqueWorkspacePVCStrategy#prepare\"}[5m])", + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftEnvironmentProvisioner#provision\"}[1h]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftEnvironmentProvisioner#provision\"}[1h])", "legendFormat": "{{operation}}", "refId": "C" }, { - "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#startMachines\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#startMachines\"}[5m])", + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"UniqueWorkspacePVCStrategy#prepare\"}[1h]) / rate(che_server_api_tracing_span_seconds_count{operation=\"UniqueWorkspacePVCStrategy#prepare\"}[1h])", "legendFormat": "{{operation}}", "refId": "D" }, { - "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"WaitMachinesStart\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"WaitMachinesStart\"}[5m])", + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#startMachines\"}[1h]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#startMachines\"}[1h])", + "legendFormat": "{{operation}}", + "refId": "E" + }, + { + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"WaitMachinesStart\"}[1h]) / rate(che_server_api_tracing_span_seconds_count{operation=\"WaitMachinesStart\"}[1h])", "legendFormat": "{{operation}}", "refId": "F" } @@ -4680,7 +4680,7 @@ data: "label": null, "logBase": 1, "max": null, - "min": null, + "min": 0, "show": true }, { @@ -4688,7 +4688,7 @@ data: "label": null, "logBase": 1, "max": null, - "min": null, + "min": 0, "show": true } ], @@ -4702,7 +4702,7 @@ data: "bars": false, "dashLength": 10, "dashes": false, - "datasource": "che", + "datasource": "$datasource", "fill": 1, "fillGradient": 0, "gridPos": { @@ -4725,7 +4725,7 @@ data: }, "lines": true, "linewidth": 1, - "nullPointMode": "null", + "nullPointMode": "null as zero", "options": { "dataLinks": [] }, @@ -4741,22 +4741,22 @@ data: { "expr": "che_server_api_tracing_span_seconds_max{operation=\"OpenShiftInternalRuntime#createSecrets\"}", "legendFormat": "{{operation}}", - "refId": "B" + "refId": "A" }, { "expr": "che_server_api_tracing_span_seconds_max{operation=\"OpenShiftInternalRuntime#createConfigMaps\"}", "legendFormat": "{{operation}}", - "refId": "D" + "refId": "B" }, { "expr": "che_server_api_tracing_span_seconds_max{operation=\"OpenShiftInternalRuntime#createServices\"}", "legendFormat": "{{operation}}", - "refId": "G" + "refId": "C" }, { "expr": "che_server_api_tracing_span_seconds_max{operation=\"OpenShiftInternalRuntime#createRoutes\"}", "legendFormat": "{{operation}}", - "refId": "C" + "refId": "D" }, { "expr": "che_server_api_tracing_span_seconds_max{operation=\"OpenShiftInternalRuntime#doStartMachine\"}", @@ -4793,7 +4793,7 @@ data: "label": null, "logBase": 1, "max": null, - "min": null, + "min": 0, "show": true }, { @@ -4801,7 +4801,7 @@ data: "label": null, "logBase": 1, "max": null, - "min": null, + "min": 0, "show": true } ], @@ -4815,7 +4815,7 @@ data: "bars": false, "dashLength": 10, "dashes": false, - "datasource": "che", + "datasource": "$datasource", "fill": 1, "fillGradient": 0, "gridPos": { @@ -4838,7 +4838,7 @@ data: }, "lines": true, "linewidth": 1, - "nullPointMode": "null", + "nullPointMode": "null as zero", "options": { "dataLinks": [] }, @@ -4852,32 +4852,32 @@ data: "steppedLine": false, "targets": [ { - "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#createSecrets\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#createSecrets\"}[5m])", + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#createSecrets\"}[1h]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#createSecrets\"}[1h])", "legendFormat": "{{operation}}", "refId": "A" }, { - "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#createConfigMaps\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#createConfigMaps\"}[5m])", + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#createConfigMaps\"}[1h]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#createConfigMaps\"}[1h])", "legendFormat": "{{operation}}", "refId": "B" }, { - "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#createServices\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#createServices\"}[5m])", + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#createServices\"}[1h]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#createServices\"}[1h])", "legendFormat": "{{operation}}", "refId": "C" }, { - "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#createRoutes\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#createRoutes\"}[5m])", + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#createRoutes\"}[1h]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#createRoutes\"}[1h])", "legendFormat": "{{operation}}", "refId": "D" }, { - "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#listenEvents\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#listenEvents\"}[5m])", + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#listenEvents\"}[1h]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#listenEvents\"}[1h])", "legendFormat": "{{operation}}", "refId": "E" }, { - "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#doStartMachine\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#doStartMachine\"}[5m])", + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#doStartMachine\"}[1h]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#doStartMachine\"}[1h])", "legendFormat": "{{operation}}", "refId": "F" } @@ -4906,7 +4906,7 @@ data: "label": null, "logBase": 1, "max": null, - "min": null, + "min": 0, "show": true }, { @@ -4914,7 +4914,7 @@ data: "label": null, "logBase": 1, "max": null, - "min": null, + "min": 0, "show": true } ], @@ -4928,7 +4928,7 @@ data: "bars": false, "dashLength": 10, "dashes": false, - "datasource": "che", + "datasource": "$datasource", "fill": 1, "fillGradient": 0, "gridPos": { @@ -4951,7 +4951,7 @@ data: }, "lines": true, "linewidth": 1, - "nullPointMode": "null", + "nullPointMode": "null as zero", "options": { "dataLinks": [] }, @@ -4999,7 +4999,7 @@ data: "label": null, "logBase": 1, "max": null, - "min": null, + "min": 0, "show": true }, { @@ -5007,7 +5007,7 @@ data: "label": null, "logBase": 1, "max": null, - "min": null, + "min": 0, "show": true } ], @@ -5021,7 +5021,7 @@ data: "bars": false, "dashLength": 10, "dashes": false, - "datasource": "che", + "datasource": "$datasource", "fill": 1, "fillGradient": 0, "gridPos": { @@ -5044,7 +5044,7 @@ data: }, "lines": true, "linewidth": 1, - "nullPointMode": "null", + "nullPointMode": "null as zero", "options": { "dataLinks": [] }, @@ -5058,12 +5058,12 @@ data: "steppedLine": false, "targets": [ { - "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"WorkspaceRuntimes#stopAsync\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"WorkspaceRuntimes#stopAsync\"}[5m])", + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"WorkspaceRuntimes#stopAsync\"}[1h]) / rate(che_server_api_tracing_span_seconds_count{operation=\"WorkspaceRuntimes#stopAsync\"}[1h])", "legendFormat": "{{operation}}", "refId": "A" }, { - "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#internalStop\"}[5m]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#internalStop\"}[5m])", + "expr": "rate(che_server_api_tracing_span_seconds_sum{operation=\"OpenShiftInternalRuntime#internalStop\"}[1h]) / rate(che_server_api_tracing_span_seconds_count{operation=\"OpenShiftInternalRuntime#internalStop\"}[1h])", "legendFormat": "{{operation}}", "refId": "B" } @@ -5092,7 +5092,7 @@ data: "label": null, "logBase": 1, "max": null, - "min": null, + "min": 0, "show": true }, { @@ -5100,7 +5100,7 @@ data: "label": null, "logBase": 1, "max": null, - "min": null, + "min": 0, "show": true } ], @@ -5450,7 +5450,6 @@ data: "datasource": "$datasource", "decimals": null, "fill": 1, - "fillGradient": 0, "gridPos": { "h": 7, "w": 7, @@ -5474,9 +5473,7 @@ data: "linewidth": 1, "links": [], "nullPointMode": "null", - "options": { - "dataLinks": [] - }, + "options": {}, "paceLength": 10, "percentage": false, "pointradius": 5, @@ -5553,7 +5550,6 @@ data: "dashes": false, "datasource": "$datasource", "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 9, @@ -5574,9 +5570,7 @@ data: "linewidth": 1, "links": [], "nullPointMode": "null as zero", - "options": { - "dataLinks": [] - }, + "options": {}, "paceLength": 10, "percentage": false, "pointradius": 5, @@ -5650,7 +5644,6 @@ data: "dashes": false, "datasource": "$datasource", "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 7, @@ -5671,9 +5664,7 @@ data: "linewidth": 1, "links": [], "nullPointMode": "null as zero", - "options": { - "dataLinks": [] - }, + "options": {}, "paceLength": 10, "percentage": false, "pointradius": 5, @@ -5749,7 +5740,6 @@ data: "datasource": "$datasource", "description": "", "fill": 1, - "fillGradient": 0, "gridPos": { "h": 8, "w": 7, @@ -5770,9 +5760,7 @@ data: "linewidth": 1, "links": [], "nullPointMode": "null as zero", - "options": { - "dataLinks": [] - }, + "options": {}, "paceLength": 10, "percentage": false, "pointradius": 5, @@ -5988,16 +5976,12 @@ data: } ], "refresh": "15m", - "schemaVersion": 19, + "schemaVersion": 18, "style": "dark", "tags": [], "templating": { "list": [ { - "current": { - "text": "che", - "value": "che" - }, "hide": 0, "includeAll": false, "label": null, From dcf8bd4f98df5ecb4433f44af3f4614e70ee06db Mon Sep 17 00:00:00 2001 From: Mykhailo Kuznietsov Date: Thu, 12 Sep 2019 09:56:33 +0300 Subject: [PATCH 3/3] fixup! fixup! Add Grafana panels with workspace traces metrics --- deploy/openshift/templates/monitoring/grafana-dashboards.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/openshift/templates/monitoring/grafana-dashboards.yaml b/deploy/openshift/templates/monitoring/grafana-dashboards.yaml index 1ea220bcc72..ca2c2b29743 100644 --- a/deploy/openshift/templates/monitoring/grafana-dashboards.yaml +++ b/deploy/openshift/templates/monitoring/grafana-dashboards.yaml @@ -4240,7 +4240,7 @@ data: "steppedLine": false, "targets": [ { - "expr": "rate(che_workspace_start_time_seconds_sum[5m])/rate(che_workspace_start_time_seconds_count [5m])", + "expr": "rate(che_workspace_start_time_seconds_sum[1h])/rate(che_workspace_start_time_seconds_count [1h])", "format": "time_series", "hide": false, "intervalFactor": 1, @@ -4332,7 +4332,7 @@ data: "steppedLine": false, "targets": [ { - "expr": "rate(che_workspace_stop_time_seconds_sum[5m])/rate(che_workspace_stop_time_seconds_count [5m])", + "expr": "rate(che_workspace_stop_time_seconds_sum[1h])/rate(che_workspace_stop_time_seconds_count [1h])", "format": "time_series", "hide": false, "intervalFactor": 1,