Path: blob/main/operations/observability/mixins/IDE/dashboards/components/ssh-gateway.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"target": {14"limit": 100,15"matchAny": false,16"tags": [],17"type": "dashboard"18},19"type": "dashboard"20}21]22},23"editable": true,24"fiscalYearStartMonth": 0,25"graphTooltip": 0,26"id": 66,27"iteration": 1655363716055,28"links": [],29"liveNow": true,30"panels": [31{32"datasource": {33"type": "prometheus",34"uid": "${datasource}"35},36"description": "",37"fieldConfig": {38"defaults": {39"color": {40"mode": "palette-classic"41},42"custom": {43"axisLabel": "attempt/second",44"axisPlacement": "auto",45"barAlignment": 0,46"drawStyle": "line",47"fillOpacity": 0,48"gradientMode": "none",49"hideFrom": {50"legend": false,51"tooltip": false,52"viz": false53},54"lineInterpolation": "linear",55"lineWidth": 1,56"pointSize": 5,57"scaleDistribution": {58"type": "linear"59},60"showPoints": "auto",61"spanNulls": false,62"stacking": {63"group": "A",64"mode": "none"65},66"thresholdsStyle": {67"mode": "off"68}69},70"mappings": [],71"thresholds": {72"mode": "absolute",73"steps": [74{75"color": "green",76"value": null77},78{79"color": "red",80"value": 8081}82]83}84},85"overrides": []86},87"gridPos": {88"h": 8,89"w": 12,90"x": 0,91"y": 092},93"id": 2,94"options": {95"legend": {96"calcs": [97"max",98"mean",99"min"100],101"displayMode": "table",102"placement": "bottom"103},104"tooltip": {105"mode": "single",106"sort": "none"107}108},109"targets": [110{111"datasource": {112"type": "prometheus",113"uid": "${datasource}"114},115"editorMode": "code",116"expr": "sum(rate(gitpod_ws_proxy_ssh_attempt_total{error_type!~\"OTHERS|WS_ID_INVALID\"}[2m]))",117"legendFormat": "rate",118"range": true,119"refId": "A"120}121],122"title": "Attempts",123"type": "timeseries"124},125{126"datasource": {127"type": "prometheus",128"uid": "${datasource}"129},130"description": "",131"fieldConfig": {132"defaults": {133"color": {134"mode": "palette-classic"135},136"custom": {137"axisLabel": "attempt/second",138"axisPlacement": "auto",139"barAlignment": 0,140"drawStyle": "line",141"fillOpacity": 0,142"gradientMode": "none",143"hideFrom": {144"legend": false,145"tooltip": false,146"viz": false147},148"lineInterpolation": "linear",149"lineWidth": 1,150"pointSize": 5,151"scaleDistribution": {152"type": "linear"153},154"showPoints": "auto",155"spanNulls": false,156"stacking": {157"group": "A",158"mode": "none"159},160"thresholdsStyle": {161"mode": "off"162}163},164"mappings": [],165"thresholds": {166"mode": "absolute",167"steps": [168{169"color": "green",170"value": null171},172{173"color": "red",174"value": 80175}176]177}178},179"overrides": []180},181"gridPos": {182"h": 8,183"w": 12,184"x": 12,185"y": 0186},187"id": 3,188"options": {189"legend": {190"calcs": [191"max",192"mean",193"min"194],195"displayMode": "table",196"placement": "right"197},198"tooltip": {199"mode": "single",200"sort": "none"201}202},203"targets": [204{205"datasource": {206"type": "prometheus",207"uid": "${datasource}"208},209"editorMode": "code",210"expr": "sum by (error_type) (rate(gitpod_ws_proxy_ssh_attempt_total{error_type=~\"OTHERS|WS_ID_INVALID\"}[2m]))",211"legendFormat": "__auto",212"range": true,213"refId": "A"214}215],216"title": "Suspicious attempts",217"type": "timeseries"218},219{220"datasource": {221"type": "prometheus",222"uid": "${datasource}"223},224"fieldConfig": {225"defaults": {226"color": {227"mode": "palette-classic"228},229"custom": {230"axisLabel": "",231"axisPlacement": "auto",232"barAlignment": 0,233"drawStyle": "bars",234"fillOpacity": 0,235"gradientMode": "none",236"hideFrom": {237"legend": false,238"tooltip": false,239"viz": false240},241"lineInterpolation": "linear",242"lineWidth": 1,243"pointSize": 5,244"scaleDistribution": {245"type": "linear"246},247"showPoints": "auto",248"spanNulls": false,249"stacking": {250"group": "A",251"mode": "none"252},253"thresholdsStyle": {254"mode": "off"255}256},257"mappings": [],258"thresholds": {259"mode": "absolute",260"steps": [261{262"color": "green",263"value": null264},265{266"color": "red",267"value": 80268}269]270},271"unit": "percentunit"272},273"overrides": []274},275"gridPos": {276"h": 8,277"w": 12,278"x": 0,279"y": 8280},281"id": 5,282"options": {283"legend": {284"calcs": [285"mean"286],287"displayMode": "table",288"placement": "bottom"289},290"tooltip": {291"mode": "single",292"sort": "none"293}294},295"targets": [296{297"datasource": {298"type": "prometheus",299"uid": "${datasource}"300},301"editorMode": "code",302"expr": "sum(rate(gitpod_ws_proxy_ssh_attempt_total{error_type!~\"WS_ID_INVALID|OTHERS\",status=\"failed\"}[2m]))/sum(rate(gitpod_ws_proxy_ssh_attempt_total{error_type!~\"WS_ID_INVALID|OTHERS\"}[2m]))",303"legendFormat": "total ratio",304"range": true,305"refId": "A"306}307],308"title": "Failures",309"type": "timeseries"310},311{312"datasource": {313"type": "prometheus",314"uid": "${datasource}"315},316"fieldConfig": {317"defaults": {318"color": {319"mode": "palette-classic"320},321"custom": {322"axisLabel": "",323"axisPlacement": "auto",324"barAlignment": 0,325"drawStyle": "bars",326"fillOpacity": 0,327"gradientMode": "none",328"hideFrom": {329"legend": false,330"tooltip": false,331"viz": false332},333"lineInterpolation": "linear",334"lineWidth": 1,335"pointSize": 5,336"scaleDistribution": {337"type": "linear"338},339"showPoints": "auto",340"spanNulls": false,341"stacking": {342"group": "A",343"mode": "none"344},345"thresholdsStyle": {346"mode": "off"347}348},349"mappings": [],350"thresholds": {351"mode": "absolute",352"steps": [353{354"color": "green",355"value": null356},357{358"color": "red",359"value": 80360}361]362},363"unit": "percentunit"364},365"overrides": []366},367"gridPos": {368"h": 8,369"w": 12,370"x": 12,371"y": 8372},373"id": 6,374"options": {375"legend": {376"calcs": [377"mean"378],379"displayMode": "table",380"placement": "right"381},382"tooltip": {383"mode": "single",384"sort": "none"385}386},387"targets": [388{389"datasource": {390"type": "prometheus",391"uid": "${datasource}"392},393"editorMode": "code",394"expr": "sum by (error_type) (rate(gitpod_ws_proxy_ssh_attempt_total{error_type!~\"WS_ID_INVALID|OTHERS\",status=\"failed\"}[2m]))/sum(rate(gitpod_ws_proxy_ssh_attempt_total{error_type!~\"WS_ID_INVALID|OTHERS\"}[2m]))",395"legendFormat": "__auto",396"range": true,397"refId": "A"398}399],400"title": "Errors",401"type": "timeseries"402}403],404"refresh": "30s",405"schemaVersion": 36,406"style": "dark",407"tags": [],408"templating": {409"list": [410{411"current": {412"selected": false,413"text": "VictoriaMetrics",414"value": "VictoriaMetrics"415},416"hide": 0,417"includeAll": false,418"multi": false,419"name": "datasource",420"options": [],421"query": "prometheus",422"refresh": 1,423"regex": "",424"skipUrlSync": false,425"type": "datasource"426}427]428},429"time": {430"from": "now-6h",431"to": "now"432},433"timepicker": {},434"timezone": "",435"title": "SSH Gateway Overview",436"uid": "3oan1Zr7k",437"version": 6,438"weekStart": ""439}440441442