Path: blob/main/operations/observability/mixins/workspace/dashboards/network-limiting.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"description": "Shows statistics about network limiting",24"editable": true,25"fiscalYearStartMonth": 0,26"graphTooltip": 0,27"links": [],28"liveNow": false,29"panels": [30{31"datasource": {32"type": "prometheus",33"uid": "${datasource}"34},35"fieldConfig": {36"defaults": {37"color": {38"mode": "palette-classic"39},40"custom": {41"axisCenteredZero": false,42"axisColorMode": "text",43"axisLabel": "",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": 9,89"w": 12,90"x": 0,91"y": 092},93"id": 2,94"options": {95"legend": {96"calcs": [],97"displayMode": "list",98"placement": "bottom",99"showLegend": true100},101"tooltip": {102"mode": "single",103"sort": "none"104}105},106"targets": [107{108"datasource": {109"type": "prometheus",110"uid": "${datasource}"111},112"editorMode": "code",113"expr": "sum(gitpod_ws_daemon_netlimit_connections_dropped_packets{node=~\"$node\", workspace=~\"$workspace\"}) by(node, workspace)",114"legendFormat": "{{workspace}}",115"range": true,116"refId": "A"117}118],119"title": "Dropped packets",120"type": "timeseries"121},122{123"datasource": {124"type": "prometheus",125"uid": "${datasource}"126},127"fieldConfig": {128"defaults": {129"color": {130"mode": "palette-classic"131},132"custom": {133"axisCenteredZero": false,134"axisColorMode": "text",135"axisLabel": "",136"axisPlacement": "auto",137"barAlignment": 0,138"drawStyle": "line",139"fillOpacity": 0,140"gradientMode": "none",141"hideFrom": {142"legend": false,143"tooltip": false,144"viz": false145},146"lineInterpolation": "linear",147"lineWidth": 1,148"pointSize": 5,149"scaleDistribution": {150"type": "linear"151},152"showPoints": "auto",153"spanNulls": false,154"stacking": {155"group": "A",156"mode": "none"157},158"thresholdsStyle": {159"mode": "off"160}161},162"mappings": [],163"thresholds": {164"mode": "absolute",165"steps": [166{167"color": "green",168"value": null169},170{171"color": "red",172"value": 80173}174]175}176},177"overrides": []178},179"gridPos": {180"h": 9,181"w": 12,182"x": 12,183"y": 0184},185"id": 4,186"options": {187"legend": {188"calcs": [],189"displayMode": "list",190"placement": "bottom",191"showLegend": true192},193"tooltip": {194"mode": "single",195"sort": "none"196}197},198"targets": [199{200"datasource": {201"type": "prometheus",202"uid": "${datasource}"203},204"editorMode": "code",205"expr": "sum(gitpod_ws_daemon_netlimit_connections_dropped_bytes{node=~\"$node\", workspace=~\"$workspace\"}) by (node, workspace)",206"legendFormat": "{{workspace}}",207"range": true,208"refId": "A"209}210],211"title": "Dropped bytes",212"type": "timeseries"213},214{215"datasource": {216"type": "prometheus",217"uid": "${datasource}"218},219"fieldConfig": {220"defaults": {221"color": {222"mode": "palette-classic"223},224"custom": {225"axisCenteredZero": false,226"axisColorMode": "text",227"axisLabel": "",228"axisPlacement": "auto",229"barAlignment": 0,230"drawStyle": "line",231"fillOpacity": 0,232"gradientMode": "none",233"hideFrom": {234"legend": false,235"tooltip": false,236"viz": false237},238"lineInterpolation": "linear",239"lineWidth": 1,240"pointSize": 5,241"scaleDistribution": {242"type": "linear"243},244"showPoints": "auto",245"spanNulls": false,246"stacking": {247"group": "A",248"mode": "none"249},250"thresholdsStyle": {251"mode": "off"252}253},254"mappings": [],255"thresholds": {256"mode": "absolute",257"steps": [258{259"color": "green",260"value": null261},262{263"color": "red",264"value": 80265}266]267}268},269"overrides": []270},271"gridPos": {272"h": 8,273"w": 12,274"x": 0,275"y": 9276},277"id": 6,278"options": {279"legend": {280"calcs": [],281"displayMode": "list",282"placement": "bottom",283"showLegend": true284},285"tooltip": {286"mode": "single",287"sort": "none"288}289},290"targets": [291{292"datasource": {293"type": "prometheus",294"uid": "${datasource}"295},296"editorMode": "code",297"expr": "sum(rate(gitpod_ws_daemon_netlimit_connections_dropped_packets[1m])) by(workspace) != 0",298"legendFormat": "__auto",299"range": true,300"refId": "A"301}302],303"title": "Overview",304"type": "timeseries"305}306],307"schemaVersion": 37,308"style": "dark",309"tags": [],310"templating": {311"list": [312{313"current": {314"selected": false,315"text": "VictoriaMetrics",316"value": "VictoriaMetrics"317},318"hide": 2,319"includeAll": false,320"multi": false,321"name": "datasource",322"options": [],323"query": "prometheus",324"queryValue": "",325"refresh": 1,326"regex": "",327"skipUrlSync": false,328"type": "datasource"329},330{331"current": {},332"datasource": {333"type": "prometheus",334"uid": "${datasource}"335},336"definition": "label_values(gitpod_ws_daemon_netlimit_connections_dropped_bytes,node)",337"hide": 0,338"includeAll": false,339"label": "Node",340"multi": false,341"name": "node",342"options": [],343"query": {344"query": "label_values(gitpod_ws_daemon_netlimit_connections_dropped_bytes,node)",345"refId": "StandardVariableQuery"346},347"refresh": 2,348"regex": "",349"skipUrlSync": false,350"sort": 1,351"type": "query"352},353{354"current": {},355"datasource": {356"type": "prometheus",357"uid": "${datasource}"358},359"definition": "label_values(gitpod_ws_daemon_netlimit_connections_dropped_bytes{node=\"$node\"},workspace)",360"hide": 0,361"includeAll": true,362"label": "Workspace",363"multi": true,364"name": "workspace",365"options": [],366"query": {367"query": "label_values(gitpod_ws_daemon_netlimit_connections_dropped_bytes{node=\"$node\"},workspace)",368"refId": "StandardVariableQuery"369},370"refresh": 2,371"regex": "",372"skipUrlSync": false,373"sort": 1,374"type": "query"375}376]377},378"time": {379"from": "now-5m",380"to": "now"381},382"timepicker": {},383"timezone": "",384"title": "Network limiting",385"uid": "-q-ZCsW4z",386"version": 2,387"weekStart": ""388}389390391