Path: blob/main/operations/observability/mixins/IDE/dashboards/components/supervisor.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"datasource": {31"type": "prometheus",32"uid": "${datasource}"33},34"fieldConfig": {35"defaults": {36"color": {37"mode": "palette-classic"38},39"custom": {40"axisCenteredZero": false,41"axisColorMode": "text",42"axisLabel": "",43"axisPlacement": "auto",44"barAlignment": 0,45"drawStyle": "line",46"fillOpacity": 0,47"gradientMode": "none",48"hideFrom": {49"legend": false,50"tooltip": false,51"viz": false52},53"lineInterpolation": "linear",54"lineWidth": 1,55"pointSize": 5,56"scaleDistribution": {57"type": "linear"58},59"showPoints": "auto",60"spanNulls": false,61"stacking": {62"group": "A",63"mode": "none"64},65"thresholdsStyle": {66"mode": "off"67}68},69"mappings": [],70"thresholds": {71"mode": "absolute",72"steps": [73{74"color": "green",75"value": null76},77{78"color": "red",79"value": 8080}81]82}83},84"overrides": []85},86"gridPos": {87"h": 8,88"w": 24,89"x": 0,90"y": 091},92"id": 8,93"options": {94"legend": {95"calcs": [],96"displayMode": "list",97"placement": "bottom",98"showLegend": true99},100"tooltip": {101"mode": "single",102"sort": "none"103}104},105"targets": [106{107"datasource": {108"type": "prometheus",109"uid": "${datasource}"110},111"editorMode": "code",112"expr": "histogram_quantile(1, sum(rate(supervisor_client_handling_seconds_bucket{method!~\"InstanceUpdates|WorkspaceUpdates\"}[1m])) by (le))",113"legendFormat": "100%",114"range": true,115"refId": "A"116},117{118"datasource": {119"type": "prometheus",120"uid": "${datasource}"121},122"editorMode": "code",123"expr": "histogram_quantile(0.99, sum(rate(supervisor_client_handling_seconds_bucket{method!~\"InstanceUpdates|WorkspaceUpdates\"}[1m])) by (le))",124"hide": false,125"legendFormat": "99%",126"range": true,127"refId": "B"128},129{130"datasource": {131"type": "prometheus",132"uid": "${datasource}"133},134"editorMode": "code",135"expr": "histogram_quantile(0.95, sum(rate(supervisor_client_handling_seconds_bucket{method!~\"InstanceUpdates|WorkspaceUpdates\"}[1m])) by (le))",136"hide": false,137"legendFormat": "95%",138"range": true,139"refId": "C"140},141{142"datasource": {143"type": "prometheus",144"uid": "${datasource}"145},146"editorMode": "code",147"expr": "histogram_quantile(0.80, sum(rate(supervisor_client_handling_seconds_bucket{method!~\"InstanceUpdates|WorkspaceUpdates\"}[1m])) by (le))",148"hide": false,149"legendFormat": "80%",150"range": true,151"refId": "D"152},153{154"datasource": {155"type": "prometheus",156"uid": "${datasource}"157},158"editorMode": "code",159"expr": "histogram_quantile(0.50, sum(rate(supervisor_client_handling_seconds_bucket{method!~\"InstanceUpdates|WorkspaceUpdates\"}[1m])) by (le))",160"hide": false,161"legendFormat": "50%",162"range": true,163"refId": "E"164}165],166"title": "Duration Overall Quantile",167"type": "timeseries"168},169{170"datasource": {171"type": "prometheus",172"uid": "${datasource}"173},174"fieldConfig": {175"defaults": {176"color": {177"mode": "palette-classic"178},179"custom": {180"axisCenteredZero": false,181"axisColorMode": "text",182"axisLabel": "",183"axisPlacement": "auto",184"barAlignment": 0,185"drawStyle": "line",186"fillOpacity": 0,187"gradientMode": "none",188"hideFrom": {189"legend": false,190"tooltip": false,191"viz": false192},193"lineInterpolation": "linear",194"lineWidth": 1,195"pointSize": 5,196"scaleDistribution": {197"type": "linear"198},199"showPoints": "auto",200"spanNulls": false,201"stacking": {202"group": "A",203"mode": "none"204},205"thresholdsStyle": {206"mode": "off"207}208},209"mappings": [],210"thresholds": {211"mode": "absolute",212"steps": [213{214"color": "green",215"value": null216},217{218"color": "red",219"value": 80220}221]222}223},224"overrides": []225},226"gridPos": {227"h": 8,228"w": 12,229"x": 0,230"y": 8231},232"id": 5,233"options": {234"legend": {235"calcs": [236"mean"237],238"displayMode": "table",239"placement": "bottom",240"showLegend": true241},242"tooltip": {243"mode": "single",244"sort": "none"245}246},247"targets": [248{249"datasource": {250"type": "prometheus",251"uid": "${datasource}"252},253"editorMode": "code",254"expr": "sum(rate(supervisor_client_handled_total{err_code!~\"OK|Canceled|PermissionDenied\", job=\"ide-metrics\"}[2m])) by (server) / sum(rate(supervisor_client_handled_total{job=\"ide-metrics\"}[2m])) by (server)",255"legendFormat": "__auto",256"range": true,257"refId": "A"258}259],260"title": "Total Failure Ratio",261"type": "timeseries"262},263{264"datasource": {265"type": "prometheus",266"uid": "${datasource}"267},268"fieldConfig": {269"defaults": {270"color": {271"mode": "palette-classic"272},273"custom": {274"axisCenteredZero": false,275"axisColorMode": "text",276"axisLabel": "",277"axisPlacement": "auto",278"barAlignment": 0,279"drawStyle": "line",280"fillOpacity": 0,281"gradientMode": "none",282"hideFrom": {283"legend": false,284"tooltip": false,285"viz": false286},287"lineInterpolation": "linear",288"lineWidth": 1,289"pointSize": 5,290"scaleDistribution": {291"type": "linear"292},293"showPoints": "auto",294"spanNulls": false,295"stacking": {296"group": "A",297"mode": "none"298},299"thresholdsStyle": {300"mode": "off"301}302},303"mappings": [],304"thresholds": {305"mode": "absolute",306"steps": [307{308"color": "green",309"value": null310},311{312"color": "red",313"value": 80314}315]316}317},318"overrides": []319},320"gridPos": {321"h": 8,322"w": 12,323"x": 12,324"y": 8325},326"id": 6,327"options": {328"legend": {329"calcs": [330"mean"331],332"displayMode": "table",333"placement": "bottom",334"showLegend": true335},336"tooltip": {337"mode": "single",338"sort": "none"339}340},341"targets": [342{343"datasource": {344"type": "prometheus",345"uid": "${datasource}"346},347"editorMode": "code",348"expr": "sum by (err_code, server) (rate(supervisor_client_handled_total{err_code!~\"OK|Canceled|PermissionDenied\", job=\"ide-metrics\"}[2m]))/ignoring(err_code, server) group_left sum(rate(supervisor_client_handled_total{job=\"ide-metrics\"}[2m]))",349"legendFormat": "{{err_code}}: {{server}}",350"range": true,351"refId": "A"352}353],354"title": "Failure Ratio by ErrCode",355"type": "timeseries"356},357{358"datasource": {359"type": "prometheus",360"uid": "${datasource}"361},362"fieldConfig": {363"defaults": {364"color": {365"mode": "palette-classic"366},367"custom": {368"axisCenteredZero": false,369"axisColorMode": "text",370"axisLabel": "",371"axisPlacement": "auto",372"barAlignment": 0,373"drawStyle": "line",374"fillOpacity": 0,375"gradientMode": "none",376"hideFrom": {377"legend": false,378"tooltip": false,379"viz": false380},381"lineInterpolation": "linear",382"lineWidth": 1,383"pointSize": 5,384"scaleDistribution": {385"type": "linear"386},387"showPoints": "auto",388"spanNulls": false,389"stacking": {390"group": "A",391"mode": "none"392},393"thresholdsStyle": {394"mode": "off"395}396},397"mappings": [],398"thresholds": {399"mode": "absolute",400"steps": [401{402"color": "green",403"value": null404},405{406"color": "red",407"value": 80408}409]410}411},412"overrides": []413},414"gridPos": {415"h": 9,416"w": 12,417"x": 0,418"y": 16419},420"id": 2,421"options": {422"legend": {423"calcs": [424"min",425"mean",426"max"427],428"displayMode": "table",429"placement": "bottom",430"showLegend": true431},432"tooltip": {433"mode": "single",434"sort": "none"435}436},437"targets": [438{439"datasource": {440"type": "prometheus",441"uid": "${datasource}"442},443"editorMode": "code",444"expr": "sum(rate(supervisor_client_handled_total{}[2m])) by (server)",445"legendFormat": "__auto",446"range": true,447"refId": "A"448}449],450"title": "Requests",451"type": "timeseries"452},453{454"datasource": {455"type": "prometheus",456"uid": "${datasource}"457},458"fieldConfig": {459"defaults": {460"color": {461"mode": "palette-classic"462},463"custom": {464"axisCenteredZero": false,465"axisColorMode": "text",466"axisLabel": "",467"axisPlacement": "auto",468"barAlignment": 0,469"drawStyle": "line",470"fillOpacity": 0,471"gradientMode": "none",472"hideFrom": {473"legend": false,474"tooltip": false,475"viz": false476},477"lineInterpolation": "linear",478"lineWidth": 1,479"pointSize": 5,480"scaleDistribution": {481"type": "linear"482},483"showPoints": "auto",484"spanNulls": false,485"stacking": {486"group": "A",487"mode": "none"488},489"thresholdsStyle": {490"mode": "off"491}492},493"mappings": [],494"thresholds": {495"mode": "absolute",496"steps": [497{498"color": "green",499"value": null500},501{502"color": "red",503"value": 80504}505]506}507},508"overrides": []509},510"gridPos": {511"h": 9,512"w": 12,513"x": 12,514"y": 16515},516"id": 3,517"options": {518"legend": {519"calcs": [520"min",521"mean",522"max"523],524"displayMode": "table",525"placement": "bottom",526"showLegend": true527},528"tooltip": {529"mode": "single",530"sort": "none"531}532},533"targets": [534{535"datasource": {536"type": "prometheus",537"uid": "${datasource}"538},539"editorMode": "code",540"expr": "sum(rate(supervisor_client_handled_total{}[2m])) by (server, method)",541"legendFormat": "{{method}}: {{server}}",542"range": true,543"refId": "A"544}545],546"title": "Requests by Method",547"type": "timeseries"548}549],550"refresh": "",551"revision": 1,552"schemaVersion": 38,553"style": "dark",554"tags": [],555"templating": {556"list": [557{558"current": {559"selected": true,560"text": "VictoriaMetrics",561"value": "VictoriaMetrics"562},563"hide": 0,564"includeAll": false,565"multi": false,566"name": "datasource",567"options": [],568"query": "prometheus",569"queryValue": "",570"refresh": 1,571"regex": "",572"skipUrlSync": false,573"type": "datasource"574}575]576},577"time": {578"from": "now-24h",579"to": "now"580},581"timepicker": {},582"timezone": "",583"title": "Supervisor",584"version": 0,585"weekStart": ""586}587588589