Path: blob/main/operations/observability/mixins/workspace/dashboards/components/ws-daemon.json
2506 views
{1"annotations": {2"list": [3{4"builtIn": 1,5"datasource": {6"type": "datasource",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": 1,26"id": null,27"links": [],28"liveNow": false,29"panels": [30{31"collapsed": false,32"gridPos": {33"h": 1,34"w": 24,35"x": 0,36"y": 037},38"id": 65,39"panels": [],40"title": "Controller Manager",41"type": "row"42},43{44"aliasColors": {},45"bars": false,46"dashLength": 10,47"dashes": false,48"datasource": {49"type": "prometheus",50"uid": "$datasource"51},52"fieldConfig": {53"defaults": {54"links": []55},56"overrides": []57},58"fill": 1,59"fillGradient": 0,60"gridPos": {61"h": 9,62"w": 8,63"x": 0,64"y": 165},66"hiddenSeries": false,67"id": 67,68"legend": {69"alignAsTable": true,70"avg": false,71"current": true,72"max": false,73"min": false,74"rightSide": false,75"show": true,76"total": false,77"values": true78},79"lines": true,80"linewidth": 1,81"links": [],82"nullPointMode": "null",83"options": {84"alertThreshold": true85},86"percentage": false,87"pluginVersion": "9.5.2",88"pointradius": 5,89"points": false,90"renderer": "flot",91"seriesOverrides": [],92"spaceLength": 10,93"stack": false,94"steppedLine": false,95"targets": [96{97"datasource": {98"uid": "$datasource"99},100"editorMode": "code",101"expr": "topk(20, sum(rate(workqueue_adds_total{job=\"ws-daemon\", pod=~\"$pod\", name=~\"$controller\"}[5m])) by (cluster, pod, name))",102"format": "time_series",103"intervalFactor": 2,104"legendFormat": "{{cluster}} - {{pod}} - {{name}}",105"range": true,106"refId": "A"107}108],109"thresholds": [],110"timeRegions": [],111"title": "Work Queue Add Rate",112"tooltip": {113"shared": false,114"sort": 0,115"value_type": "individual"116},117"type": "graph",118"xaxis": {119"mode": "time",120"show": true,121"values": []122},123"yaxes": [124{125"$$hashKey": "object:123",126"format": "ops",127"logBase": 1,128"show": true129},130{131"$$hashKey": "object:124",132"format": "ops",133"logBase": 1,134"show": true135}136],137"yaxis": {138"align": false139}140},141{142"aliasColors": {},143"bars": false,144"dashLength": 10,145"dashes": false,146"datasource": {147"type": "prometheus",148"uid": "$datasource"149},150"fieldConfig": {151"defaults": {152"links": []153},154"overrides": []155},156"fill": 1,157"fillGradient": 0,158"gridPos": {159"h": 9,160"w": 8,161"x": 8,162"y": 1163},164"hiddenSeries": false,165"id": 69,166"legend": {167"alignAsTable": true,168"avg": false,169"current": true,170"max": false,171"min": false,172"rightSide": false,173"show": true,174"total": false,175"values": true176},177"lines": true,178"linewidth": 1,179"links": [],180"nullPointMode": "null",181"options": {182"alertThreshold": true183},184"percentage": false,185"pluginVersion": "9.5.2",186"pointradius": 5,187"points": false,188"renderer": "flot",189"seriesOverrides": [],190"spaceLength": 10,191"stack": false,192"steppedLine": false,193"targets": [194{195"datasource": {196"uid": "$datasource"197},198"editorMode": "code",199"expr": "topk(20, sum(workqueue_depth{job=\"ws-daemon\", cluster=~\"$cluster\", name=~\"$controller\"}) by (cluster, pod, name))",200"format": "time_series",201"intervalFactor": 2,202"legendFormat": "{{cluster}} - {{pod}} - {{name}}",203"range": true,204"refId": "A"205}206],207"thresholds": [],208"timeRegions": [],209"title": "Work Queue Depth",210"tooltip": {211"shared": false,212"sort": 0,213"value_type": "individual"214},215"type": "graph",216"xaxis": {217"mode": "time",218"show": true,219"values": []220},221"yaxes": [222{223"$$hashKey": "object:123",224"format": "none",225"logBase": 1,226"min": "0",227"show": true228},229{230"$$hashKey": "object:124",231"format": "ops",232"logBase": 1,233"show": true234}235],236"yaxis": {237"align": false238}239},240{241"datasource": {242"type": "prometheus",243"uid": "$datasource"244},245"fieldConfig": {246"defaults": {247"custom": {248"hideFrom": {249"legend": false,250"tooltip": false,251"viz": false252},253"scaleDistribution": {254"type": "linear"255}256},257"links": []258},259"overrides": []260},261"gridPos": {262"h": 9,263"w": 8,264"x": 16,265"y": 1266},267"id": 71,268"links": [],269"options": {270"calculate": false,271"cellGap": 1,272"color": {273"exponent": 0.5,274"fill": "dark-orange",275"mode": "scheme",276"reverse": false,277"scale": "exponential",278"scheme": "Spectral",279"steps": 64280},281"exemplars": {282"color": "rgba(255,0,255,0.7)"283},284"filterValues": {285"le": 1e-9286},287"legend": {288"show": true289},290"rowsFrame": {291"layout": "auto"292},293"tooltip": {294"show": true,295"yHistogram": false296},297"yAxis": {298"axisPlacement": "left",299"reverse": false,300"unit": "s"301}302},303"pluginVersion": "9.5.2",304"targets": [305{306"datasource": {307"uid": "$datasource"308},309"editorMode": "code",310"expr": "sum(rate(workqueue_queue_duration_seconds_bucket{job=\"ws-daemon\", pod=~\"$pod\", name=~\"$controller\"}[$__rate_interval])) by (le)",311"format": "heatmap",312"intervalFactor": 2,313"legendFormat": "__auto",314"range": true,315"refId": "A"316}317],318"title": "Work Queue Latency",319"type": "heatmap"320},321{322"aliasColors": {},323"bars": false,324"dashLength": 10,325"dashes": false,326"datasource": {327"type": "prometheus",328"uid": "$datasource"329},330"fieldConfig": {331"defaults": {332"links": []333},334"overrides": []335},336"fill": 1,337"fillGradient": 0,338"gridPos": {339"h": 9,340"w": 8,341"x": 0,342"y": 10343},344"hiddenSeries": false,345"id": 73,346"legend": {347"alignAsTable": false,348"avg": false,349"current": false,350"max": false,351"min": false,352"rightSide": false,353"show": true,354"total": false,355"values": false356},357"lines": true,358"linewidth": 1,359"links": [],360"nullPointMode": "null",361"options": {362"alertThreshold": true363},364"percentage": false,365"pluginVersion": "9.5.2",366"pointradius": 5,367"points": false,368"renderer": "flot",369"seriesOverrides": [],370"spaceLength": 10,371"stack": false,372"steppedLine": false,373"targets": [374{375"datasource": {376"uid": "$datasource"377},378"editorMode": "code",379"expr": "sum(rate(rest_client_requests_total{job=\"ws-daemon\", pod=~\"$pod\",code=~\"2..\"}[5m]))",380"format": "time_series",381"intervalFactor": 2,382"legendFormat": "2xx",383"range": true,384"refId": "A"385},386{387"datasource": {388"uid": "$datasource"389},390"editorMode": "code",391"expr": "sum(rate(rest_client_requests_total{job=\"ws-daemon\", pod=~\"$pod\",code=~\"3..\"}[5m]))",392"format": "time_series",393"intervalFactor": 2,394"legendFormat": "3xx",395"range": true,396"refId": "B"397},398{399"datasource": {400"uid": "$datasource"401},402"editorMode": "code",403"expr": "sum(rate(rest_client_requests_total{job=\"ws-daemon\", pod=~\"$pod\",code=~\"4..\"}[5m]))",404"format": "time_series",405"intervalFactor": 2,406"legendFormat": "4xx",407"range": true,408"refId": "C"409},410{411"datasource": {412"uid": "$datasource"413},414"editorMode": "code",415"expr": "sum(rate(rest_client_requests_total{job=\"ws-daemon\", pod=~\"$pod\",code=~\"5..\"}[5m]))",416"format": "time_series",417"intervalFactor": 2,418"legendFormat": "5xx",419"range": true,420"refId": "D"421}422],423"thresholds": [],424"timeRegions": [],425"title": "Kube API Request Rate",426"tooltip": {427"shared": false,428"sort": 0,429"value_type": "individual"430},431"type": "graph",432"xaxis": {433"mode": "time",434"show": true,435"values": []436},437"yaxes": [438{439"$$hashKey": "object:705",440"format": "ops",441"logBase": 1,442"show": true443},444{445"$$hashKey": "object:706",446"format": "ops",447"logBase": 1,448"show": true449}450],451"yaxis": {452"align": false453}454},455{456"datasource": {457"type": "prometheus",458"uid": "$datasource"459},460"fieldConfig": {461"defaults": {462"color": {463"mode": "palette-classic"464},465"custom": {466"axisCenteredZero": false,467"axisColorMode": "text",468"axisLabel": "",469"axisPlacement": "auto",470"barAlignment": 0,471"drawStyle": "line",472"fillOpacity": 10,473"gradientMode": "none",474"hideFrom": {475"legend": false,476"tooltip": false,477"viz": false478},479"lineInterpolation": "linear",480"lineWidth": 1,481"pointSize": 5,482"scaleDistribution": {483"type": "linear"484},485"showPoints": "never",486"spanNulls": false,487"stacking": {488"group": "A",489"mode": "none"490},491"thresholdsStyle": {492"mode": "off"493}494},495"links": [],496"mappings": [],497"min": 0,498"thresholds": {499"mode": "absolute",500"steps": [501{502"color": "green",503"value": null504},505{506"color": "red",507"value": 80508}509]510},511"unit": "short"512},513"overrides": [514{515"matcher": {516"id": "byRegexp",517"options": ".*error"518},519"properties": [520{521"id": "color",522"value": {523"fixedColor": "red",524"mode": "fixed"525}526}527]528},529{530"matcher": {531"id": "byRegexp",532"options": ".*requeue.*"533},534"properties": [535{536"id": "color",537"value": {538"fixedColor": "blue",539"mode": "fixed"540}541}542]543},544{545"matcher": {546"id": "byRegexp",547"options": ".*success"548},549"properties": [550{551"id": "color",552"value": {553"fixedColor": "green",554"mode": "fixed"555}556}557]558}559]560},561"gridPos": {562"h": 9,563"w": 8,564"x": 8,565"y": 10566},567"id": 75,568"links": [],569"options": {570"legend": {571"calcs": [572"lastNotNull"573],574"displayMode": "table",575"placement": "bottom",576"showLegend": true577},578"tooltip": {579"mode": "single",580"sort": "none"581}582},583"pluginVersion": "9.3.6",584"targets": [585{586"datasource": {587"uid": "$datasource"588},589"editorMode": "code",590"expr": "topk(20, sum(rate(controller_runtime_reconcile_total{job=\"ws-daemon\", pod=~\"$pod\", controller=~\"$controller\"}[5m])) by (cluster, pod, controller, result))",591"format": "time_series",592"intervalFactor": 2,593"legendFormat": "{{cluster}} - {{pod}} - {{controller}} - {{result}}",594"range": true,595"refId": "A"596}597],598"title": "Reconciliations",599"type": "timeseries"600},601{602"datasource": {603"type": "prometheus",604"uid": "$datasource"605},606"fieldConfig": {607"defaults": {608"custom": {609"hideFrom": {610"legend": false,611"tooltip": false,612"viz": false613},614"scaleDistribution": {615"type": "linear"616}617},618"links": []619},620"overrides": []621},622"gridPos": {623"h": 9,624"w": 8,625"x": 16,626"y": 10627},628"id": 77,629"links": [],630"options": {631"calculate": false,632"cellGap": 1,633"color": {634"exponent": 0.5,635"fill": "dark-orange",636"mode": "scheme",637"reverse": false,638"scale": "exponential",639"scheme": "Spectral",640"steps": 64641},642"exemplars": {643"color": "rgba(255,0,255,0.7)"644},645"filterValues": {646"le": 1e-9647},648"legend": {649"show": true650},651"rowsFrame": {652"layout": "auto"653},654"tooltip": {655"show": true,656"yHistogram": false657},658"yAxis": {659"axisPlacement": "left",660"reverse": false,661"unit": "s"662}663},664"pluginVersion": "9.5.2",665"targets": [666{667"datasource": {668"uid": "$datasource"669},670"editorMode": "code",671"expr": "sum(rate(workqueue_work_duration_seconds_bucket{job=\"ws-daemon\", pod=~\"$pod\", name=~\"$controller\"}[$__rate_interval])) by (le)",672"format": "heatmap",673"intervalFactor": 2,674"legendFormat": "__auto",675"range": true,676"refId": "A"677}678],679"title": "Reconcile Work Duration",680"type": "heatmap"681},682{683"datasource": {684"type": "prometheus",685"uid": "$datasource"686},687"fieldConfig": {688"defaults": {689"color": {690"mode": "palette-classic"691},692"custom": {693"axisCenteredZero": false,694"axisColorMode": "text",695"axisLabel": "",696"axisPlacement": "auto",697"barAlignment": 0,698"drawStyle": "line",699"fillOpacity": 10,700"gradientMode": "none",701"hideFrom": {702"legend": false,703"tooltip": false,704"viz": false705},706"lineInterpolation": "linear",707"lineWidth": 1,708"pointSize": 5,709"scaleDistribution": {710"type": "linear"711},712"showPoints": "never",713"spanNulls": false,714"stacking": {715"group": "A",716"mode": "none"717},718"thresholdsStyle": {719"mode": "off"720}721},722"links": [],723"mappings": [],724"min": 0,725"thresholds": {726"mode": "absolute",727"steps": [728{729"color": "green",730"value": null731},732{733"color": "red",734"value": 80735}736]737},738"unit": "s"739},740"overrides": [741{742"matcher": {743"id": "byRegexp",744"options": ".*error"745},746"properties": [747{748"id": "color",749"value": {750"fixedColor": "red",751"mode": "fixed"752}753}754]755},756{757"matcher": {758"id": "byRegexp",759"options": ".*requeue.*"760},761"properties": [762{763"id": "color",764"value": {765"fixedColor": "blue",766"mode": "fixed"767}768}769]770},771{772"matcher": {773"id": "byRegexp",774"options": ".*success"775},776"properties": [777{778"id": "color",779"value": {780"fixedColor": "green",781"mode": "fixed"782}783}784]785}786]787},788"gridPos": {789"h": 9,790"w": 8,791"x": 0,792"y": 19793},794"id": 78,795"links": [],796"options": {797"legend": {798"calcs": [799"lastNotNull"800],801"displayMode": "table",802"placement": "bottom",803"showLegend": true804},805"tooltip": {806"mode": "single",807"sort": "none"808}809},810"pluginVersion": "9.3.6",811"targets": [812{813"datasource": {814"type": "prometheus",815"uid": "$datasource"816},817"editorMode": "code",818"expr": "topk(20, max(workqueue_longest_running_processor_seconds{job=\"ws-daemon\", pod=~\"$pod\", name=~\"$controller\"}) by (cluster, pod, name))",819"hide": false,820"legendFormat": "{{cluster}} - {{pod}} - {{name}}",821"range": true,822"refId": "B"823}824],825"title": "Longest running reconciliation",826"type": "timeseries"827},828{829"collapsed": true,830"datasource": {831"type": "datasource",832"uid": "grafana"833},834"gridPos": {835"h": 1,836"w": 24,837"x": 0,838"y": 28839},840"id": 52,841"panels": [842{843"aliasColors": {},844"bars": false,845"dashLength": 10,846"dashes": false,847"datasource": {848"uid": "$datasource"849},850"description": "",851"fieldConfig": {852"defaults": {853"custom": {},854"links": []855},856"overrides": []857},858"fill": 1,859"fillGradient": 0,860"gridPos": {861"h": 9,862"w": 12,863"x": 0,864"y": 57865},866"hiddenSeries": false,867"id": 54,868"legend": {869"alignAsTable": true,870"avg": false,871"current": true,872"max": true,873"min": false,874"show": true,875"total": false,876"values": true877},878"lines": true,879"linewidth": 1,880"links": [],881"nullPointMode": "null",882"options": {883"alertThreshold": true884},885"percentage": false,886"pluginVersion": "7.4.3",887"pointradius": 2,888"points": false,889"renderer": "flot",890"repeatDirection": "h",891"seriesOverrides": [],892"spaceLength": 10,893"stack": false,894"steppedLine": false,895"targets": [896{897"datasource": {898"uid": "$datasource"899},900"expr": "sum(rate(grpc_server_handled_total{job=\"ws-daemon\", cluster=~\"$cluster\", grpc_method=~\"$grpc_method\"}[1m])) by (grpc_code, grpc_method, cluster)",901"interval": "",902"legendFormat": "{{cluster}} - {{grpc_method}} - {{grpc_code}}",903"queryType": "randomWalk",904"refId": "A"905}906],907"thresholds": [],908"timeRegions": [],909"title": "gRPC calls handled (Server-side)",910"tooltip": {911"shared": true,912"sort": 2,913"value_type": "individual"914},915"type": "graph",916"xaxis": {917"mode": "time",918"show": true,919"values": []920},921"yaxes": [922{923"decimals": 2,924"format": "reqps",925"logBase": 1,926"min": "0",927"show": true928},929{930"format": "reqps",931"logBase": 1,932"show": true933}934],935"yaxis": {936"align": false937}938},939{940"aliasColors": {},941"bars": false,942"dashLength": 10,943"dashes": false,944"datasource": {945"uid": "$datasource"946},947"description": "",948"fieldConfig": {949"defaults": {950"custom": {},951"links": []952},953"overrides": []954},955"fill": 1,956"fillGradient": 0,957"gridPos": {958"h": 9,959"w": 12,960"x": 12,961"y": 57962},963"hiddenSeries": false,964"id": 56,965"legend": {966"alignAsTable": true,967"avg": false,968"current": true,969"max": true,970"min": false,971"show": true,972"total": false,973"values": true974},975"lines": true,976"linewidth": 1,977"links": [978{979"targetBlank": true,980"title": "How avg help us configure representative Prometheus histogram buckets",981"url": "https://youtu.be/zk77VS98Em8?t=908"982}983],984"nullPointMode": "null",985"options": {986"alertThreshold": true987},988"percentage": false,989"pluginVersion": "7.4.3",990"pointradius": 2,991"points": false,992"renderer": "flot",993"repeatDirection": "h",994"seriesOverrides": [],995"spaceLength": 10,996"stack": false,997"steppedLine": false,998"targets": [999{1000"datasource": {1001"uid": "$datasource"1002},1003"expr": "sum(rate(grpc_server_started_total{job=\"ws-daemon\", cluster=~\"$cluster\", grpc_method=~\"$grpc_method\"}[1m])) by (grpc_code, grpc_method, cluster)",1004"interval": "",1005"legendFormat": "{{cluster}} - {{grpc_method}} - Started",1006"queryType": "randomWalk",1007"refId": "A"1008},1009{1010"datasource": {1011"uid": "$datasource"1012},1013"expr": "sum(rate(grpc_server_handled_total{job=\"ws-daemon\", cluster=~\"$cluster\", grpc_method=~\"$grpc_method\"}[1m])) by (grpc_method, cluster)",1014"hide": false,1015"interval": "",1016"legendFormat": "{{cluster}} - {{grpc_method}} - Finished",1017"queryType": "randomWalk",1018"refId": "B"1019}1020],1021"thresholds": [],1022"timeRegions": [],1023"title": "gRPC start and finish rate",1024"tooltip": {1025"shared": true,1026"sort": 2,1027"value_type": "individual"1028},1029"type": "graph",1030"xaxis": {1031"mode": "time",1032"show": true,1033"values": []1034},1035"yaxes": [1036{1037"decimals": 2,1038"format": "reqps",1039"logBase": 1,1040"min": "0",1041"show": true1042},1043{1044"format": "reqps",1045"logBase": 1,1046"show": true1047}1048],1049"yaxis": {1050"align": false1051}1052},1053{1054"aliasColors": {},1055"bars": false,1056"dashLength": 10,1057"dashes": false,1058"datasource": {1059"uid": "$datasource"1060},1061"description": "",1062"fieldConfig": {1063"defaults": {1064"custom": {},1065"links": []1066},1067"overrides": []1068},1069"fill": 1,1070"fillGradient": 0,1071"gridPos": {1072"h": 9,1073"w": 12,1074"x": 0,1075"y": 661076},1077"hiddenSeries": false,1078"id": 58,1079"legend": {1080"alignAsTable": true,1081"avg": false,1082"current": true,1083"max": true,1084"min": false,1085"show": true,1086"total": false,1087"values": true1088},1089"lines": true,1090"linewidth": 1,1091"links": [],1092"maxPerRow": 2,1093"nullPointMode": "null",1094"options": {1095"alertThreshold": true1096},1097"percentage": false,1098"pluginVersion": "7.4.3",1099"pointradius": 2,1100"points": false,1101"renderer": "flot",1102"repeat": "grpc_method",1103"repeatDirection": "h",1104"seriesOverrides": [],1105"spaceLength": 10,1106"stack": false,1107"steppedLine": false,1108"targets": [1109{1110"datasource": {1111"uid": "$datasource"1112},1113"expr": "histogram_quantile(0.99, \n sum(\n rate(grpc_server_handling_seconds_bucket{job=\"ws-daemon\", cluster=~\"$cluster\", grpc_method=~\"$grpc_method\"}[5m])\n ) by (cluster, grpc_method, le)\n)",1114"interval": "",1115"legendFormat": "{{cluster}} - {{grpc_method}} - 99th Percentile",1116"queryType": "randomWalk",1117"refId": "A"1118},1119{1120"datasource": {1121"uid": "$datasource"1122},1123"expr": "histogram_quantile(0.95, \n sum(\n rate(grpc_server_handling_seconds_bucket{job=\"ws-daemon\", cluster=~\"$cluster\", grpc_method=~\"$grpc_method\"}[5m])\n ) by (cluster, grpc_method, le)\n)",1124"interval": "",1125"legendFormat": "{{cluster}} - {{grpc_method}} - 95th Percentile",1126"queryType": "randomWalk",1127"refId": "B"1128},1129{1130"datasource": {1131"uid": "$datasource"1132},1133"expr": "histogram_quantile(0.50, \n sum(\n rate(grpc_server_handling_seconds_bucket{job=\"ws-daemon\", cluster=~\"$cluster\", grpc_method=~\"$grpc_method\"}[5m])\n ) by (cluster, grpc_method, le)\n)",1134"interval": "",1135"legendFormat": "{{cluster}} - {{grpc_method}} - 50th Percentile",1136"queryType": "randomWalk",1137"refId": "C"1138},1139{1140"datasource": {1141"uid": "$datasource"1142},1143"expr": " sum(\n rate(grpc_server_handling_seconds_sum{job=\"ws-daemon\", cluster=~\"$cluster\", grpc_method=\"$grpc_method\"}[5m])\n ) by (cluster, grpc_method)\n /\n sum(\n rate(grpc_server_handling_seconds_count{job=\"ws-daemon\", cluster=~\"$cluster\", grpc_method=\"$grpc_method\"}[5m])\n ) by (cluster, grpc_method)",1144"hide": false,1145"interval": "",1146"legendFormat": "{{cluster}} - {{grpc_method}} - avg",1147"queryType": "randomWalk",1148"refId": "D"1149}1150],1151"thresholds": [],1152"timeRegions": [],1153"title": "$grpc_method: Time handling gRPC calls",1154"tooltip": {1155"shared": true,1156"sort": 0,1157"value_type": "individual"1158},1159"type": "graph",1160"xaxis": {1161"mode": "time",1162"show": true,1163"values": []1164},1165"yaxes": [1166{1167"format": "s",1168"logBase": 1,1169"min": "0",1170"show": true1171},1172{1173"format": "reqps",1174"logBase": 1,1175"show": true1176}1177],1178"yaxis": {1179"align": false1180}1181}1182],1183"targets": [1184{1185"datasource": {1186"type": "datasource",1187"uid": "grafana"1188},1189"refId": "A"1190}1191],1192"title": "gRPC Metrics",1193"type": "row"1194},1195{1196"collapsed": false,1197"datasource": {1198"type": "datasource",1199"uid": "grafana"1200},1201"gridPos": {1202"h": 1,1203"w": 24,1204"x": 0,1205"y": 291206},1207"id": 16,1208"panels": [],1209"targets": [1210{1211"datasource": {1212"type": "datasource",1213"uid": "grafana"1214},1215"refId": "A"1216}1217],1218"title": "Pod Metrics",1219"type": "row"1220},1221{1222"datasource": {1223"uid": "$datasource"1224},1225"fieldConfig": {1226"defaults": {1227"color": {1228"mode": "palette-classic"1229},1230"custom": {1231"axisCenteredZero": false,1232"axisColorMode": "text",1233"axisLabel": "",1234"axisPlacement": "auto",1235"barAlignment": 0,1236"drawStyle": "line",1237"fillOpacity": 0,1238"gradientMode": "none",1239"hideFrom": {1240"legend": false,1241"tooltip": false,1242"viz": false1243},1244"lineInterpolation": "linear",1245"lineWidth": 1,1246"pointSize": 5,1247"scaleDistribution": {1248"type": "linear"1249},1250"showPoints": "auto",1251"spanNulls": false,1252"stacking": {1253"group": "A",1254"mode": "none"1255},1256"thresholdsStyle": {1257"mode": "off"1258}1259},1260"mappings": [],1261"thresholds": {1262"mode": "absolute",1263"steps": [1264{1265"color": "green",1266"value": null1267},1268{1269"color": "red",1270"value": 801271}1272]1273}1274},1275"overrides": []1276},1277"gridPos": {1278"h": 7,1279"w": 10,1280"x": 0,1281"y": 301282},1283"id": 63,1284"options": {1285"legend": {1286"calcs": [],1287"displayMode": "table",1288"placement": "right",1289"showLegend": true1290},1291"tooltip": {1292"mode": "single",1293"sort": "none"1294}1295},1296"targets": [1297{1298"datasource": {1299"uid": "$datasource"1300},1301"exemplar": true,1302"expr": "kube_pod_container_info{cluster=~\"$cluster\", pod=~\"$pod\", image=~\".+\", container=\"ws-daemon\"}",1303"interval": "",1304"legendFormat": "{{cluster}} - {{image}}",1305"queryType": "randomWalk",1306"refId": "A"1307}1308],1309"title": "Container image version",1310"type": "timeseries"1311},1312{1313"aliasColors": {},1314"bars": false,1315"dashLength": 10,1316"dashes": false,1317"datasource": {1318"uid": "$datasource"1319},1320"decimals": 2,1321"fill": 1,1322"fillGradient": 0,1323"gridPos": {1324"h": 7,1325"w": 7,1326"x": 10,1327"y": 301328},1329"hiddenSeries": false,1330"id": 2,1331"legend": {1332"alignAsTable": true,1333"avg": true,1334"current": true,1335"max": true,1336"min": false,1337"show": true,1338"sort": "current",1339"sortDesc": true,1340"total": false,1341"values": true1342},1343"lines": true,1344"linewidth": 1,1345"nullPointMode": "null",1346"options": {1347"alertThreshold": true1348},1349"percentage": false,1350"pluginVersion": "9.5.2",1351"pointradius": 2,1352"points": false,1353"renderer": "flot",1354"seriesOverrides": [],1355"spaceLength": 10,1356"stack": false,1357"steppedLine": false,1358"targets": [1359{1360"datasource": {1361"uid": "$datasource"1362},1363"expr": "sum(\n rate(container_cpu_usage_seconds_total{container!=\"POD\", pod!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod, cluster, node)",1364"interval": "",1365"legendFormat": "{{cluster}} - {{node}} - {{pod}} - Cores being used",1366"queryType": "randomWalk",1367"refId": "A"1368}1369],1370"thresholds": [],1371"timeRegions": [],1372"title": "CPU Utilization",1373"tooltip": {1374"shared": true,1375"sort": 2,1376"value_type": "individual"1377},1378"type": "graph",1379"xaxis": {1380"mode": "time",1381"show": true,1382"values": []1383},1384"yaxes": [1385{1386"$$hashKey": "object:564",1387"decimals": 2,1388"format": "short",1389"logBase": 1,1390"min": "0",1391"show": true1392},1393{1394"$$hashKey": "object:565",1395"format": "short",1396"logBase": 1,1397"show": true1398}1399],1400"yaxis": {1401"align": false1402}1403},1404{1405"aliasColors": {},1406"bars": false,1407"dashLength": 10,1408"dashes": false,1409"datasource": {1410"uid": "$datasource"1411},1412"description": "Saturation > 100% means that the container is requesting more than its limits.\n\nKubernetes will start to throttle CPU when that happens. That's a sign of degraded performance.\n\n'No Data' indicates that the pod has no CPU limits.",1413"fill": 1,1414"fillGradient": 0,1415"gridPos": {1416"h": 7,1417"w": 7,1418"x": 17,1419"y": 301420},1421"hiddenSeries": false,1422"id": 4,1423"legend": {1424"avg": false,1425"current": false,1426"max": false,1427"min": false,1428"show": true,1429"total": false,1430"values": false1431},1432"lines": true,1433"linewidth": 1,1434"nullPointMode": "null",1435"options": {1436"alertThreshold": true1437},1438"percentage": false,1439"pluginVersion": "9.5.2",1440"pointradius": 2,1441"points": false,1442"renderer": "flot",1443"seriesOverrides": [1444{1445"alias": "/.*CPU Throttles/",1446"yaxis": 21447}1448],1449"spaceLength": 10,1450"stack": false,1451"steppedLine": false,1452"targets": [1453{1454"datasource": {1455"uid": "$datasource"1456},1457"expr": "sum(\n rate(container_cpu_usage_seconds_total{container!=\"POD\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod, cluster, node)\n/\nsum(\n kube_pod_container_resource_limits_cpu_cores{container!=\"POD\", cluster=\"$cluster\", pod=~\"$pod\"}\n) by (pod, cluster, node)\n",1458"interval": "",1459"legendFormat": "{{cluster}} - {{node} - {{pod}} - CPU Saturation",1460"queryType": "randomWalk",1461"refId": "A"1462},1463{1464"datasource": {1465"uid": "$datasource"1466},1467"expr": "sum(\nrate(container_cpu_cfs_throttled_seconds_total{container!=\"POD\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod)",1468"interval": "",1469"legendFormat": "{{pod}} - CPU Throttles",1470"queryType": "randomWalk",1471"refId": "B"1472}1473],1474"thresholds": [],1475"timeRegions": [],1476"title": "CPU Saturation",1477"tooltip": {1478"shared": true,1479"sort": 2,1480"value_type": "individual"1481},1482"type": "graph",1483"xaxis": {1484"mode": "time",1485"show": true,1486"values": []1487},1488"yaxes": [1489{1490"decimals": 2,1491"format": "percentunit",1492"logBase": 1,1493"min": "0",1494"show": true1495},1496{1497"format": "s",1498"logBase": 1,1499"show": true1500}1501],1502"yaxis": {1503"align": false1504}1505},1506{1507"aliasColors": {},1508"bars": false,1509"dashLength": 10,1510"dashes": false,1511"datasource": {1512"uid": "$datasource"1513},1514"fill": 1,1515"fillGradient": 0,1516"gridPos": {1517"h": 7,1518"w": 12,1519"x": 0,1520"y": 371521},1522"hiddenSeries": false,1523"id": 6,1524"legend": {1525"alignAsTable": true,1526"avg": true,1527"current": true,1528"max": true,1529"min": false,1530"show": true,1531"total": false,1532"values": true1533},1534"lines": true,1535"linewidth": 1,1536"nullPointMode": "null",1537"options": {1538"alertThreshold": true1539},1540"percentage": false,1541"pluginVersion": "9.5.2",1542"pointradius": 2,1543"points": false,1544"renderer": "flot",1545"seriesOverrides": [],1546"spaceLength": 10,1547"stack": false,1548"steppedLine": false,1549"targets": [1550{1551"datasource": {1552"uid": "$datasource"1553},1554"expr": "sum(container_memory_working_set_bytes{container!=\"POD\", container!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}) by (pod, cluster, node)",1555"interval": "",1556"legendFormat": "{{cluster}} - {{node}} - {{pod}}",1557"queryType": "randomWalk",1558"refId": "A"1559}1560],1561"thresholds": [],1562"timeRegions": [],1563"title": "Memory Utilization",1564"tooltip": {1565"shared": true,1566"sort": 2,1567"value_type": "individual"1568},1569"type": "graph",1570"xaxis": {1571"mode": "time",1572"show": true,1573"values": []1574},1575"yaxes": [1576{1577"format": "bytes",1578"logBase": 1,1579"min": "0",1580"show": true1581},1582{1583"format": "short",1584"logBase": 1,1585"show": true1586}1587],1588"yaxis": {1589"align": false1590}1591},1592{1593"aliasColors": {},1594"bars": false,1595"dashLength": 10,1596"dashes": false,1597"datasource": {1598"uid": "$datasource"1599},1600"decimals": 4,1601"description": "Memory can't be throttled. When a container reaches 100% of its memory limits, Kubernetes will kill the container and restart it.\n\n'No Data' indicates that the pod doesn't have Memory limits.",1602"fill": 1,1603"fillGradient": 0,1604"gridPos": {1605"h": 7,1606"w": 12,1607"x": 12,1608"y": 371609},1610"hiddenSeries": false,1611"id": 8,1612"legend": {1613"alignAsTable": true,1614"avg": true,1615"current": true,1616"max": true,1617"min": false,1618"show": true,1619"total": false,1620"values": true1621},1622"lines": true,1623"linewidth": 1,1624"nullPointMode": "null",1625"options": {1626"alertThreshold": true1627},1628"percentage": false,1629"pluginVersion": "9.5.2",1630"pointradius": 2,1631"points": false,1632"renderer": "flot",1633"seriesOverrides": [],1634"spaceLength": 10,1635"stack": false,1636"steppedLine": false,1637"targets": [1638{1639"datasource": {1640"uid": "$datasource"1641},1642"expr": "sum(\nrate(container_memory_working_set_bytes{container!=\"POD\", container!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod, cluster, node)\n/\nsum(\n kube_pod_container_resource_limits{container!=\"POD\", cluster=\"$cluster\", pod=~\"$pod\", resource=\"memory\"}\n) by (pod, cluster, node)\n",1643"interval": "",1644"legendFormat": "{{cluster}} - {{node}} - {{pod}} - Memory Saturation",1645"queryType": "randomWalk",1646"refId": "A"1647}1648],1649"thresholds": [],1650"timeRegions": [],1651"title": "Memory Saturation",1652"tooltip": {1653"shared": true,1654"sort": 2,1655"value_type": "individual"1656},1657"type": "graph",1658"xaxis": {1659"mode": "time",1660"show": true,1661"values": []1662},1663"yaxes": [1664{1665"decimals": 2,1666"format": "percentunit",1667"logBase": 1,1668"min": "0",1669"show": true1670},1671{1672"format": "short",1673"logBase": 1,1674"show": true1675}1676],1677"yaxis": {1678"align": false1679}1680},1681{1682"aliasColors": {},1683"bars": false,1684"dashLength": 10,1685"dashes": false,1686"datasource": {1687"uid": "$datasource"1688},1689"fill": 1,1690"fillGradient": 0,1691"gridPos": {1692"h": 7,1693"w": 8,1694"x": 0,1695"y": 441696},1697"hiddenSeries": false,1698"id": 10,1699"legend": {1700"alignAsTable": true,1701"avg": false,1702"current": true,1703"max": false,1704"min": false,1705"show": true,1706"total": false,1707"values": true1708},1709"lines": true,1710"linewidth": 1,1711"nullPointMode": "null",1712"options": {1713"alertThreshold": true1714},1715"percentage": false,1716"pluginVersion": "9.5.2",1717"pointradius": 2,1718"points": false,1719"renderer": "flot",1720"seriesOverrides": [],1721"spaceLength": 10,1722"stack": false,1723"steppedLine": false,1724"targets": [1725{1726"datasource": {1727"uid": "$datasource"1728},1729"expr": "sum (\n rate(container_network_receive_bytes_total{container!=\"POD\", pod!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod, cluster, node)",1730"interval": "",1731"legendFormat": "{{cluster}} - {{node}} - {{pod}} - Received",1732"queryType": "randomWalk",1733"refId": "A"1734},1735{1736"datasource": {1737"uid": "$datasource"1738},1739"expr": "sum (\n rate(container_network_transmit_bytes_total{container!=\"POD\", pod!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod, cluster, node)",1740"interval": "",1741"legendFormat": "{{cluster}} - {{node}} - {{pod}} - Transmitted",1742"queryType": "randomWalk",1743"refId": "B"1744}1745],1746"thresholds": [],1747"timeRegions": [],1748"title": "Network Utilization",1749"tooltip": {1750"shared": true,1751"sort": 2,1752"value_type": "individual"1753},1754"type": "graph",1755"xaxis": {1756"mode": "time",1757"show": true,1758"values": []1759},1760"yaxes": [1761{1762"format": "binBps",1763"logBase": 1,1764"min": "0",1765"show": true1766},1767{1768"format": "short",1769"logBase": 1,1770"show": true1771}1772],1773"yaxis": {1774"align": false1775}1776},1777{1778"aliasColors": {},1779"bars": false,1780"dashLength": 10,1781"dashes": false,1782"datasource": {1783"uid": "$datasource"1784},1785"fill": 1,1786"fillGradient": 0,1787"gridPos": {1788"h": 7,1789"w": 8,1790"x": 8,1791"y": 441792},1793"hiddenSeries": false,1794"id": 44,1795"legend": {1796"alignAsTable": true,1797"avg": false,1798"current": true,1799"max": false,1800"min": false,1801"rightSide": false,1802"show": true,1803"total": false,1804"values": true1805},1806"lines": true,1807"linewidth": 1,1808"nullPointMode": "null",1809"options": {1810"alertThreshold": true1811},1812"percentage": false,1813"pluginVersion": "9.5.2",1814"pointradius": 2,1815"points": false,1816"renderer": "flot",1817"seriesOverrides": [],1818"spaceLength": 10,1819"stack": false,1820"steppedLine": false,1821"targets": [1822{1823"datasource": {1824"uid": "$datasource"1825},1826"expr": "sum (\n rate(container_network_receive_packets_dropped_total{container!=\"POD\", pod!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod, cluster, node)",1827"interval": "",1828"legendFormat": "{{cluster}} - {{node}} - {{pod}} - Receive",1829"queryType": "randomWalk",1830"refId": "A"1831},1832{1833"datasource": {1834"uid": "$datasource"1835},1836"expr": "sum (\n rate(container_network_transmit_packets_dropped_total{container!=\"POD\", pod!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod, cluster, node)",1837"interval": "",1838"legendFormat": "{{cluster}} - {{node}} - {{pod}} - Transmit",1839"queryType": "randomWalk",1840"refId": "B"1841}1842],1843"thresholds": [],1844"timeRegions": [],1845"title": "Network Saturation (Packets Dropped)",1846"tooltip": {1847"shared": true,1848"sort": 2,1849"value_type": "individual"1850},1851"type": "graph",1852"xaxis": {1853"mode": "time",1854"show": true,1855"values": []1856},1857"yaxes": [1858{1859"decimals": 2,1860"format": "pps",1861"logBase": 1,1862"min": "0",1863"show": true1864},1865{1866"format": "short",1867"logBase": 1,1868"show": true1869}1870],1871"yaxis": {1872"align": false1873}1874},1875{1876"aliasColors": {},1877"bars": false,1878"dashLength": 10,1879"dashes": false,1880"datasource": {1881"uid": "$datasource"1882},1883"fill": 1,1884"fillGradient": 0,1885"gridPos": {1886"h": 7,1887"w": 8,1888"x": 16,1889"y": 441890},1891"hiddenSeries": false,1892"id": 46,1893"legend": {1894"alignAsTable": true,1895"avg": false,1896"current": true,1897"max": false,1898"min": false,1899"show": true,1900"total": false,1901"values": true1902},1903"lines": true,1904"linewidth": 1,1905"nullPointMode": "null",1906"options": {1907"alertThreshold": true1908},1909"percentage": false,1910"pluginVersion": "9.5.2",1911"pointradius": 2,1912"points": false,1913"renderer": "flot",1914"seriesOverrides": [],1915"spaceLength": 10,1916"stack": false,1917"steppedLine": false,1918"targets": [1919{1920"datasource": {1921"uid": "$datasource"1922},1923"expr": "sum (\n rate(container_network_receive_errors_total{container!=\"POD\", pod!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod, cluster, node)",1924"interval": "",1925"legendFormat": "{{cluster}} - {{node}} - {{pod}} - Received",1926"queryType": "randomWalk",1927"refId": "A"1928},1929{1930"datasource": {1931"uid": "$datasource"1932},1933"expr": "sum (\n rate(container_network_transmit_errors_total{container!=\"POD\", pod!=\"\", cluster=~\"$cluster\", node=~\"$node\", pod=~\"$pod\"}[1m])\n) by (pod, cluster, node)",1934"interval": "",1935"legendFormat": "{{cluster}} - {{node}} - {{pod}} - Transmitted",1936"queryType": "randomWalk",1937"refId": "B"1938}1939],1940"thresholds": [],1941"timeRegions": [],1942"title": "Network Errors",1943"tooltip": {1944"shared": true,1945"sort": 2,1946"value_type": "individual"1947},1948"type": "graph",1949"xaxis": {1950"mode": "time",1951"show": true,1952"values": []1953},1954"yaxes": [1955{1956"decimals": 2,1957"format": "Errors/s",1958"logBase": 1,1959"min": "0",1960"show": true1961},1962{1963"format": "short",1964"logBase": 1,1965"show": true1966}1967],1968"yaxis": {1969"align": false1970}1971},1972{1973"aliasColors": {},1974"bars": false,1975"dashLength": 10,1976"dashes": false,1977"datasource": {1978"uid": "$datasource"1979},1980"decimals": 4,1981"description": "",1982"fill": 1,1983"fillGradient": 0,1984"gridPos": {1985"h": 9,1986"w": 8,1987"x": 0,1988"y": 511989},1990"hiddenSeries": false,1991"id": 36,1992"legend": {1993"alignAsTable": true,1994"avg": true,1995"current": true,1996"max": true,1997"min": false,1998"show": true,1999"total": false,2000"values": true2001},2002"lines": true,2003"linewidth": 1,2004"nullPointMode": "null",2005"options": {2006"alertThreshold": true2007},2008"percentage": false,2009"pluginVersion": "9.4.3",2010"pointradius": 2,2011"points": false,2012"renderer": "flot",2013"seriesOverrides": [],2014"spaceLength": 10,2015"stack": false,2016"steppedLine": false,2017"targets": [2018{2019"datasource": {2020"uid": "$datasource"2021},2022"expr": "rate(kube_pod_container_status_restarts_total{cluster=~\"$cluster\", pod=~\"$pod\"}[1m])",2023"interval": "",2024"legendFormat": "{{cluster}} - {{kubernetes_pod_node_name}} - {{pod}} ",2025"queryType": "randomWalk",2026"refId": "A"2027}2028],2029"thresholds": [],2030"timeRegions": [],2031"title": "Pod Restarts",2032"tooltip": {2033"shared": true,2034"sort": 2,2035"value_type": "individual"2036},2037"type": "graph",2038"xaxis": {2039"mode": "time",2040"show": true,2041"values": []2042},2043"yaxes": [2044{2045"decimals": 2,2046"format": "short",2047"logBase": 1,2048"min": "0",2049"show": true2050},2051{2052"format": "short",2053"logBase": 1,2054"show": true2055}2056],2057"yaxis": {2058"align": false2059}2060},2061{2062"aliasColors": {},2063"bars": false,2064"dashLength": 10,2065"dashes": false,2066"datasource": {2067"uid": "$datasource"2068},2069"decimals": 0,2070"description": "",2071"fill": 1,2072"fillGradient": 0,2073"gridPos": {2074"h": 9,2075"w": 8,2076"x": 8,2077"y": 512078},2079"hiddenSeries": false,2080"id": 42,2081"legend": {2082"alignAsTable": true,2083"avg": false,2084"current": true,2085"max": false,2086"min": false,2087"show": true,2088"total": false,2089"values": true2090},2091"lines": true,2092"linewidth": 1,2093"nullPointMode": "null",2094"options": {2095"alertThreshold": true2096},2097"percentage": false,2098"pluginVersion": "9.4.3",2099"pointradius": 2,2100"points": false,2101"renderer": "flot",2102"seriesOverrides": [],2103"spaceLength": 10,2104"stack": false,2105"steppedLine": false,2106"targets": [2107{2108"datasource": {2109"uid": "$datasource"2110},2111"expr": "kube_pod_container_status_running{cluster=~\"$cluster\", pod=~\"$pod\"} == 1 ",2112"interval": "",2113"legendFormat": "{{pod}} - RUNNING",2114"queryType": "randomWalk",2115"refId": "A"2116},2117{2118"datasource": {2119"uid": "$datasource"2120},2121"expr": "(\n sum by (pod) (kube_pod_container_status_terminated{cluster=~\"$cluster\", pod=~\"$pod\"}) == 1\n) * on(pod) group_left(reason) (\n sum by (pod, reason) (kube_pod_container_status_terminated_reason{cluster=~\"$cluster\", pod=~\"$pod\"}) == 1\n)",2122"interval": "",2123"legendFormat": "{{pod}} - TERMINATED -> {{reason}}",2124"queryType": "randomWalk",2125"refId": "B"2126},2127{2128"datasource": {2129"uid": "$datasource"2130},2131"expr": "(\n sum by (pod) (kube_pod_container_status_waiting{cluster=~\"$cluster\", pod=~\"$pod\"}) == 1\n) * on(pod) group_left(reason) (\n sum by (pod, reason) (kube_pod_container_status_waiting_reason{cluster=~\"$cluster\", pod=~\"$pod\"}) == 1\n)",2132"interval": "",2133"legendFormat": "{{pod}} - WAITING -> {{reason}}",2134"queryType": "randomWalk",2135"refId": "C"2136}2137],2138"thresholds": [],2139"timeRegions": [],2140"title": "Pod Status",2141"tooltip": {2142"shared": true,2143"sort": 2,2144"value_type": "individual"2145},2146"type": "graph",2147"xaxis": {2148"mode": "time",2149"show": true,2150"values": []2151},2152"yaxes": [2153{2154"decimals": 0,2155"format": "short",2156"logBase": 1,2157"show": true2158},2159{2160"format": "short",2161"logBase": 1,2162"show": true2163}2164],2165"yaxis": {2166"align": false2167}2168},2169{2170"aliasColors": {},2171"bars": false,2172"dashLength": 10,2173"dashes": false,2174"datasource": {2175"uid": "$datasource"2176},2177"decimals": 0,2178"fill": 1,2179"fillGradient": 0,2180"gridPos": {2181"h": 9,2182"w": 8,2183"x": 16,2184"y": 512185},2186"hiddenSeries": false,2187"id": 40,2188"legend": {2189"alignAsTable": true,2190"avg": false,2191"current": true,2192"max": false,2193"min": false,2194"show": true,2195"total": false,2196"values": true2197},2198"lines": true,2199"linewidth": 1,2200"nullPointMode": "null",2201"options": {2202"alertThreshold": true2203},2204"percentage": false,2205"pluginVersion": "9.4.3",2206"pointradius": 2,2207"points": false,2208"renderer": "flot",2209"seriesOverrides": [],2210"spaceLength": 10,2211"stack": false,2212"steppedLine": false,2213"targets": [2214{2215"datasource": {2216"uid": "$datasource"2217},2218"expr": "kube_daemonset_status_desired_number_scheduled{cluster=~\"$cluster\", daemonset=\"ws-daemon\"}",2219"interval": "",2220"legendFormat": "{{cluster}} - {{daemonset}} - Desired",2221"queryType": "randomWalk",2222"refId": "C"2223},2224{2225"datasource": {2226"uid": "$datasource"2227},2228"expr": "kube_daemonset_status_number_available{cluster=~\"$cluster\", daemonset=\"ws-daemon\"}",2229"interval": "",2230"legendFormat": "{{cluster}} - {{daemonset}} - Available replicas",2231"queryType": "randomWalk",2232"refId": "A"2233},2234{2235"datasource": {2236"uid": "$datasource"2237},2238"expr": "kube_daemonset_status_number_unavailable{cluster=~\"$cluster\", daemonset=\"ws-daemon\"}",2239"interval": "",2240"legendFormat": "{{cluster}} - {{daemonset}} - Unvailable replicas",2241"queryType": "randomWalk",2242"refId": "B"2243}2244],2245"thresholds": [],2246"timeRegions": [],2247"title": "Replicas availability",2248"tooltip": {2249"shared": true,2250"sort": 2,2251"value_type": "individual"2252},2253"type": "graph",2254"xaxis": {2255"mode": "time",2256"show": true,2257"values": []2258},2259"yaxes": [2260{2261"decimals": 0,2262"format": "short",2263"logBase": 1,2264"show": true2265},2266{2267"format": "short",2268"logBase": 1,2269"show": true2270}2271],2272"yaxis": {2273"align": false2274}2275},2276{2277"collapsed": true,2278"datasource": {2279"type": "datasource",2280"uid": "grafana"2281},2282"gridPos": {2283"h": 1,2284"w": 24,2285"x": 0,2286"y": 602287},2288"id": 22,2289"panels": [2290{2291"aliasColors": {},2292"bars": false,2293"dashLength": 10,2294"dashes": false,2295"datasource": {2296"uid": "$datasource"2297},2298"fieldConfig": {2299"defaults": {2300"custom": {}2301},2302"overrides": []2303},2304"fill": 1,2305"fillGradient": 0,2306"gridPos": {2307"h": 9,2308"w": 12,2309"x": 0,2310"y": 592311},2312"hiddenSeries": false,2313"id": 32,2314"legend": {2315"alignAsTable": true,2316"avg": true,2317"current": true,2318"max": true,2319"min": false,2320"show": true,2321"total": false,2322"values": true2323},2324"lines": true,2325"linewidth": 1,2326"nullPointMode": "null",2327"options": {2328"alertThreshold": true2329},2330"percentage": false,2331"pluginVersion": "7.4.3",2332"pointradius": 2,2333"points": false,2334"renderer": "flot",2335"seriesOverrides": [],2336"spaceLength": 10,2337"stack": false,2338"steppedLine": false,2339"targets": [2340{2341"datasource": {2342"uid": "$datasource"2343},2344"expr": "process_resident_memory_bytes{cluster=~\"$cluster\", job=\"ws-daemon\", pod=~\"$pod\"}",2345"interval": "",2346"legendFormat": "{{cluster}} - {{pod}}",2347"queryType": "randomWalk",2348"refId": "A"2349}2350],2351"thresholds": [],2352"timeRegions": [],2353"title": "Memory Usage (as seen by the runtime process)",2354"tooltip": {2355"shared": true,2356"sort": 2,2357"value_type": "individual"2358},2359"type": "graph",2360"xaxis": {2361"mode": "time",2362"show": true,2363"values": []2364},2365"yaxes": [2366{2367"format": "bytes",2368"logBase": 1,2369"min": "0",2370"show": true2371},2372{2373"format": "short",2374"logBase": 1,2375"show": true2376}2377],2378"yaxis": {2379"align": false2380}2381},2382{2383"aliasColors": {},2384"bars": false,2385"dashLength": 10,2386"dashes": false,2387"datasource": {2388"uid": "$datasource"2389},2390"decimals": 2,2391"editable": true,2392"error": false,2393"fieldConfig": {2394"defaults": {2395"custom": {}2396},2397"overrides": []2398},2399"fill": 1,2400"fillGradient": 0,2401"gridPos": {2402"h": 9,2403"w": 12,2404"x": 12,2405"y": 592406},2407"hiddenSeries": false,2408"id": 34,2409"legend": {2410"alignAsTable": true,2411"avg": true,2412"current": true,2413"hideEmpty": false,2414"max": true,2415"min": false,2416"rightSide": false,2417"show": true,2418"total": false,2419"values": true2420},2421"lines": true,2422"linewidth": 1,2423"links": [],2424"nullPointMode": "null",2425"options": {2426"alertThreshold": true2427},2428"percentage": false,2429"pluginVersion": "7.4.3",2430"pointradius": 5,2431"points": false,2432"renderer": "flot",2433"seriesOverrides": [],2434"spaceLength": 10,2435"stack": false,2436"steppedLine": false,2437"targets": [2438{2439"datasource": {2440"uid": "$datasource"2441},2442"expr": "rate(process_cpu_seconds_total{cluster=~\"$cluster\", job=\"ws-daemon\", pod=~\"$pod\"}[5m])",2443"interval": "",2444"intervalFactor": 2,2445"legendFormat": "{{cluster}} - {{pod}}",2446"metric": "prometheus_local_storage_ingested_samples_total",2447"refId": "A",2448"step": 102449}2450],2451"thresholds": [],2452"timeRegions": [],2453"title": "CPU Usage (as seen by the runtime process)",2454"tooltip": {2455"msResolution": false,2456"shared": true,2457"sort": 2,2458"value_type": "individual"2459},2460"type": "graph",2461"xaxis": {2462"mode": "time",2463"show": true,2464"values": [2465"avg"2466]2467},2468"yaxes": [2469{2470"decimals": 2,2471"format": "none",2472"logBase": 1,2473"min": "0",2474"show": true2475},2476{2477"format": "short",2478"logBase": 1,2479"show": true2480}2481],2482"yaxis": {2483"align": false2484}2485},2486{2487"aliasColors": {},2488"bars": false,2489"dashLength": 10,2490"dashes": false,2491"datasource": {2492"uid": "$datasource"2493},2494"fieldConfig": {2495"defaults": {2496"custom": {}2497},2498"overrides": []2499},2500"fill": 1,2501"fillGradient": 0,2502"gridPos": {2503"h": 9,2504"w": 12,2505"x": 0,2506"y": 682507},2508"hiddenSeries": false,2509"id": 26,2510"legend": {2511"alignAsTable": true,2512"avg": true,2513"current": true,2514"max": true,2515"min": false,2516"show": true,2517"total": false,2518"values": true2519},2520"lines": true,2521"linewidth": 1,2522"nullPointMode": "null",2523"options": {2524"alertThreshold": true2525},2526"percentage": false,2527"pluginVersion": "7.4.3",2528"pointradius": 2,2529"points": false,2530"renderer": "flot",2531"seriesOverrides": [],2532"spaceLength": 10,2533"stack": false,2534"steppedLine": false,2535"targets": [2536{2537"datasource": {2538"uid": "$datasource"2539},2540"expr": "go_memstats_heap_sys_bytes{cluster=~\"$cluster\", job=\"ws-daemon\", pod=~\"$pod\"}",2541"interval": "",2542"legendFormat": "{{cluster}} - {{pod}}",2543"queryType": "randomWalk",2544"refId": "A"2545}2546],2547"thresholds": [],2548"timeRegions": [],2549"title": "Heap Usage",2550"tooltip": {2551"shared": true,2552"sort": 2,2553"value_type": "individual"2554},2555"type": "graph",2556"xaxis": {2557"mode": "time",2558"show": true,2559"values": []2560},2561"yaxes": [2562{2563"format": "bytes",2564"logBase": 1,2565"min": "0",2566"show": true2567},2568{2569"format": "short",2570"logBase": 1,2571"show": true2572}2573],2574"yaxis": {2575"align": false2576}2577},2578{2579"aliasColors": {},2580"bars": false,2581"dashLength": 10,2582"dashes": false,2583"datasource": {2584"uid": "$datasource"2585},2586"fieldConfig": {2587"defaults": {2588"custom": {},2589"links": []2590},2591"overrides": []2592},2593"fill": 1,2594"fillGradient": 0,2595"gridPos": {2596"h": 9,2597"w": 12,2598"x": 12,2599"y": 682600},2601"hiddenSeries": false,2602"id": 48,2603"legend": {2604"alignAsTable": true,2605"avg": true,2606"current": true,2607"max": true,2608"min": false,2609"show": true,2610"total": false,2611"values": true2612},2613"lines": true,2614"linewidth": 1,2615"nullPointMode": "null",2616"options": {2617"alertThreshold": true2618},2619"percentage": false,2620"pluginVersion": "7.4.3",2621"pointradius": 2,2622"points": false,2623"renderer": "flot",2624"repeatDirection": "h",2625"seriesOverrides": [2626{2627"alias": "/GC rate:(.*)/",2628"yaxis": 22629}2630],2631"spaceLength": 10,2632"stack": false,2633"steppedLine": false,2634"targets": [2635{2636"datasource": {2637"uid": "$datasource"2638},2639"expr": "rate(go_memstats_alloc_bytes_total{cluster=~\"$cluster\", job=\"ws-daemon\", pod=~\"$pod\"}[5m])",2640"interval": "",2641"legendFormat": "{{cluster}} - {{pod}}",2642"refId": "A"2643}2644],2645"thresholds": [],2646"timeRegions": [],2647"title": "Memory Allocation rate",2648"tooltip": {2649"shared": true,2650"sort": 2,2651"value_type": "individual"2652},2653"type": "graph",2654"xaxis": {2655"mode": "time",2656"show": true,2657"values": []2658},2659"yaxes": [2660{2661"format": "binBps",2662"logBase": 1,2663"min": "0",2664"show": true2665},2666{2667"format": "short",2668"logBase": 1,2669"show": true2670}2671],2672"yaxis": {2673"align": false2674}2675},2676{2677"aliasColors": {},2678"bars": false,2679"dashLength": 10,2680"dashes": false,2681"datasource": {2682"uid": "$datasource"2683},2684"fieldConfig": {2685"defaults": {2686"custom": {}2687},2688"overrides": []2689},2690"fill": 1,2691"fillGradient": 0,2692"gridPos": {2693"h": 9,2694"w": 12,2695"x": 0,2696"y": 772697},2698"hiddenSeries": false,2699"id": 24,2700"legend": {2701"alignAsTable": true,2702"avg": true,2703"current": true,2704"max": true,2705"min": false,2706"show": true,2707"total": false,2708"values": true2709},2710"lines": true,2711"linewidth": 1,2712"nullPointMode": "null",2713"options": {2714"alertThreshold": true2715},2716"percentage": false,2717"pluginVersion": "7.4.3",2718"pointradius": 2,2719"points": false,2720"renderer": "flot",2721"seriesOverrides": [],2722"spaceLength": 10,2723"stack": false,2724"steppedLine": false,2725"targets": [2726{2727"datasource": {2728"uid": "$datasource"2729},2730"expr": "go_goroutines{cluster=~\"$cluster\", job=\"ws-daemon\", pod=~\"$pod\"}",2731"interval": "",2732"legendFormat": "{{cluster}} - {{pod}}",2733"queryType": "randomWalk",2734"refId": "A"2735}2736],2737"thresholds": [],2738"timeRegions": [],2739"title": "Go Routines",2740"tooltip": {2741"shared": true,2742"sort": 2,2743"value_type": "individual"2744},2745"type": "graph",2746"xaxis": {2747"mode": "time",2748"show": true,2749"values": []2750},2751"yaxes": [2752{2753"format": "short",2754"logBase": 1,2755"min": "0",2756"show": true2757},2758{2759"format": "short",2760"logBase": 1,2761"show": true2762}2763],2764"yaxis": {2765"align": false2766}2767},2768{2769"aliasColors": {},2770"bars": false,2771"dashLength": 10,2772"dashes": false,2773"datasource": {2774"uid": "$datasource"2775},2776"fieldConfig": {2777"defaults": {2778"custom": {}2779},2780"overrides": []2781},2782"fill": 1,2783"fillGradient": 0,2784"gridPos": {2785"h": 9,2786"w": 12,2787"x": 12,2788"y": 772789},2790"hiddenSeries": false,2791"id": 50,2792"legend": {2793"alignAsTable": true,2794"avg": true,2795"current": true,2796"max": true,2797"min": false,2798"show": true,2799"total": false,2800"values": true2801},2802"lines": true,2803"linewidth": 1,2804"nullPointMode": "null",2805"options": {2806"alertThreshold": true2807},2808"percentage": false,2809"pluginVersion": "7.4.3",2810"pointradius": 2,2811"points": false,2812"renderer": "flot",2813"seriesOverrides": [],2814"spaceLength": 10,2815"stack": false,2816"steppedLine": false,2817"targets": [2818{2819"datasource": {2820"uid": "$datasource"2821},2822"expr": "go_gc_duration_seconds{cluster=~\"$cluster\", job=\"ws-daemon\", pod=~\"$pod\", quantile=\"0.5\"}",2823"interval": "",2824"legendFormat": "{{cluster}} - {{pod}} - GC Duration - 50th percentile",2825"refId": "A"2826},2827{2828"datasource": {2829"uid": "$datasource"2830},2831"expr": "go_gc_duration_seconds{cluster=~\"$cluster\", job=\"ws-daemon\", pod=~\"$pod\", quantile=\"0.75\"}",2832"interval": "",2833"legendFormat": "{{cluster}} - {{pod}} - GC Duration - 75th percentile",2834"refId": "B"2835},2836{2837"datasource": {2838"uid": "$datasource"2839},2840"expr": "go_gc_duration_seconds{cluster=~\"$cluster\", job=\"ws-daemon\", pod=~\"$pod\", quantile=\"1\"}",2841"interval": "",2842"legendFormat": "{{cluster}} - {{pod}} - GC Duration - 100th percentile",2843"refId": "C"2844}2845],2846"thresholds": [],2847"timeRegions": [],2848"title": "Garbage collection time",2849"tooltip": {2850"shared": true,2851"sort": 2,2852"value_type": "individual"2853},2854"type": "graph",2855"xaxis": {2856"mode": "time",2857"show": true,2858"values": []2859},2860"yaxes": [2861{2862"format": "s",2863"logBase": 1,2864"min": "0",2865"show": true2866},2867{2868"format": "short",2869"logBase": 1,2870"show": true2871}2872],2873"yaxis": {2874"align": false2875}2876}2877],2878"targets": [2879{2880"datasource": {2881"type": "datasource",2882"uid": "grafana"2883},2884"refId": "A"2885}2886],2887"title": "Go Runtime Metrics",2888"type": "row"2889}2890],2891"refresh": "30s",2892"revision": 1,2893"schemaVersion": 38,2894"style": "dark",2895"tags": [2896"gitpod-mixin"2897],2898"templating": {2899"list": [2900{2901"current": {2902"selected": false,2903"text": "All",2904"value": "$__all"2905},2906"datasource": {2907"type": "prometheus",2908"uid": "$datasource"2909},2910"definition": "label_values(up{job=\"ws-daemon\"}, cluster)",2911"hide": 0,2912"includeAll": true,2913"label": "Cluster",2914"multi": true,2915"name": "cluster",2916"options": [],2917"query": {2918"query": "label_values(up{job=\"ws-daemon\"}, cluster)",2919"refId": "StandardVariableQuery"2920},2921"refresh": 2,2922"regex": "",2923"skipUrlSync": false,2924"sort": 0,2925"tagValuesQuery": "",2926"tagsQuery": "",2927"type": "query",2928"useTags": false2929},2930{2931"current": {2932"selected": true,2933"text": [2934"All"2935],2936"value": [2937"$__all"2938]2939},2940"datasource": {2941"type": "prometheus",2942"uid": "$datasource"2943},2944"definition": "label_values(container_cpu_usage_seconds_total{cluster=~\"$cluster\", pod=~\"ws-daemon.*\"}, node)",2945"hide": 0,2946"includeAll": true,2947"label": "Node",2948"multi": true,2949"name": "node",2950"options": [],2951"query": {2952"query": "label_values(container_cpu_usage_seconds_total{cluster=~\"$cluster\", pod=~\"ws-daemon.*\"}, node)",2953"refId": "StandardVariableQuery"2954},2955"refresh": 2,2956"regex": "",2957"skipUrlSync": false,2958"sort": 0,2959"tagValuesQuery": "",2960"tagsQuery": "",2961"type": "query",2962"useTags": false2963},2964{2965"current": {2966"selected": true,2967"text": [2968"All"2969],2970"value": [2971"$__all"2972]2973},2974"datasource": {2975"type": "prometheus",2976"uid": "$datasource"2977},2978"definition": "label_values(container_cpu_usage_seconds_total{cluster=~\"$cluster\", node=~\"$node\", pod=~\"ws-daemon.*\"}, pod)",2979"hide": 0,2980"includeAll": true,2981"label": "Pod",2982"multi": true,2983"name": "pod",2984"options": [],2985"query": {2986"query": "label_values(container_cpu_usage_seconds_total{cluster=~\"$cluster\", node=~\"$node\", pod=~\"ws-daemon.*\"}, pod)",2987"refId": "StandardVariableQuery"2988},2989"refresh": 2,2990"regex": "",2991"skipUrlSync": false,2992"sort": 0,2993"tagValuesQuery": "",2994"tagsQuery": "",2995"type": "query",2996"useTags": false2997},2998{2999"current": {3000"selected": true,3001"text": [3002"All"3003],3004"value": [3005"$__all"3006]3007},3008"datasource": {3009"type": "prometheus",3010"uid": "$datasource"3011},3012"definition": "label_values(grpc_server_handled_total{job=\"ws-daemon\", cluster=~\"$cluster\"}, grpc_method)",3013"hide": 0,3014"includeAll": true,3015"label": "gRPC Method",3016"multi": true,3017"name": "grpc_method",3018"options": [],3019"query": {3020"query": "label_values(grpc_server_handled_total{job=\"ws-daemon\", cluster=~\"$cluster\"}, grpc_method)",3021"refId": "StandardVariableQuery"3022},3023"refresh": 2,3024"regex": "",3025"skipUrlSync": false,3026"sort": 0,3027"tagValuesQuery": "",3028"tagsQuery": "",3029"type": "query",3030"useTags": false3031},3032{3033"current": {3034"selected": false,3035"text": "VictoriaMetrics",3036"value": "VictoriaMetrics"3037},3038"hide": 2,3039"includeAll": false,3040"multi": false,3041"name": "datasource",3042"options": [],3043"query": "prometheus",3044"refresh": 2,3045"regex": "",3046"skipUrlSync": false,3047"type": "datasource"3048},3049{3050"current": {3051"selected": true,3052"text": [3053"All"3054],3055"value": [3056"$__all"3057]3058},3059"datasource": {3060"type": "prometheus",3061"uid": "${datasource}"3062},3063"definition": "label_values(workqueue_depth{pod=~\"$pod\"}, name)",3064"hide": 0,3065"includeAll": true,3066"label": "Controller",3067"multi": true,3068"name": "controller",3069"options": [],3070"query": {3071"query": "label_values(workqueue_depth{pod=~\"$pod\"}, name)",3072"refId": "StandardVariableQuery"3073},3074"refresh": 1,3075"regex": "",3076"skipUrlSync": false,3077"sort": 0,3078"type": "query"3079}3080]3081},3082"time": {3083"from": "now-1h",3084"to": "now"3085},3086"timepicker": {},3087"timezone": "utc",3088"title": "Gitpod / Component / ws-daemon",3089"uid": "ws-daemon",3090"version": 1,3091"weekStart": ""3092}309330943095