Path: blob/main/operations/observability/mixins/IDE/dashboards/components/local-ssh.json
2501 views
{1"annotations": {2"list": [3{4"builtIn": 1,5"datasource": {6"type": "grafana",7"uid": "-- Grafana --"8},9"enable": true,10"hide": true,11"iconColor": "rgba(0, 211, 255, 1)",12"name": "Annotations & Alerts",13"type": "dashboard"14}15]16},17"editable": true,18"fiscalYearStartMonth": 0,19"graphTooltip": 0,20"id": 90,21"links": [],22"liveNow": false,23"panels": [24{25"collapsed": false,26"gridPos": {27"h": 1,28"w": 24,29"x": 0,30"y": 031},32"id": 5,33"panels": [],34"title": "Local SSH Connection",35"type": "row"36},37{38"datasource": {39"type": "prometheus",40"uid": "${datasource}"41},42"fieldConfig": {43"defaults": {44"color": {45"mode": "palette-classic"46},47"custom": {48"axisCenteredZero": false,49"axisColorMode": "text",50"axisLabel": "",51"axisPlacement": "auto",52"barAlignment": 0,53"drawStyle": "line",54"fillOpacity": 0,55"gradientMode": "none",56"hideFrom": {57"legend": false,58"tooltip": false,59"viz": false60},61"lineInterpolation": "linear",62"lineWidth": 1,63"pointSize": 5,64"scaleDistribution": {65"type": "linear"66},67"showPoints": "auto",68"spanNulls": false,69"stacking": {70"group": "A",71"mode": "none"72},73"thresholdsStyle": {74"mode": "off"75}76},77"mappings": [],78"thresholds": {79"mode": "absolute",80"steps": [81{82"color": "green",83"value": null84},85{86"color": "red",87"value": 8088}89]90}91},92"overrides": []93},94"gridPos": {95"h": 8,96"w": 12,97"x": 0,98"y": 199},100"id": 6,101"options": {102"legend": {103"calcs": [104"mean"105],106"displayMode": "table",107"placement": "bottom",108"showLegend": true109},110"tooltip": {111"mode": "single",112"sort": "none"113}114},115"targets": [116{117"datasource": {118"type": "prometheus",119"uid": "${datasource}"120},121"editorMode": "code",122"expr": "sum(vscode_desktop_local_ssh_total{phase=\"connected\"}) / sum(vscode_desktop_local_ssh_total{phase=\"connecting\"})",123"legendFormat": "total ratio",124"range": true,125"refId": "A"126}127],128"title": "Connection Succeed Ratio",129"type": "timeseries"130},131{132"datasource": {133"type": "prometheus",134"uid": "${datasource}"135},136"fieldConfig": {137"defaults": {138"color": {139"mode": "palette-classic"140},141"custom": {142"axisCenteredZero": false,143"axisColorMode": "text",144"axisLabel": "",145"axisPlacement": "auto",146"barAlignment": 0,147"drawStyle": "line",148"fillOpacity": 0,149"gradientMode": "none",150"hideFrom": {151"legend": false,152"tooltip": false,153"viz": false154},155"lineInterpolation": "linear",156"lineWidth": 1,157"pointSize": 5,158"scaleDistribution": {159"type": "linear"160},161"showPoints": "auto",162"spanNulls": false,163"stacking": {164"group": "A",165"mode": "none"166},167"thresholdsStyle": {168"mode": "off"169}170},171"mappings": [],172"thresholds": {173"mode": "absolute",174"steps": [175{176"color": "green",177"value": null178},179{180"color": "red",181"value": 80182}183]184}185},186"overrides": []187},188"gridPos": {189"h": 8,190"w": 12,191"x": 12,192"y": 1193},194"id": 7,195"options": {196"legend": {197"calcs": [198"mean"199],200"displayMode": "table",201"placement": "bottom",202"showLegend": true203},204"tooltip": {205"mode": "single",206"sort": "none"207}208},209"targets": [210{211"datasource": {212"type": "prometheus",213"uid": "${datasource}"214},215"editorMode": "code",216"expr": "sum(rate(vscode_desktop_local_ssh_total{phase=\"failed\"}[2m])) by (failure_code)",217"legendFormat": "__auto",218"range": true,219"refId": "A"220}221],222"title": "Failed Reasons",223"type": "timeseries"224},225{226"collapsed": false,227"gridPos": {228"h": 1,229"w": 24,230"x": 0,231"y": 9232},233"id": 4,234"panels": [],235"title": "Local SSH Configuration",236"type": "row"237},238{239"datasource": {240"type": "prometheus",241"uid": "${datasource}"242},243"fieldConfig": {244"defaults": {245"color": {246"mode": "palette-classic"247},248"custom": {249"axisCenteredZero": false,250"axisColorMode": "text",251"axisLabel": "",252"axisPlacement": "auto",253"barAlignment": 0,254"drawStyle": "line",255"fillOpacity": 0,256"gradientMode": "none",257"hideFrom": {258"legend": false,259"tooltip": false,260"viz": false261},262"lineInterpolation": "linear",263"lineWidth": 1,264"pointSize": 5,265"scaleDistribution": {266"type": "linear"267},268"showPoints": "auto",269"spanNulls": false,270"stacking": {271"group": "A",272"mode": "none"273},274"thresholdsStyle": {275"mode": "off"276}277},278"mappings": [],279"thresholds": {280"mode": "absolute",281"steps": [282{283"color": "green",284"value": null285},286{287"color": "red",288"value": 80289}290]291}292},293"overrides": []294},295"gridPos": {296"h": 8,297"w": 12,298"x": 0,299"y": 10300},301"id": 3,302"options": {303"legend": {304"calcs": [305"mean"306],307"displayMode": "table",308"placement": "bottom",309"showLegend": true310},311"tooltip": {312"mode": "single",313"sort": "none"314}315},316"targets": [317{318"datasource": {319"type": "prometheus",320"uid": "${datasource}"321},322"editorMode": "code",323"expr": "sum(vscode_desktop_ping_extension_server_total{status=\"success\"}) / sum(vscode_desktop_ping_extension_server_total{})",324"legendFormat": "total ratio",325"range": true,326"refId": "A"327}328],329"title": "Ping Extension Server Succeed Ratio",330"type": "timeseries"331},332{333"datasource": {334"type": "prometheus",335"uid": "${datasource}"336},337"fieldConfig": {338"defaults": {339"color": {340"mode": "palette-classic"341},342"custom": {343"axisCenteredZero": false,344"axisColorMode": "text",345"axisLabel": "",346"axisPlacement": "auto",347"barAlignment": 0,348"drawStyle": "line",349"fillOpacity": 0,350"gradientMode": "none",351"hideFrom": {352"legend": false,353"tooltip": false,354"viz": false355},356"lineInterpolation": "linear",357"lineWidth": 1,358"pointSize": 5,359"scaleDistribution": {360"type": "linear"361},362"showPoints": "auto",363"spanNulls": false,364"stacking": {365"group": "A",366"mode": "none"367},368"thresholdsStyle": {369"mode": "off"370}371},372"mappings": [],373"thresholds": {374"mode": "absolute",375"steps": [376{377"color": "green",378"value": null379},380{381"color": "red",382"value": 80383}384]385}386},387"overrides": []388},389"gridPos": {390"h": 8,391"w": 12,392"x": 12,393"y": 10394},395"id": 1,396"options": {397"legend": {398"calcs": [399"mean"400],401"displayMode": "table",402"placement": "bottom",403"showLegend": true404},405"tooltip": {406"mode": "single",407"sort": "none"408}409},410"targets": [411{412"datasource": {413"type": "prometheus",414"uid": "${datasource}"415},416"editorMode": "code",417"expr": "sum(vscode_desktop_local_ssh_config_total{status=\"failure\"}) by (failure_code)",418"legendFormat": "__auto",419"range": true,420"refId": "A"421}422],423"title": "Config Failed Reason",424"type": "timeseries"425},426{427"datasource": {428"type": "prometheus",429"uid": "${datasource}"430},431"fieldConfig": {432"defaults": {433"color": {434"mode": "palette-classic"435},436"custom": {437"axisCenteredZero": false,438"axisColorMode": "text",439"axisLabel": "",440"axisPlacement": "auto",441"barAlignment": 0,442"drawStyle": "line",443"fillOpacity": 0,444"gradientMode": "none",445"hideFrom": {446"legend": false,447"tooltip": false,448"viz": false449},450"lineInterpolation": "linear",451"lineWidth": 1,452"pointSize": 5,453"scaleDistribution": {454"type": "linear"455},456"showPoints": "auto",457"spanNulls": false,458"stacking": {459"group": "A",460"mode": "none"461},462"thresholdsStyle": {463"mode": "off"464}465},466"mappings": [],467"thresholds": {468"mode": "absolute",469"steps": [470{471"color": "green",472"value": null473},474{475"color": "red",476"value": 80477}478]479}480},481"overrides": []482},483"gridPos": {484"h": 8,485"w": 12,486"x": 0,487"y": 18488},489"id": 2,490"options": {491"legend": {492"calcs": [493"mean"494],495"displayMode": "table",496"placement": "bottom",497"showLegend": true498},499"tooltip": {500"mode": "single",501"sort": "none"502}503},504"targets": [505{506"datasource": {507"type": "prometheus",508"uid": "${datasource}"509},510"editorMode": "code",511"expr": "sum(vscode_desktop_local_ssh_config_total{status=\"success\"}) / sum(vscode_desktop_local_ssh_config_total{})",512"hide": false,513"legendFormat": "total ratio",514"range": true,515"refId": "A"516}517],518"title": "Config Succeed Ratio",519"type": "timeseries"520}521],522"refresh": "",523"schemaVersion": 38,524"style": "dark",525"tags": [],526"templating": {527"list": [528{529"current": {530"selected": false,531"text": "VictoriaMetrics",532"value": "VictoriaMetrics"533},534"hide": 0,535"includeAll": false,536"multi": false,537"name": "datasource",538"options": [],539"query": "prometheus",540"queryValue": "",541"refresh": 1,542"regex": "",543"skipUrlSync": false,544"type": "datasource"545}546]547},548"time": {549"from": "now-7d",550"to": "now"551},552"timepicker": {},553"timezone": "",554"title": "Local SSH Reliability",555"uid": "e78bdf2b-ad72-4bc7-832d-94eec9e7a2e6",556"version": 2,557"weekStart": ""558}559560561