Path: blob/main/operations/observability/mixins/meta/dashboards/components/server-garbage-collector.json
2501 views
{1"annotations": {2"list": [3{4"builtIn": 1,5"datasource": {6"type": "grafana",7"uid": "-- Grafana --"8},9"enable": true,10"hide": true,11"iconColor": "rgba(0, 211, 255, 1)",12"name": "Annotations & Alerts",13"target": {14"limit": 100,15"matchAny": false,16"tags": [],17"type": "dashboard"18},19"type": "dashboard"20}21]22},23"description": "Dashboard showing periodic garbage collection of DB records",24"editable": true,25"fiscalYearStartMonth": 0,26"graphTooltip": 1,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": 4,39"panels": [],40"title": "Records purged",41"type": "row"42},43{44"datasource": {45"type": "prometheus",46"uid": "${datasource}"47},48"description": "Number of Workspace records purged in the last 1h",49"fieldConfig": {50"defaults": {51"color": {52"mode": "palette-classic"53},54"custom": {55"axisCenteredZero": false,56"axisColorMode": "text",57"axisLabel": "",58"axisPlacement": "auto",59"barAlignment": 0,60"drawStyle": "line",61"fillOpacity": 0,62"gradientMode": "none",63"hideFrom": {64"legend": false,65"tooltip": false,66"viz": false67},68"lineInterpolation": "linear",69"lineWidth": 1,70"pointSize": 5,71"scaleDistribution": {72"type": "linear"73},74"showPoints": "auto",75"spanNulls": false,76"stacking": {77"group": "A",78"mode": "none"79},80"thresholdsStyle": {81"mode": "off"82}83},84"mappings": [],85"thresholds": {86"mode": "absolute",87"steps": [88{89"color": "green",90"value": null91},92{93"color": "red",94"value": 8095}96]97}98},99"overrides": []100},101"gridPos": {102"h": 9,103"w": 12,104"x": 0,105"y": 1106},107"id": 2,108"options": {109"legend": {110"calcs": [],111"displayMode": "list",112"placement": "bottom",113"showLegend": true114},115"tooltip": {116"mode": "single",117"sort": "none"118}119},120"targets": [121{122"datasource": {123"type": "prometheus",124"uid": "${datasource}"125},126"editorMode": "code",127"expr": "sum(increase(gitpod_server_workspaces_purged_total[1h]))",128"legendFormat": "__auto",129"range": true,130"refId": "A"131}132],133"title": "Workspaces purged [1h]",134"type": "timeseries"135},136{137"datasource": {138"type": "prometheus",139"uid": "${datasource}"140},141"description": "Number of Workspace Instance records purged in the last 1h",142"fieldConfig": {143"defaults": {144"color": {145"mode": "palette-classic"146},147"custom": {148"axisCenteredZero": false,149"axisColorMode": "text",150"axisLabel": "",151"axisPlacement": "auto",152"barAlignment": 0,153"drawStyle": "line",154"fillOpacity": 0,155"gradientMode": "none",156"hideFrom": {157"legend": false,158"tooltip": false,159"viz": false160},161"lineInterpolation": "linear",162"lineWidth": 1,163"pointSize": 5,164"scaleDistribution": {165"type": "linear"166},167"showPoints": "auto",168"spanNulls": false,169"stacking": {170"group": "A",171"mode": "none"172},173"thresholdsStyle": {174"mode": "off"175}176},177"mappings": [],178"thresholds": {179"mode": "absolute",180"steps": [181{182"color": "green",183"value": null184},185{186"color": "red",187"value": 80188}189]190}191},192"overrides": []193},194"gridPos": {195"h": 9,196"w": 12,197"x": 12,198"y": 1199},200"id": 7,201"options": {202"legend": {203"calcs": [],204"displayMode": "list",205"placement": "bottom",206"showLegend": true207},208"tooltip": {209"mode": "single",210"sort": "none"211}212},213"targets": [214{215"datasource": {216"type": "prometheus",217"uid": "${datasource}"218},219"editorMode": "code",220"expr": "sum(increase(gitpod_server_workspace_instances_purged_total[1h]))",221"legendFormat": "__auto",222"range": true,223"refId": "A"224}225],226"title": "Workspace Instances purged [1h]",227"type": "timeseries"228},229{230"datasource": {231"type": "prometheus",232"uid": "${datasource}"233},234"description": "Number of Prebuilt Workspace records purged in the last 1h",235"fieldConfig": {236"defaults": {237"color": {238"mode": "palette-classic"239},240"custom": {241"axisCenteredZero": false,242"axisColorMode": "text",243"axisLabel": "",244"axisPlacement": "auto",245"barAlignment": 0,246"drawStyle": "line",247"fillOpacity": 0,248"gradientMode": "none",249"hideFrom": {250"legend": false,251"tooltip": false,252"viz": false253},254"lineInterpolation": "linear",255"lineWidth": 1,256"pointSize": 5,257"scaleDistribution": {258"type": "linear"259},260"showPoints": "auto",261"spanNulls": false,262"stacking": {263"group": "A",264"mode": "none"265},266"thresholdsStyle": {267"mode": "off"268}269},270"mappings": [],271"thresholds": {272"mode": "absolute",273"steps": [274{275"color": "green",276"value": null277},278{279"color": "red",280"value": 80281}282]283}284},285"overrides": []286},287"gridPos": {288"h": 9,289"w": 12,290"x": 0,291"y": 10292},293"id": 5,294"options": {295"legend": {296"calcs": [],297"displayMode": "list",298"placement": "bottom",299"showLegend": true300},301"tooltip": {302"mode": "single",303"sort": "none"304}305},306"targets": [307{308"datasource": {309"type": "prometheus",310"uid": "${datasource}"311},312"editorMode": "code",313"expr": "sum(increase(gitpod_server_prebuild_workspaces_purged_total[1h]))",314"legendFormat": "__auto",315"range": true,316"refId": "A"317}318],319"title": "Prebuilt Workspaces purged [1h]",320"type": "timeseries"321},322{323"datasource": {324"type": "prometheus",325"uid": "${datasource}"326},327"description": "Number of Prebuilt Info records purged in the last 1h",328"fieldConfig": {329"defaults": {330"color": {331"mode": "palette-classic"332},333"custom": {334"axisCenteredZero": false,335"axisColorMode": "text",336"axisLabel": "",337"axisPlacement": "auto",338"barAlignment": 0,339"drawStyle": "line",340"fillOpacity": 0,341"gradientMode": "none",342"hideFrom": {343"legend": false,344"tooltip": false,345"viz": false346},347"lineInterpolation": "linear",348"lineWidth": 1,349"pointSize": 5,350"scaleDistribution": {351"type": "linear"352},353"showPoints": "auto",354"spanNulls": false,355"stacking": {356"group": "A",357"mode": "none"358},359"thresholdsStyle": {360"mode": "off"361}362},363"mappings": [],364"thresholds": {365"mode": "absolute",366"steps": [367{368"color": "green",369"value": null370},371{372"color": "red",373"value": 80374}375]376}377},378"overrides": []379},380"gridPos": {381"h": 9,382"w": 12,383"x": 12,384"y": 10385},386"id": 6,387"options": {388"legend": {389"calcs": [],390"displayMode": "list",391"placement": "bottom",392"showLegend": true393},394"tooltip": {395"mode": "single",396"sort": "none"397}398},399"targets": [400{401"datasource": {402"type": "prometheus",403"uid": "${datasource}"404},405"editorMode": "code",406"expr": "sum(increase(gitpod_server_prebuild_info_purged_total[1h]))",407"legendFormat": "__auto",408"range": true,409"refId": "A"410}411],412"title": "Prebuilt Info purged [1h]",413"type": "timeseries"414},415{416"datasource": {417"type": "prometheus",418"uid": "${datasource}"419},420"description": "Number of Prebuilt WorkspaceUpdatable records purged in the last 1h",421"fieldConfig": {422"defaults": {423"color": {424"mode": "palette-classic"425},426"custom": {427"axisCenteredZero": false,428"axisColorMode": "text",429"axisLabel": "",430"axisPlacement": "auto",431"barAlignment": 0,432"drawStyle": "line",433"fillOpacity": 0,434"gradientMode": "none",435"hideFrom": {436"legend": false,437"tooltip": false,438"viz": false439},440"lineInterpolation": "linear",441"lineWidth": 1,442"pointSize": 5,443"scaleDistribution": {444"type": "linear"445},446"showPoints": "auto",447"spanNulls": false,448"stacking": {449"group": "A",450"mode": "none"451},452"thresholdsStyle": {453"mode": "off"454}455},456"mappings": [],457"thresholds": {458"mode": "absolute",459"steps": [460{461"color": "green",462"value": null463},464{465"color": "red",466"value": 80467}468]469}470},471"overrides": []472},473"gridPos": {474"h": 9,475"w": 12,476"x": 0,477"y": 19478},479"id": 8,480"options": {481"legend": {482"calcs": [],483"displayMode": "list",484"placement": "bottom",485"showLegend": true486},487"tooltip": {488"mode": "single",489"sort": "none"490}491},492"targets": [493{494"datasource": {495"type": "prometheus",496"uid": "${datasource}"497},498"editorMode": "code",499"expr": "sum(increase(gitpod_server_prebuilt_workspace_updatable_purged_total[1h]))",500"legendFormat": "__auto",501"range": true,502"refId": "A"503}504],505"title": "Prebuilt Workspace Updatable purged [1h]",506"type": "timeseries"507}508],509"schemaVersion": 37,510"style": "dark",511"tags": [512"webapp",513"server"514],515"templating": {516"list": [{517"current": {518"selected": false,519"text": "VictoriaMetrics",520"value": "VictoriaMetrics"521},522"hide": 0,523"includeAll": false,524"multi": false,525"name": "datasource",526"options": [],527"query": "prometheus",528"refresh": 1,529"regex": "",530"skipUrlSync": false,531"type": "datasource"532}]533},534"time": {535"from": "now-6h",536"to": "now"537},538"timepicker": {539"refresh_intervals": [540"30s",541"1m",542"5m",543"15m",544"30m",545"1h",546"2h",547"1d"548]549},550"timezone": "utc",551"title": "Components / server / garbage collection",552"version": 0,553"weekStart": "monday"554}555556557