Skip to content

Commit

Permalink
[observability] add resources load failed ratio to code-browser
Browse files Browse the repository at this point in the history
  • Loading branch information
mustard-mh committed Sep 20, 2022
1 parent 601a76b commit c4dcef9
Showing 1 changed file with 135 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,134 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 13,
"id": 14,
"links": [],
"liveNow": false,
"panels": [
{
"collapsed": false,
"collapsed": true,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 0
},
"id": 21,
"panels": [],
"title": "Browser Workbench",
"type": "row"
},
{
"datasource": {
"type": "prometheus",
"uid": "P4169E866C3094E38"
},
"description": "VSCode Web workbench resources load failed ratio",
"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",
"value": null
},
{
"color": "red",
"value": 80
}
]
}
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 1
},
"id": 23,
"links": [
{
"targetBlank": true,
"title": "GCP Error Report",
"url": "https://console.cloud.google.com/errors;service=vscode-workbench;filter=%5B%22LoadError%22%5D?project=gitpod-191109"
}
],
"options": {
"legend": {
"calcs": [
"max",
"mean"
],
"displayMode": "table",
"placement": "right",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "P4169E866C3094E38"
},
"editorMode": "code",
"expr": "sum(rate(gitpod_vscode_web_load_total{status='failed'}[2m])) by (cluster) /sum(rate(gitpod_vscode_web_load_total{status='loading'}[2m])) by (cluster)",
"legendFormat": "__auto",
"range": true,
"refId": "A"
}
],
"title": "Load Failed Ratio",
"type": "timeseries"
},
{
"collapsed": false,
"gridPos": {
"h": 1,
"w": 24,
"x": 0,
"y": 9
},
"id": 13,
"panels": [],
"title": "Extension Gallery",
Expand Down Expand Up @@ -102,7 +218,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 1
"y": 10
},
"id": 11,
"options": {
Expand Down Expand Up @@ -199,7 +315,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 1
"y": 10
},
"id": 18,
"options": {
Expand Down Expand Up @@ -333,7 +449,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 9
"y": 18
},
"id": 15,
"options": {
Expand Down Expand Up @@ -430,7 +546,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 9
"y": 18
},
"id": 16,
"options": {
Expand Down Expand Up @@ -527,7 +643,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 17
"y": 26
},
"id": 19,
"options": {
Expand Down Expand Up @@ -566,7 +682,7 @@
"h": 1,
"w": 24,
"x": 0,
"y": 25
"y": 34
},
"id": 6,
"panels": [],
Expand Down Expand Up @@ -618,8 +734,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand All @@ -634,7 +749,7 @@
"h": 8,
"w": 24,
"x": 0,
"y": 26
"y": 35
},
"id": 14,
"options": {
Expand Down Expand Up @@ -716,8 +831,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand All @@ -733,7 +847,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 34
"y": 43
},
"id": 2,
"options": {
Expand Down Expand Up @@ -813,8 +927,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand All @@ -830,7 +943,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 34
"y": 43
},
"id": 3,
"options": {
Expand Down Expand Up @@ -908,8 +1021,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand All @@ -925,7 +1037,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 42
"y": 51
},
"id": 8,
"options": {
Expand Down Expand Up @@ -1040,8 +1152,7 @@
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
"color": "green"
},
{
"color": "red",
Expand All @@ -1057,7 +1168,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 42
"y": 51
},
"id": 9,
"options": {
Expand Down Expand Up @@ -1190,6 +1301,6 @@
"timezone": "",
"title": "VS Code Browser Overview",
"uid": "oLzOteZ4z",
"version": 4,
"version": 1,
"weekStart": ""
}

0 comments on commit c4dcef9

Please sign in to comment.