Path: blob/main/operations/observability/mixins/IDE/dashboards/components/ide-service.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"links": [],27"liveNow": false,28"panels": [29{30"collapsed": false,31"gridPos": {32"h": 1,33"w": 24,34"x": 0,35"y": 036},37"id": 5,38"panels": [],39"title": "Client",40"type": "row"41},42{43"datasource": {44"type": "prometheus",45"uid": "${datasource}"46},47"fieldConfig": {48"defaults": {49"color": {50"mode": "palette-classic"51},52"custom": {53"axisCenteredZero": false,54"axisColorMode": "text",55"axisLabel": "request/second",56"axisPlacement": "auto",57"barAlignment": 0,58"drawStyle": "line",59"fillOpacity": 0,60"gradientMode": "none",61"hideFrom": {62"legend": false,63"tooltip": false,64"viz": false65},66"lineInterpolation": "linear",67"lineWidth": 1,68"pointSize": 5,69"scaleDistribution": {70"type": "linear"71},72"showPoints": "auto",73"spanNulls": false,74"stacking": {75"group": "A",76"mode": "none"77},78"thresholdsStyle": {79"mode": "off"80}81},82"mappings": [],83"thresholds": {84"mode": "absolute",85"steps": [86{87"color": "green",88"value": null89},90{91"color": "red",92"value": 8093}94]95}96},97"overrides": []98},99"gridPos": {100"h": 8,101"w": 12,102"x": 0,103"y": 1104},105"id": 2,106"options": {107"legend": {108"calcs": [109"min",110"mean",111"max"112],113"displayMode": "table",114"placement": "bottom",115"showLegend": true116},117"tooltip": {118"mode": "single",119"sort": "none"120}121},122"targets": [123{124"datasource": {125"type": "prometheus",126"uid": "${datasource}"127},128"editorMode": "code",129"expr": "sum(rate(grpc_client_handled_total{grpc_service=\"ide_service_api.IDEService\"}[2m]))",130"legendFormat": "rate",131"range": true,132"refId": "A"133}134],135"title": "Requests",136"type": "timeseries"137},138{139"datasource": {140"type": "prometheus",141"uid": "${datasource}"142},143"fieldConfig": {144"defaults": {145"color": {146"mode": "palette-classic"147},148"custom": {149"axisCenteredZero": false,150"axisColorMode": "text",151"axisLabel": "request/second",152"axisPlacement": "auto",153"barAlignment": 0,154"drawStyle": "line",155"fillOpacity": 0,156"gradientMode": "none",157"hideFrom": {158"legend": false,159"tooltip": false,160"viz": false161},162"lineInterpolation": "linear",163"lineWidth": 1,164"pointSize": 5,165"scaleDistribution": {166"type": "linear"167},168"showPoints": "auto",169"spanNulls": false,170"stacking": {171"group": "A",172"mode": "none"173},174"thresholdsStyle": {175"mode": "off"176}177},178"mappings": [],179"thresholds": {180"mode": "absolute",181"steps": [182{183"color": "green",184"value": null185},186{187"color": "red",188"value": 80189}190]191}192},193"overrides": []194},195"gridPos": {196"h": 8,197"w": 12,198"x": 12,199"y": 1200},201"id": 8,202"options": {203"legend": {204"calcs": [205"min",206"mean",207"max"208],209"displayMode": "table",210"placement": "bottom",211"showLegend": true212},213"tooltip": {214"mode": "single",215"sort": "none"216}217},218"targets": [219{220"datasource": {221"type": "prometheus",222"uid": "${datasource}"223},224"editorMode": "code",225"expr": "sum(rate(grpc_client_handled_total{grpc_service=\"ide_service_api.IDEService\"}[2m])) by (grpc_method)",226"legendFormat": "{{grpc_method}} rate",227"range": true,228"refId": "A"229}230],231"title": "Requests by Method",232"type": "timeseries"233},234{235"datasource": {236"type": "prometheus",237"uid": "${datasource}"238},239"fieldConfig": {240"defaults": {241"color": {242"mode": "palette-classic"243},244"custom": {245"axisCenteredZero": false,246"axisColorMode": "text",247"axisLabel": "",248"axisPlacement": "auto",249"axisSoftMax": -5,250"barAlignment": 0,251"drawStyle": "bars",252"fillOpacity": 0,253"gradientMode": "none",254"hideFrom": {255"legend": false,256"tooltip": false,257"viz": false258},259"lineInterpolation": "linear",260"lineWidth": 1,261"pointSize": 5,262"scaleDistribution": {263"type": "linear"264},265"showPoints": "auto",266"spanNulls": false,267"stacking": {268"group": "A",269"mode": "none"270},271"thresholdsStyle": {272"mode": "off"273}274},275"mappings": [],276"max": 1,277"min": 0,278"thresholds": {279"mode": "absolute",280"steps": [281{282"color": "green",283"value": null284},285{286"color": "red",287"value": 80288}289]290},291"unit": "percentunit"292},293"overrides": []294},295"gridPos": {296"h": 8,297"w": 12,298"x": 0,299"y": 9300},301"id": 11,302"options": {303"legend": {304"calcs": [305"mean"306],307"displayMode": "table",308"placement": "bottom",309"showLegend": true310},311"tooltip": {312"mode": "single",313"sort": "none"314}315},316"targets": [317{318"datasource": {319"type": "prometheus",320"uid": "${datasource}"321},322"editorMode": "code",323"expr": "sum(rate(grpc_client_handled_total{grpc_service=\"ide_service_api.IDEService\",grpc_code!=\"OK\"}[2m]))/sum(rate(grpc_client_handled_total{grpc_service=\"ide_service_api.IDEService\"}[2m]))",324"legendFormat": "total ratio",325"range": true,326"refId": "A"327}328],329"title": "Total Failure Ratio",330"type": "timeseries"331},332{333"datasource": {334"type": "prometheus",335"uid": "${datasource}"336},337"fieldConfig": {338"defaults": {339"color": {340"mode": "palette-classic"341},342"custom": {343"axisCenteredZero": false,344"axisColorMode": "text",345"axisLabel": "",346"axisPlacement": "auto",347"barAlignment": 0,348"drawStyle": "bars",349"fillOpacity": 0,350"gradientMode": "none",351"hideFrom": {352"legend": false,353"tooltip": false,354"viz": false355},356"lineInterpolation": "linear",357"lineWidth": 1,358"pointSize": 5,359"scaleDistribution": {360"type": "linear"361},362"showPoints": "auto",363"spanNulls": false,364"stacking": {365"group": "A",366"mode": "none"367},368"thresholdsStyle": {369"mode": "off"370}371},372"mappings": [],373"max": 1,374"min": 0,375"thresholds": {376"mode": "absolute",377"steps": [378{379"color": "green",380"value": null381},382{383"color": "red",384"value": 80385}386]387},388"unit": "percentunit"389},390"overrides": []391},392"gridPos": {393"h": 8,394"w": 12,395"x": 12,396"y": 9397},398"id": 13,399"options": {400"legend": {401"calcs": [402"mean"403],404"displayMode": "table",405"placement": "right",406"showLegend": true407},408"tooltip": {409"mode": "single",410"sort": "none"411}412},413"targets": [414{415"datasource": {416"type": "prometheus",417"uid": "${datasource}"418},419"editorMode": "code",420"expr": "sum by (grpc_code) (rate(grpc_client_handled_total{grpc_service=\"ide_service_api.IDEService\",grpc_code!=\"OK\"}[2m]))/ignoring(grpc_code) group_left sum(rate(grpc_client_handled_total{grpc_service=\"ide_service_api.IDEService\"}[2m]))",421"legendFormat": "__auto",422"range": true,423"refId": "A"424}425],426"title": "Failure Ratio by Code",427"type": "timeseries"428},429{430"datasource": {431"type": "prometheus",432"uid": "${datasource}"433},434"fieldConfig": {435"defaults": {436"color": {437"mode": "palette-classic"438},439"custom": {440"axisCenteredZero": false,441"axisColorMode": "text",442"axisLabel": "",443"axisPlacement": "auto",444"barAlignment": 0,445"drawStyle": "line",446"fillOpacity": 0,447"gradientMode": "none",448"hideFrom": {449"legend": false,450"tooltip": false,451"viz": false452},453"lineInterpolation": "linear",454"lineWidth": 1,455"pointSize": 5,456"scaleDistribution": {457"type": "linear"458},459"showPoints": "auto",460"spanNulls": false,461"stacking": {462"group": "A",463"mode": "none"464},465"thresholdsStyle": {466"mode": "off"467}468},469"mappings": [],470"thresholds": {471"mode": "absolute",472"steps": [473{474"color": "green",475"value": null476},477{478"color": "red",479"value": 80480}481]482},483"unit": "s"484},485"overrides": [486{487"__systemRef": "hideSeriesFrom",488"matcher": {489"id": "byNames",490"options": {491"mode": "exclude",492"names": [493"99%"494],495"prefix": "All except:",496"readOnly": true497}498},499"properties": [500{501"id": "custom.hideFrom",502"value": {503"legend": false,504"tooltip": false,505"viz": true506}507}508]509}510]511},512"gridPos": {513"h": 8,514"w": 12,515"x": 0,516"y": 17517},518"id": 18,519"options": {520"legend": {521"calcs": [],522"displayMode": "list",523"placement": "bottom",524"showLegend": true525},526"tooltip": {527"mode": "single",528"sort": "none"529}530},531"targets": [532{533"datasource": {534"type": "prometheus",535"uid": "${datasource}"536},537"editorMode": "code",538"expr": "histogram_quantile(1, sum(rate(grpc_client_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",539"legendFormat": "100%",540"range": true,541"refId": "A"542},543{544"datasource": {545"type": "prometheus",546"uid": "${datasource}"547},548"editorMode": "code",549"expr": "histogram_quantile(0.99, sum(rate(grpc_client_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",550"hide": false,551"legendFormat": "99%",552"range": true,553"refId": "B"554},555{556"datasource": {557"type": "prometheus",558"uid": "${datasource}"559},560"editorMode": "code",561"expr": "histogram_quantile(0.95, sum(rate(grpc_client_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",562"hide": false,563"legendFormat": "95%",564"range": true,565"refId": "C"566},567{568"datasource": {569"type": "prometheus",570"uid": "${datasource}"571},572"editorMode": "code",573"expr": "histogram_quantile(0.80, sum(rate(grpc_client_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",574"hide": false,575"legendFormat": "80%",576"range": true,577"refId": "D"578},579{580"datasource": {581"type": "prometheus",582"uid": "${datasource}"583},584"editorMode": "code",585"expr": "histogram_quantile(0.50, sum(rate(grpc_server_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",586"hide": false,587"legendFormat": "50%",588"range": true,589"refId": "E"590}591],592"title": "Duration Overall Quantile",593"type": "timeseries"594},595{596"collapsed": false,597"gridPos": {598"h": 1,599"w": 24,600"x": 0,601"y": 25602},603"id": 7,604"panels": [],605"title": "Server",606"type": "row"607},608{609"datasource": {610"type": "prometheus",611"uid": "${datasource}"612},613"fieldConfig": {614"defaults": {615"color": {616"mode": "palette-classic"617},618"custom": {619"axisCenteredZero": false,620"axisColorMode": "text",621"axisLabel": "request/second",622"axisPlacement": "auto",623"barAlignment": 0,624"drawStyle": "line",625"fillOpacity": 0,626"gradientMode": "none",627"hideFrom": {628"legend": false,629"tooltip": false,630"viz": false631},632"lineInterpolation": "linear",633"lineWidth": 1,634"pointSize": 5,635"scaleDistribution": {636"type": "linear"637},638"showPoints": "auto",639"spanNulls": false,640"stacking": {641"group": "A",642"mode": "none"643},644"thresholdsStyle": {645"mode": "off"646}647},648"mappings": [],649"thresholds": {650"mode": "absolute",651"steps": [652{653"color": "green",654"value": null655},656{657"color": "red",658"value": 80659}660]661}662},663"overrides": []664},665"gridPos": {666"h": 8,667"w": 12,668"x": 0,669"y": 26670},671"id": 3,672"options": {673"legend": {674"calcs": [675"min",676"mean",677"max"678],679"displayMode": "table",680"placement": "bottom",681"showLegend": true682},683"tooltip": {684"mode": "single",685"sort": "none"686}687},688"targets": [689{690"datasource": {691"type": "prometheus",692"uid": "${datasource}"693},694"editorMode": "code",695"expr": "sum(rate(grpc_server_handled_total{grpc_service=\"ide_service_api.IDEService\"}[2m]))",696"legendFormat": "rate",697"range": true,698"refId": "A"699}700],701"title": "Requests",702"type": "timeseries"703},704{705"datasource": {706"type": "prometheus",707"uid": "${datasource}"708},709"fieldConfig": {710"defaults": {711"color": {712"mode": "palette-classic"713},714"custom": {715"axisCenteredZero": false,716"axisColorMode": "text",717"axisLabel": "request/second",718"axisPlacement": "auto",719"barAlignment": 0,720"drawStyle": "line",721"fillOpacity": 0,722"gradientMode": "none",723"hideFrom": {724"legend": false,725"tooltip": false,726"viz": false727},728"lineInterpolation": "linear",729"lineWidth": 1,730"pointSize": 5,731"scaleDistribution": {732"type": "linear"733},734"showPoints": "auto",735"spanNulls": false,736"stacking": {737"group": "A",738"mode": "none"739},740"thresholdsStyle": {741"mode": "off"742}743},744"mappings": [],745"thresholds": {746"mode": "absolute",747"steps": [748{749"color": "green",750"value": null751},752{753"color": "red",754"value": 80755}756]757}758},759"overrides": []760},761"gridPos": {762"h": 8,763"w": 12,764"x": 12,765"y": 26766},767"id": 9,768"options": {769"legend": {770"calcs": [771"min",772"mean",773"max"774],775"displayMode": "table",776"placement": "bottom",777"showLegend": true778},779"tooltip": {780"mode": "single",781"sort": "none"782}783},784"targets": [785{786"datasource": {787"type": "prometheus",788"uid": "${datasource}"789},790"editorMode": "code",791"expr": "sum(rate(grpc_server_handled_total{grpc_service=\"ide_service_api.IDEService\"}[2m])) by (grpc_method)",792"legendFormat": "{{grpc_method}} rate",793"range": true,794"refId": "A"795}796],797"title": "Requests by Method",798"type": "timeseries"799},800{801"datasource": {802"type": "prometheus",803"uid": "${datasource}"804},805"fieldConfig": {806"defaults": {807"color": {808"mode": "palette-classic"809},810"custom": {811"axisCenteredZero": false,812"axisColorMode": "text",813"axisLabel": "",814"axisPlacement": "auto",815"axisSoftMax": -5,816"barAlignment": 0,817"drawStyle": "line",818"fillOpacity": 0,819"gradientMode": "none",820"hideFrom": {821"legend": false,822"tooltip": false,823"viz": false824},825"lineInterpolation": "linear",826"lineWidth": 1,827"pointSize": 5,828"scaleDistribution": {829"type": "linear"830},831"showPoints": "auto",832"spanNulls": false,833"stacking": {834"group": "A",835"mode": "none"836},837"thresholdsStyle": {838"mode": "off"839}840},841"mappings": [],842"max": 1,843"min": 0,844"thresholds": {845"mode": "absolute",846"steps": [847{848"color": "green",849"value": null850},851{852"color": "red",853"value": 80854}855]856},857"unit": "percentunit"858},859"overrides": []860},861"gridPos": {862"h": 8,863"w": 12,864"x": 0,865"y": 34866},867"id": 14,868"options": {869"legend": {870"calcs": [871"mean"872],873"displayMode": "table",874"placement": "bottom",875"showLegend": true876},877"tooltip": {878"mode": "single",879"sort": "none"880}881},882"targets": [883{884"datasource": {885"type": "prometheus",886"uid": "${datasource}"887},888"editorMode": "code",889"expr": "sum(rate(grpc_server_handled_total{grpc_service=\"ide_service_api.IDEService\",grpc_code!=\"OK\"}[2m]))/sum(rate(grpc_server_handled_total{grpc_service=\"ide_service_api.IDEService\"}[2m]))",890"legendFormat": "total ratio",891"range": true,892"refId": "A"893}894],895"title": "Total Failure Ratio",896"type": "timeseries"897},898{899"datasource": {900"type": "prometheus",901"uid": "${datasource}"902},903"fieldConfig": {904"defaults": {905"color": {906"mode": "palette-classic"907},908"custom": {909"axisCenteredZero": false,910"axisColorMode": "text",911"axisLabel": "",912"axisPlacement": "auto",913"barAlignment": 0,914"drawStyle": "line",915"fillOpacity": 0,916"gradientMode": "none",917"hideFrom": {918"legend": false,919"tooltip": false,920"viz": false921},922"lineInterpolation": "linear",923"lineWidth": 1,924"pointSize": 5,925"scaleDistribution": {926"type": "linear"927},928"showPoints": "auto",929"spanNulls": false,930"stacking": {931"group": "A",932"mode": "none"933},934"thresholdsStyle": {935"mode": "off"936}937},938"mappings": [],939"max": 1,940"min": 0,941"thresholds": {942"mode": "absolute",943"steps": [944{945"color": "green",946"value": null947},948{949"color": "red",950"value": 80951}952]953},954"unit": "percentunit"955},956"overrides": []957},958"gridPos": {959"h": 8,960"w": 12,961"x": 12,962"y": 34963},964"id": 15,965"options": {966"legend": {967"calcs": [968"mean"969],970"displayMode": "table",971"placement": "right",972"showLegend": true973},974"tooltip": {975"mode": "single",976"sort": "none"977}978},979"targets": [980{981"datasource": {982"type": "prometheus",983"uid": "${datasource}"984},985"editorMode": "code",986"expr": "sum by (grpc_code) (rate(grpc_server_handled_total{grpc_service=\"ide_service_api.IDEService\",grpc_code!=\"OK\"}[2m]))/ignoring(grpc_code) group_left sum(rate(grpc_server_handled_total{grpc_service=\"ide_service_api.IDEService\"}[2m]))",987"legendFormat": "__auto",988"range": true,989"refId": "A"990}991],992"title": "Failure Ratio by Code",993"type": "timeseries"994},995{996"datasource": {997"type": "prometheus",998"uid": "${datasource}"999},1000"fieldConfig": {1001"defaults": {1002"color": {1003"mode": "palette-classic"1004},1005"custom": {1006"axisCenteredZero": false,1007"axisColorMode": "text",1008"axisLabel": "",1009"axisPlacement": "auto",1010"barAlignment": 0,1011"drawStyle": "line",1012"fillOpacity": 0,1013"gradientMode": "none",1014"hideFrom": {1015"legend": false,1016"tooltip": false,1017"viz": false1018},1019"lineInterpolation": "linear",1020"lineWidth": 1,1021"pointSize": 5,1022"scaleDistribution": {1023"type": "linear"1024},1025"showPoints": "auto",1026"spanNulls": false,1027"stacking": {1028"group": "A",1029"mode": "none"1030},1031"thresholdsStyle": {1032"mode": "off"1033}1034},1035"mappings": [],1036"thresholds": {1037"mode": "absolute",1038"steps": [1039{1040"color": "green",1041"value": null1042},1043{1044"color": "red",1045"value": 801046}1047]1048},1049"unit": "s"1050},1051"overrides": []1052},1053"gridPos": {1054"h": 8,1055"w": 12,1056"x": 0,1057"y": 421058},1059"id": 19,1060"options": {1061"legend": {1062"calcs": [],1063"displayMode": "list",1064"placement": "bottom",1065"showLegend": true1066},1067"tooltip": {1068"mode": "single",1069"sort": "none"1070}1071},1072"targets": [1073{1074"datasource": {1075"type": "prometheus",1076"uid": "${datasource}"1077},1078"editorMode": "code",1079"expr": "histogram_quantile(1, sum(rate(grpc_server_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",1080"legendFormat": "100%",1081"range": true,1082"refId": "A"1083},1084{1085"datasource": {1086"type": "prometheus",1087"uid": "${datasource}"1088},1089"editorMode": "code",1090"expr": "histogram_quantile(0.99, sum(rate(grpc_server_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",1091"hide": false,1092"legendFormat": "99%",1093"range": true,1094"refId": "B"1095},1096{1097"datasource": {1098"type": "prometheus",1099"uid": "${datasource}"1100},1101"editorMode": "code",1102"expr": "histogram_quantile(0.95, sum(rate(grpc_server_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",1103"hide": false,1104"legendFormat": "95%",1105"range": true,1106"refId": "C"1107},1108{1109"datasource": {1110"type": "prometheus",1111"uid": "${datasource}"1112},1113"editorMode": "code",1114"expr": "histogram_quantile(0.80, sum(rate(grpc_server_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",1115"hide": false,1116"legendFormat": "80%",1117"range": true,1118"refId": "D"1119},1120{1121"datasource": {1122"type": "prometheus",1123"uid": "${datasource}"1124},1125"editorMode": "code",1126"expr": "histogram_quantile(0.50, sum(rate(grpc_server_handling_seconds_bucket{grpc_service=\"ide_service_api.IDEService\"}[1m])) by (le))",1127"hide": false,1128"legendFormat": "50%",1129"range": true,1130"refId": "E"1131}1132],1133"title": "Duration Overall Quantile",1134"type": "timeseries"1135}1136],1137"refresh": false,1138"schemaVersion": 37,1139"style": "dark",1140"tags": [],1141"templating": {1142"list": [1143{1144"current": {1145"selected": false,1146"text": "VictoriaMetrics",1147"value": "VictoriaMetrics"1148},1149"hide": 0,1150"includeAll": false,1151"multi": false,1152"name": "datasource",1153"options": [],1154"query": "prometheus",1155"refresh": 1,1156"regex": "",1157"skipUrlSync": false,1158"type": "datasource"1159}1160]1161},1162"time": {1163"from": "now-6h",1164"to": "now"1165},1166"timepicker": {},1167"timezone": "",1168"title": "IDE Service",1169"uid": "iCuCOPFVz",1170"version": 2,1171"weekStart": ""1172}117311741175