Path: blob/main/operations/observability/mixins/workspace/dashboards/node-swap.json
2501 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": 0,26"iteration": 1658268783887,27"links": [],28"liveNow": false,29"panels": [30{31"datasource": {32"type": "prometheus",33"uid": "${datasource}"34},35"fieldConfig": {36"defaults": {37"color": {38"mode": "palette-classic"39},40"custom": {41"axisLabel": "",42"axisPlacement": "auto",43"barAlignment": 0,44"drawStyle": "line",45"fillOpacity": 0,46"gradientMode": "none",47"hideFrom": {48"legend": false,49"tooltip": false,50"viz": false51},52"lineInterpolation": "smooth",53"lineStyle": {54"fill": "solid"55},56"lineWidth": 1,57"pointSize": 5,58"scaleDistribution": {59"type": "linear"60},61"showPoints": "auto",62"spanNulls": false,63"stacking": {64"group": "A",65"mode": "none"66},67"thresholdsStyle": {68"mode": "off"69}70},71"mappings": [],72"thresholds": {73"mode": "absolute",74"steps": [75{76"color": "green",77"value": null78},79{80"color": "red",81"value": 8082}83]84},85"unit": "percentunit"86},87"overrides": []88},89"gridPos": {90"h": 13,91"w": 24,92"x": 0,93"y": 094},95"id": 2,96"options": {97"legend": {98"calcs": [],99"displayMode": "list",100"placement": "bottom"101},102"tooltip": {103"mode": "single",104"sort": "none"105}106},107"targets": [108{109"datasource": {110"type": "prometheus",111"uid": "${datasource}"112},113"editorMode": "code",114"expr": "((node_memory_SwapTotal_bytes{cluster=~\"$cluster\", node=~\"$node\"} - node_memory_SwapFree_bytes{cluster=~\"$cluster\", node=~\"$node\"}) / node_memory_SwapTotal_bytes{cluster=~\"$cluster\", node=~\"$node\"})",115"legendFormat": "{{instance}}",116"range": true,117"refId": "A"118}119],120"title": "Swap utilization",121"type": "timeseries"122}123],124"refresh": "1m",125"schemaVersion": 36,126"style": "dark",127"tags": [128"gitpod-mixin"129],130"templating": {131"list": [132{133"current": {134"selected": true,135"text": [136"us54"137],138"value": [139"us54"140]141},142"datasource": {143"type": "prometheus",144"uid": "$datasource"145},146"definition": "label_values(up{job=\"ws-daemon\"}, cluster)",147"hide": 0,148"includeAll": true,149"label": "Cluster",150"multi": true,151"name": "cluster",152"options": [],153"query": {154"query": "label_values(up{job=\"ws-daemon\"}, cluster)",155"refId": "StandardVariableQuery"156},157"refresh": 2,158"regex": "",159"skipUrlSync": false,160"sort": 0,161"tagValuesQuery": "",162"tagsQuery": "",163"type": "query",164"useTags": false165},166{167"current": {},168"datasource": {169"type": "prometheus",170"uid": "$datasource"171},172"definition": "label_values(container_cpu_usage_seconds_total{cluster=~\"$cluster\", pod=~\"ws-daemon.*\"}, node)",173"hide": 0,174"includeAll": true,175"label": "Node",176"multi": true,177"name": "node",178"options": [],179"query": {180"query": "label_values(container_cpu_usage_seconds_total{cluster=~\"$cluster\", pod=~\"ws-daemon.*\"}, node)",181"refId": "StandardVariableQuery"182},183"refresh": 2,184"regex": "",185"skipUrlSync": false,186"sort": 0,187"tagValuesQuery": "",188"tagsQuery": "",189"type": "query",190"useTags": false191},192{193"current": {194"selected": false,195"text": "VictoriaMetrics",196"value": "VictoriaMetrics"197},198"hide": 2,199"includeAll": false,200"multi": false,201"name": "datasource",202"options": [],203"query": "prometheus",204"refresh": 2,205"regex": "",206"skipUrlSync": false,207"type": "datasource"208}209]210},211"time": {212"from": "now-6h",213"to": "now"214},215"timepicker": {216"refresh_intervals": [217"30s",218"1m",219"5m",220"15m",221"30m",222"1h",223"2h",224"1d"225]226},227"timezone": "utc",228"title": "Gitpod / Node / Swap",229"uid": "node-swap",230"version": 3,231"weekStart": ""232}233234235