Path: blob/main/operations/observability/mixins/cross-teams/dashboards/gitpod-admin-workspace.json
2500 views
{1"__inputs": [],2"__elements": {},3"__requires": [4{5"type": "grafana",6"id": "grafana",7"name": "Grafana",8"version": "9.1.5"9},10{11"type": "panel",12"id": "graph",13"name": "Graph (old)",14"version": ""15},16{17"type": "datasource",18"id": "prometheus",19"name": "Prometheus",20"version": "1.0.0"21},22{23"type": "panel",24"id": "stat",25"name": "Stat",26"version": ""27}28],29"annotations": {30"list": [31{32"builtIn": 1,33"datasource": {34"type": "grafana",35"uid": "-- Grafana --"36},37"enable": true,38"hide": true,39"iconColor": "rgba(0, 211, 255, 1)",40"name": "Annotations & Alerts",41"target": {42"limit": 100,43"matchAny": false,44"tags": [],45"type": "dashboard"46},47"type": "dashboard"48}49]50},51"editable": false,52"fiscalYearStartMonth": 0,53"graphTooltip": 1,54"id": null,55"links": [],56"liveNow": false,57"panels": [58{59"collapsed": false,60"datasource": {61"type": "datasource",62"uid": "grafana"63},64"gridPos": {65"h": 1,66"w": 24,67"x": 0,68"y": 069},70"id": 12,71"panels": [],72"targets": [73{74"datasource": {75"type": "datasource",76"uid": "grafana"77},78"refId": "A"79}80],81"title": "Workspace info",82"type": "row"83},84{85"datasource": {86"uid": "$datasource"87},88"fieldConfig": {89"defaults": {90"links": [91{92"targetBlank": true,93"title": "See user in 'Gitpod Admin'",94"url": "https://gitpod.io/admin/users/${__field.labels.owner}"95}96],97"mappings": [],98"thresholds": {99"mode": "absolute",100"steps": []101},102"unit": "none"103},104"overrides": []105},106"gridPos": {107"h": 4,108"w": 8,109"x": 4,110"y": 1111},112"id": 2,113"links": [],114"options": {115"colorMode": "none",116"graphMode": "area",117"justifyMode": "auto",118"orientation": "auto",119"reduceOptions": {120"calcs": [121"lastNotNull"122],123"fields": "",124"values": false125},126"textMode": "name"127},128"pluginVersion": "9.1.5",129"targets": [130{131"datasource": {132"uid": "$datasource"133},134"expr": "kube_pod_labels{pod=\"$workspace\", owner=~\".+\"}",135"format": "time_series",136"intervalFactor": 2,137"legendFormat": "{{owner}}",138"refId": "A"139}140],141"title": "Workspace Owner",142"transparent": "true",143"type": "stat"144},145{146"datasource": {147"uid": "$datasource"148},149"fieldConfig": {150"defaults": {151"links": [152{153"targetBlank": true,154"title": "See workspace in 'Gitpod Admin'",155"url": "https://gitpod.io/admin/workspaces/${__field.labels.metaID}"156}157],158"mappings": [],159"thresholds": {160"mode": "absolute",161"steps": []162},163"unit": "none"164},165"overrides": []166},167"gridPos": {168"h": 4,169"w": 8,170"x": 12,171"y": 1172},173"id": 3,174"links": [],175"options": {176"colorMode": "none",177"graphMode": "area",178"justifyMode": "auto",179"orientation": "auto",180"reduceOptions": {181"calcs": [182"lastNotNull"183],184"fields": "",185"values": false186},187"textMode": "name"188},189"pluginVersion": "9.1.5",190"targets": [191{192"datasource": {193"uid": "$datasource"194},195"expr": "kube_pod_labels{pod=\"$workspace\", metaID=~\".+\"}",196"format": "time_series",197"intervalFactor": 2,198"legendFormat": "{{metaID}}",199"refId": "A"200}201],202"title": "Workspace ID",203"transparent": "true",204"type": "stat"205},206{207"aliasColors": {},208"bars": false,209"dashLength": 10,210"dashes": false,211"datasource": {212"uid": "$datasource"213},214"fill": 1,215"fillGradient": 5,216"gridPos": {217"h": 7,218"w": 8,219"x": 0,220"y": 5221},222"hiddenSeries": false,223"id": 4,224"legend": {225"alignAsTable": false,226"avg": false,227"current": false,228"max": false,229"min": false,230"rightSide": false,231"show": true,232"total": false,233"values": false234},235"lines": true,236"linewidth": 1,237"links": [],238"nullPointMode": "null",239"options": {240"alertThreshold": true241},242"percentage": false,243"pluginVersion": "9.1.5",244"pointradius": 5,245"points": false,246"renderer": "flot",247"seriesOverrides": [],248"spaceLength": 10,249"stack": false,250"steppedLine": false,251"targets": [252{253"datasource": {254"uid": "$datasource"255},256"expr": "time() - kube_pod_created{pod=\"$workspace\"}",257"format": "time_series",258"intervalFactor": 2,259"legendFormat": "Uptime",260"refId": "A"261}262],263"thresholds": [],264"timeRegions": [],265"title": "Uptime",266"tooltip": {267"shared": true,268"sort": 0,269"value_type": "individual"270},271"type": "graph",272"xaxis": {273"mode": "time",274"show": true,275"values": []276},277"yaxes": [278{279"format": "s",280"logBase": 1,281"min": 0,282"show": true283},284{285"format": "s",286"logBase": 1,287"min": 0,288"show": true289}290],291"yaxis": {292"align": false293}294},295{296"aliasColors": {},297"bars": false,298"dashLength": 10,299"dashes": false,300"datasource": {301"uid": "$datasource"302},303"fill": 1,304"fillGradient": 5,305"gridPos": {306"h": 7,307"w": 8,308"x": 8,309"y": 5310},311"hiddenSeries": false,312"id": 5,313"legend": {314"alignAsTable": false,315"avg": false,316"current": false,317"max": false,318"min": false,319"rightSide": false,320"show": true,321"total": false,322"values": false323},324"lines": true,325"linewidth": 1,326"links": [],327"nullPointMode": "null",328"options": {329"alertThreshold": true330},331"percentage": false,332"pluginVersion": "9.1.5",333"pointradius": 5,334"points": false,335"renderer": "flot",336"seriesOverrides": [],337"spaceLength": 10,338"stack": false,339"steppedLine": false,340"targets": [341{342"datasource": {343"uid": "$datasource"344},345"expr": "sum(\n rate(container_cpu_usage_seconds_total{container!=\"POD\", container!=\"\", cluster=\"$cluster\", pod=\"$workspace\"}[$__rate_interval])\n) by (pod)\n",346"format": "time_series",347"intervalFactor": 2,348"legendFormat": "CPU Utilization",349"refId": "A"350}351],352"thresholds": [],353"timeRegions": [],354"title": "CPU Utilization",355"tooltip": {356"shared": true,357"sort": 0,358"value_type": "individual"359},360"type": "graph",361"xaxis": {362"mode": "time",363"show": true,364"values": []365},366"yaxes": [367{368"format": "none",369"logBase": 1,370"min": 0,371"show": true372},373{374"format": "none",375"logBase": 1,376"min": 0,377"show": true378}379],380"yaxis": {381"align": false382}383},384{385"aliasColors": {},386"bars": false,387"dashLength": 10,388"dashes": false,389"datasource": {390"uid": "$datasource"391},392"fill": 1,393"fillGradient": 5,394"gridPos": {395"h": 7,396"w": 8,397"x": 16,398"y": 5399},400"hiddenSeries": false,401"id": 6,402"legend": {403"alignAsTable": false,404"avg": false,405"current": false,406"max": false,407"min": false,408"rightSide": false,409"show": true,410"total": false,411"values": false412},413"lines": true,414"linewidth": 1,415"links": [],416"nullPointMode": "null",417"options": {418"alertThreshold": true419},420"percentage": false,421"pluginVersion": "9.1.5",422"pointradius": 5,423"points": false,424"renderer": "flot",425"seriesOverrides": [426{427"alias": "/CPU Throttles/",428"yaxis": 2429}430],431"spaceLength": 10,432"stack": false,433"steppedLine": false,434"targets": [435{436"datasource": {437"uid": "$datasource"438},439"expr": "sum(\n rate(container_cpu_usage_seconds_total{container!=\"POD\", container!=\"\", cluster=\"$cluster\", pod=\"$workspace\"}[$__rate_interval])\n) by (pod)\n/\nsum(\n kube_pod_container_resource_limits{container!=\"POD\", cluster=\"$cluster\", pod=\"$workspace\", resource=\"cpu\"}\n ) by (pod)\n",440"format": "time_series",441"intervalFactor": 2,442"legendFormat": "CPU Saturation",443"refId": "A"444},445{446"datasource": {447"uid": "$datasource"448},449"expr": "sum(\n rate(container_cpu_cfs_throttled_seconds_total{container!=\"POD\", pod!=\"\", cluster=\"$cluster\", pod=\"$workspace\"}[$__rate_interval])\n) by (pod)\n",450"format": "time_series",451"intervalFactor": 2,452"legendFormat": "CPU Throttles",453"refId": "B"454}455],456"thresholds": [],457"timeRegions": [],458"title": "CPU Saturation",459"tooltip": {460"shared": true,461"sort": 0,462"value_type": "individual"463},464"type": "graph",465"xaxis": {466"mode": "time",467"show": true,468"values": []469},470"yaxes": [471{472"format": "percentunit",473"logBase": 1,474"min": 0,475"show": true476},477{478"format": "s",479"logBase": 1,480"min": 0,481"show": true482}483],484"yaxis": {485"align": false486}487},488{489"aliasColors": {},490"bars": false,491"dashLength": 10,492"dashes": false,493"datasource": {494"uid": "$datasource"495},496"fill": 1,497"fillGradient": 5,498"gridPos": {499"h": 7,500"w": 12,501"x": 0,502"y": 12503},504"hiddenSeries": false,505"id": 7,506"legend": {507"alignAsTable": false,508"avg": false,509"current": false,510"max": false,511"min": false,512"rightSide": false,513"show": true,514"total": false,515"values": false516},517"lines": true,518"linewidth": 1,519"links": [],520"nullPointMode": "null",521"options": {522"alertThreshold": true523},524"percentage": false,525"pluginVersion": "9.1.5",526"pointradius": 5,527"points": false,528"renderer": "flot",529"seriesOverrides": [],530"spaceLength": 10,531"stack": false,532"steppedLine": false,533"targets": [534{535"datasource": {536"uid": "$datasource"537},538"expr": "sum(\n container_memory_working_set_bytes{container!=\"POD\", container!=\"\", cluster=\"$cluster\", pod=\"$workspace\"}\n) by (pod)\n",539"format": "time_series",540"intervalFactor": 2,541"legendFormat": "Memory Utilization",542"refId": "A"543}544],545"thresholds": [],546"timeRegions": [],547"title": "Memory Utilization",548"tooltip": {549"shared": true,550"sort": 0,551"value_type": "individual"552},553"type": "graph",554"xaxis": {555"mode": "time",556"show": true,557"values": []558},559"yaxes": [560{561"format": "bytes",562"logBase": 1,563"min": 0,564"show": true565},566{567"format": "bytes",568"logBase": 1,569"min": 0,570"show": true571}572],573"yaxis": {574"align": false575}576},577{578"aliasColors": {},579"bars": false,580"dashLength": 10,581"dashes": false,582"datasource": {583"uid": "$datasource"584},585"fill": 1,586"fillGradient": 5,587"gridPos": {588"h": 7,589"w": 12,590"x": 12,591"y": 12592},593"hiddenSeries": false,594"id": 8,595"legend": {596"alignAsTable": false,597"avg": false,598"current": false,599"max": false,600"min": false,601"rightSide": false,602"show": true,603"total": false,604"values": false605},606"lines": true,607"linewidth": 1,608"links": [],609"nullPointMode": "null",610"options": {611"alertThreshold": true612},613"percentage": false,614"pluginVersion": "9.1.5",615"pointradius": 5,616"points": false,617"renderer": "flot",618"seriesOverrides": [],619"spaceLength": 10,620"stack": false,621"steppedLine": false,622"targets": [623{624"datasource": {625"uid": "$datasource"626},627"expr": "sum(\n container_memory_working_set_bytes{container!=\"POD\", container!=\"\", cluster=\"$cluster\", pod=\"$workspace\"}\n) by (pod)\n/\nsum(\n kube_pod_container_resource_limits{container!=\"POD\", cluster=\"$cluster\", pod=\"$workspace\", resource=\"memory\"}\n) by (pod)\n",628"format": "time_series",629"intervalFactor": 2,630"legendFormat": "Memory Saturation",631"refId": "A"632}633],634"thresholds": [],635"timeRegions": [],636"title": "Memory Saturation",637"tooltip": {638"shared": true,639"sort": 0,640"value_type": "individual"641},642"type": "graph",643"xaxis": {644"mode": "time",645"show": true,646"values": []647},648"yaxes": [649{650"format": "percentunit",651"logBase": 1,652"min": 0,653"show": true654},655{656"format": "s",657"logBase": 1,658"min": 0,659"show": true660}661],662"yaxis": {663"align": false664}665},666{667"aliasColors": {},668"bars": false,669"dashLength": 10,670"dashes": false,671"datasource": {672"uid": "$datasource"673},674"fill": 1,675"fillGradient": 5,676"gridPos": {677"h": 7,678"w": 8,679"x": 0,680"y": 19681},682"hiddenSeries": false,683"id": 9,684"legend": {685"alignAsTable": false,686"avg": false,687"current": false,688"max": false,689"min": false,690"rightSide": false,691"show": true,692"total": false,693"values": false694},695"lines": true,696"linewidth": 1,697"links": [],698"nullPointMode": "null",699"options": {700"alertThreshold": true701},702"percentage": false,703"pluginVersion": "9.1.5",704"pointradius": 5,705"points": false,706"renderer": "flot",707"seriesOverrides": [],708"spaceLength": 10,709"stack": false,710"steppedLine": false,711"targets": [712{713"datasource": {714"uid": "$datasource"715},716"expr": "sum (\n rate(container_network_receive_bytes_total{container!=\"POD\", pod!=\"\", cluster=\"$cluster\", pod=\"$workspace\"}[$__rate_interval])\n) by (pod)\n",717"format": "time_series",718"intervalFactor": 2,719"legendFormat": "Received",720"refId": "A"721},722{723"datasource": {724"uid": "$datasource"725},726"expr": "sum (\n rate(container_network_transmit_bytes_total{container!=\"POD\", pod!=\"\", cluster=\"$cluster\", pod=\"$workspace\"}[$__rate_interval])\n) by (pod)\n",727"format": "time_series",728"intervalFactor": 2,729"legendFormat": "Transmitted",730"refId": "B"731}732],733"thresholds": [],734"timeRegions": [],735"title": "Network Utilization",736"tooltip": {737"shared": true,738"sort": 0,739"value_type": "individual"740},741"type": "graph",742"xaxis": {743"mode": "time",744"show": true,745"values": []746},747"yaxes": [748{749"format": "Bps",750"logBase": 1,751"min": 0,752"show": true753},754{755"format": "Bps",756"logBase": 1,757"min": 0,758"show": true759}760],761"yaxis": {762"align": false763}764},765{766"aliasColors": {},767"bars": false,768"dashLength": 10,769"dashes": false,770"datasource": {771"uid": "$datasource"772},773"fill": 1,774"fillGradient": 5,775"gridPos": {776"h": 7,777"w": 8,778"x": 8,779"y": 19780},781"hiddenSeries": false,782"id": 10,783"legend": {784"alignAsTable": false,785"avg": false,786"current": false,787"max": false,788"min": false,789"rightSide": false,790"show": true,791"total": false,792"values": false793},794"lines": true,795"linewidth": 1,796"links": [],797"nullPointMode": "null",798"options": {799"alertThreshold": true800},801"percentage": false,802"pluginVersion": "9.1.5",803"pointradius": 5,804"points": false,805"renderer": "flot",806"seriesOverrides": [],807"spaceLength": 10,808"stack": false,809"steppedLine": false,810"targets": [811{812"datasource": {813"uid": "$datasource"814},815"expr": "sum (\n rate(container_network_receive_packets_dropped_total{container!=\"POD\", pod!=\"\", cluster=\"$cluster\", pod=\"$workspace\"}[$__rate_interval])\n) by (pod)\n",816"format": "time_series",817"intervalFactor": 2,818"legendFormat": "While Receiving",819"refId": "A"820},821{822"datasource": {823"uid": "$datasource"824},825"expr": "sum (\n rate(container_network_transmit_packets_dropped_total{container!=\"POD\", pod!=\"\", cluster=\"$cluster\", pod=\"$workspace\"}[$__rate_interval])\n) by (pod)\n",826"format": "time_series",827"intervalFactor": 2,828"legendFormat": "While Transmitting",829"refId": "B"830}831],832"thresholds": [],833"timeRegions": [],834"title": "Network Saturation (Packets dropped)",835"tooltip": {836"shared": true,837"sort": 0,838"value_type": "individual"839},840"type": "graph",841"xaxis": {842"mode": "time",843"show": true,844"values": []845},846"yaxes": [847{848"format": "pps",849"logBase": 1,850"min": 0,851"show": true852},853{854"format": "pps",855"logBase": 1,856"min": 0,857"show": true858}859],860"yaxis": {861"align": false862}863},864{865"aliasColors": {},866"bars": false,867"dashLength": 10,868"dashes": false,869"datasource": {870"uid": "$datasource"871},872"fill": 1,873"fillGradient": 5,874"gridPos": {875"h": 7,876"w": 8,877"x": 16,878"y": 19879},880"hiddenSeries": false,881"id": 11,882"legend": {883"alignAsTable": false,884"avg": false,885"current": false,886"max": false,887"min": false,888"rightSide": false,889"show": true,890"total": false,891"values": false892},893"lines": true,894"linewidth": 1,895"links": [],896"nullPointMode": "null",897"options": {898"alertThreshold": true899},900"percentage": false,901"pluginVersion": "9.1.5",902"pointradius": 5,903"points": false,904"renderer": "flot",905"seriesOverrides": [],906"spaceLength": 10,907"stack": false,908"steppedLine": false,909"targets": [910{911"datasource": {912"uid": "$datasource"913},914"expr": "sum (\n rate(container_network_receive_errors_total{container!=\"POD\", pod!=\"\", cluster=\"$cluster\", pod=\"$workspace\"}[$__rate_interval])\n) by (pod)\n",915"format": "time_series",916"intervalFactor": 2,917"legendFormat": "While Receiving",918"refId": "A"919},920{921"datasource": {922"uid": "$datasource"923},924"expr": "sum (\n rate(container_network_transmit_errors_total{container!=\"POD\", pod!=\"\", cluster=\"$cluster\", pod=\"$workspace\"}[$__rate_interval])\n) by (pod)\n",925"format": "time_series",926"intervalFactor": 2,927"legendFormat": "While Transmitting",928"refId": "B"929}930],931"thresholds": [],932"timeRegions": [],933"title": "Network Errors",934"tooltip": {935"shared": true,936"sort": 0,937"value_type": "individual"938},939"type": "graph",940"xaxis": {941"mode": "time",942"show": true,943"values": []944},945"yaxes": [946{947"format": "errors/s",948"logBase": 1,949"min": 0,950"show": true951},952{953"format": "errors/s",954"logBase": 1,955"min": 0,956"show": true957}958],959"yaxis": {960"align": false961}962}963],964"refresh": "30s",965"schemaVersion": 37,966"style": "dark",967"tags": [968"gitpod-mixin"969],970"templating": {971"list": [972{973"current": {974"selected": false,975"text": "VictoriaMetrics",976"value": "VictoriaMetrics"977},978"hide": 0,979"includeAll": false,980"multi": false,981"name": "datasource",982"options": [],983"query": "prometheus",984"refresh": 1,985"regex": "",986"skipUrlSync": false,987"type": "datasource"988},989{990"current": {},991"datasource": {992"uid": "$datasource"993},994"definition": "",995"hide": 0,996"includeAll": false,997"multi": false,998"name": "cluster",999"options": [],1000"query": {1001"query": "label_values(container_cpu_usage_seconds_total, cluster)",1002"refId": "VictoriaMetrics-cluster-Variable-Query"1003},1004"refresh": 2,1005"regex": "",1006"skipUrlSync": false,1007"sort": 1,1008"tagValuesQuery": "",1009"tagsQuery": "",1010"type": "query",1011"useTags": false1012},1013{1014"current": {},1015"datasource": {1016"uid": "$datasource"1017},1018"definition": "",1019"hide": 0,1020"includeAll": false,1021"multi": false,1022"name": "node",1023"options": [],1024"query": {1025"query": "label_values(kube_node_labels{cluster=~\"$cluster\", nodepool=\"workspace-pool\"}, node)",1026"refId": "VictoriaMetrics-node-Variable-Query"1027},1028"refresh": 2,1029"regex": "",1030"skipUrlSync": false,1031"sort": 1,1032"tagValuesQuery": "",1033"tagsQuery": "",1034"type": "query",1035"useTags": false1036},1037{1038"current": {},1039"datasource": {1040"uid": "$datasource"1041},1042"definition": "",1043"hide": 0,1044"includeAll": false,1045"multi": false,1046"name": "workspace",1047"options": [],1048"query": {1049"query": "label_values(kube_pod_labels{cluster=~\"$cluster\",component=\"workspace\"}, pod)",1050"refId": "VictoriaMetrics-workspace-Variable-Query"1051},1052"refresh": 2,1053"regex": "",1054"skipUrlSync": false,1055"sort": 1,1056"tagValuesQuery": "",1057"tagsQuery": "",1058"type": "query",1059"useTags": false1060}1061]1062},1063"time": {1064"from": "now-1h",1065"to": "now"1066},1067"timepicker": {1068"refresh_intervals": [1069"5s",1070"10s",1071"30s",1072"1m",1073"5m",1074"15m",1075"30m",1076"1h",1077"2h",1078"1d"1079],1080"time_options": [1081"5m",1082"15m",1083"1h",1084"6h",1085"12h",1086"24h",1087"2d",1088"7d",1089"30d"1090]1091},1092"timezone": "utc",1093"title": "Gitpod / Admin / Workspace",1094"uid": "gitpod-admin-workspaces",1095"version": 1,1096"weekStart": ""1097}109810991100