diff --git a/deploy/comm.sh b/deploy/comm.sh index 2e98041d9d0a3df9123ca2710be414d979079e08..b1da3d10775fbb6cab053313700cc8c8b9f164c9 100644 --- a/deploy/comm.sh +++ b/deploy/comm.sh @@ -1,13 +1,9 @@ OS_ARCH=$(uname -m) DASHBOARD_LIST=( -"A-Ops Home Page.json" "System Inspection.json" \ -"App Performance Diagnose.json" "System Performance Diagnose.json" \ -"IO Full Stack - Block and Proc Metrics.json" "ThreadProfiling.json" \ -"IO Full Stack - Tcp Metrics.json" "ThreadProfiling-EventDetail.json" \ -"IO Full Stack.json" "Topo Graph - App Diagnose.json" \ -"JVM Metrics.json" "Topo Graph - Resource.json" \ -"System Flame.json" "Topo Graph.json" +"Application Performance.json" "Network Monitor.json" \ +"System Performance Monitor.json" \ +"JVM Metrics.json" "System Flame.json" ) function yum_download() { diff --git a/grafana/dashboard/Application Performance.json b/grafana/dashboard/Application Performance.json new file mode 100644 index 0000000000000000000000000000000000000000..75f01845ba3a5ac86a8cb107209b11e7580ed6e3 --- /dev/null +++ b/grafana/dashboard/Application Performance.json @@ -0,0 +1,4519 @@ +{ + "__inputs": [ + { + "name": "DS_PROMETHEUS-DFS", + "label": "Prometheus-dfs", + "description": "", + "type": "datasource", + "pluginId": "prometheus", + "pluginName": "Prometheus" + }, + { + "name": "DS_ELASTICSEARCH-ANTEATER_HYBRID_MODEL", + "label": "Elasticsearch-anteater_hybrid_model", + "description": "", + "type": "datasource", + "pluginId": "elasticsearch", + "pluginName": "Elasticsearch" + }, + { + "name": "DS_ELASTICSEARCH-CAUSE_INFERENCE", + "label": "Elasticsearch-cause_inference", + "description": "", + "type": "datasource", + "pluginId": "elasticsearch", + "pluginName": "Elasticsearch" + } + ], + "__elements": {}, + "__requires": [ + { + "type": "datasource", + "id": "elasticsearch", + "name": "Elasticsearch", + "version": "1.0.0" + }, + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "9.3.14" + }, + { + "type": "panel", + "id": "heatmap", + "name": "Heatmap", + "version": "" + }, + { + "type": "datasource", + "id": "prometheus", + "name": "Prometheus", + "version": "1.0.0" + }, + { + "type": "panel", + "id": "table", + "name": "Table", + "version": "" + }, + { + "type": "panel", + "id": "timeseries", + "name": "Time series", + "version": "" + } + ], + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": null, + "links": [ + { + "asDropdown": false, + "icon": "external link", + "includeVars": false, + "keepTime": false, + "tags": [ + "System Performance" + ], + "targetBlank": false, + "title": "System Performance", + "tooltip": "", + "type": "dashboards", + "url": "" + } + ], + "liveNow": false, + "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 10, + "panels": [], + "title": "Tcp 性能", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "scaleDistribution": { + "type": "linear" + } + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 1 + }, + "id": 20, + "options": { + "calculate": false, + "cellGap": 1, + "color": { + "exponent": 0.5, + "fill": "dark-orange", + "mode": "scheme", + "reverse": false, + "scale": "exponential", + "scheme": "Oranges", + "steps": 64 + }, + "exemplars": { + "color": "rgba(255,0,255,0.7)" + }, + "filterValues": { + "le": 1e-9 + }, + "legend": { + "show": true + }, + "rowsFrame": { + "layout": "auto" + }, + "tooltip": { + "show": true, + "yHistogram": false + }, + "yAxis": { + "axisPlacement": "left", + "reverse": false, + "unit": "µs" + } + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "sum(gala_gopher_tcp_link_rto{job=~\"$instance\", tgid=~\"$tgid\"})by (le)", + "format": "heatmap", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "TCP RTO", + "type": "heatmap" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "scaleDistribution": { + "type": "linear" + } + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 1 + }, + "id": 56, + "options": { + "calculate": false, + "cellGap": 1, + "color": { + "exponent": 0.5, + "fill": "dark-orange", + "mode": "scheme", + "reverse": false, + "scale": "exponential", + "scheme": "Oranges", + "steps": 64 + }, + "exemplars": { + "color": "rgba(255,0,255,0.7)" + }, + "filterValues": { + "le": 1e-9 + }, + "legend": { + "show": true + }, + "rowsFrame": { + "layout": "auto" + }, + "tooltip": { + "show": true, + "yHistogram": false + }, + "yAxis": { + "axisPlacement": "left", + "reverse": false, + "unit": "µs" + } + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "sum(gala_gopher_tcp_link_ato{job=~\"$instance\", tgid=~\"$tgid\"})by (le)", + "format": "heatmap", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "TCP ATO", + "type": "heatmap" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "scaleDistribution": { + "type": "linear" + } + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 9 + }, + "id": 57, + "options": { + "calculate": false, + "cellGap": 1, + "color": { + "exponent": 0.5, + "fill": "dark-orange", + "mode": "scheme", + "reverse": false, + "scale": "exponential", + "scheme": "Oranges", + "steps": 64 + }, + "exemplars": { + "color": "rgba(255,0,255,0.7)" + }, + "filterValues": { + "le": 1e-9 + }, + "legend": { + "show": true + }, + "rowsFrame": { + "layout": "auto" + }, + "tooltip": { + "show": true, + "yHistogram": false + }, + "yAxis": { + "axisPlacement": "left", + "reverse": false, + "unit": "µs" + } + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "sum(gala_gopher_tcp_link_syn_srtt{job=~\"$instance\", tgid=~\"$tgid\"})by(le)", + "format": "heatmap", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "TCP SYN SRTT", + "type": "heatmap" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "µs" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 9 + }, + "id": 22, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_tcp_link_syn_srtt_max{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-tcp-syn-srtt-max", + "range": true, + "refId": "B" + } + ], + "title": "TCP SYN SRTT MAX", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "scaleDistribution": { + "type": "linear" + } + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 17 + }, + "id": 59, + "options": { + "calculate": false, + "cellGap": 1, + "color": { + "exponent": 0.5, + "fill": "dark-orange", + "mode": "scheme", + "reverse": false, + "scale": "exponential", + "scheme": "Oranges", + "steps": 64 + }, + "exemplars": { + "color": "rgba(255,0,255,0.7)" + }, + "filterValues": { + "le": 1e-9 + }, + "legend": { + "show": true + }, + "rowsFrame": { + "layout": "auto" + }, + "tooltip": { + "show": true, + "yHistogram": false + }, + "yAxis": { + "axisPlacement": "left", + "reverse": false, + "unit": "µs" + } + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "sum(gala_gopher_tcp_link_srtt{job=~\"$instance\", tgid=~\"$tgid\"})by(le)", + "format": "heatmap", + "hide": false, + "instant": false, + "legendFormat": "{{le}}", + "range": true, + "refId": "A" + } + ], + "title": "TCP SRTT", + "type": "heatmap" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "scaleDistribution": { + "type": "linear" + } + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 17 + }, + "id": 21, + "options": { + "calculate": false, + "cellGap": 1, + "color": { + "exponent": 0.5, + "fill": "dark-orange", + "mode": "scheme", + "reverse": false, + "scale": "exponential", + "scheme": "Oranges", + "steps": 64 + }, + "exemplars": { + "color": "rgba(255,0,255,0.7)" + }, + "filterValues": { + "le": 1e-9 + }, + "legend": { + "show": true + }, + "rowsFrame": { + "layout": "auto" + }, + "tooltip": { + "show": true, + "yHistogram": false + }, + "yAxis": { + "axisPlacement": "left", + "reverse": false, + "unit": "µs" + } + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "sum(gala_gopher_tcp_link_rcv_rtt{job=~\"$instance\", tgid=~\"$tgid\"})by(le)", + "format": "heatmap", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "TCP RCV RTT", + "type": "heatmap" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "scaleDistribution": { + "type": "linear" + } + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 25 + }, + "id": 23, + "options": { + "calculate": false, + "cellGap": 1, + "color": { + "exponent": 0.5, + "fill": "dark-orange", + "mode": "scheme", + "reverse": false, + "scale": "exponential", + "scheme": "Oranges", + "steps": 64 + }, + "exemplars": { + "color": "rgba(255,0,255,0.7)" + }, + "filterValues": { + "le": 1e-9 + }, + "legend": { + "show": true + }, + "rowsFrame": { + "layout": "auto" + }, + "tooltip": { + "show": true, + "yHistogram": false + }, + "yAxis": { + "axisPlacement": "left", + "reverse": false + } + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "sum(gala_gopher_tcp_link_rcv_wnd{job=~\"$instance\", tgid=~\"$tgid\"})by(le)", + "format": "heatmap", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "TCP 收窗口大小", + "type": "heatmap" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "scaleDistribution": { + "type": "linear" + } + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 25 + }, + "id": 60, + "options": { + "calculate": false, + "cellGap": 1, + "color": { + "exponent": 0.5, + "fill": "dark-orange", + "mode": "scheme", + "reverse": false, + "scale": "exponential", + "scheme": "Oranges", + "steps": 64 + }, + "exemplars": { + "color": "rgba(255,0,255,0.7)" + }, + "filterValues": { + "le": 1e-9 + }, + "legend": { + "show": true + }, + "rowsFrame": { + "layout": "auto" + }, + "tooltip": { + "show": true, + "yHistogram": false + }, + "yAxis": { + "axisPlacement": "left", + "reverse": false + } + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "sum(gala_gopher_tcp_link_snd_wnd{job=~\"$instance\", tgid=~\"$tgid\"})by(le)", + "format": "heatmap", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "TCP 发窗口大小", + "type": "heatmap" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 33 + }, + "id": 24, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_tcp_link_zero_snd_wnd_count{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-tcp--zero-snd-wnd-count", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_tcp_link_zero_rcv_wnd_count{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-tcp--zero-recv-wnd-count", + "range": true, + "refId": "B" + } + ], + "title": "TCP 收发零窗个数", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 41 + }, + "id": 18, + "panels": [], + "title": "应用性能", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "scaleDistribution": { + "type": "linear" + } + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 42 + }, + "id": 27, + "options": { + "calculate": false, + "cellGap": 1, + "color": { + "exponent": 0.5, + "fill": "dark-orange", + "mode": "scheme", + "reverse": false, + "scale": "exponential", + "scheme": "Oranges", + "steps": 64 + }, + "exemplars": { + "color": "rgba(255,0,255,0.7)" + }, + "filterValues": { + "le": 1e-9 + }, + "legend": { + "show": true + }, + "rowsFrame": { + "layout": "auto" + }, + "tooltip": { + "show": true, + "yHistogram": false + }, + "yAxis": { + "axisPlacement": "left", + "reverse": false, + "unit": "µs" + } + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "sum(gala_gopher_proc_flow_perf_tx_delay{job=~\"$instance\", tgid=~\"$tgid\"})by(le)", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "应用网络性能-发", + "type": "heatmap" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "custom": { + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "scaleDistribution": { + "type": "linear" + } + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 42 + }, + "id": 58, + "options": { + "calculate": false, + "cellGap": 1, + "color": { + "exponent": 0.5, + "fill": "dark-orange", + "mode": "scheme", + "reverse": false, + "scale": "exponential", + "scheme": "Oranges", + "steps": 64 + }, + "exemplars": { + "color": "rgba(255,0,255,0.7)" + }, + "filterValues": { + "le": 1e-9 + }, + "legend": { + "show": true + }, + "rowsFrame": { + "layout": "auto" + }, + "tooltip": { + "show": true, + "yHistogram": false + }, + "yAxis": { + "axisPlacement": "left", + "reverse": false, + "unit": "µs" + } + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "sum(gala_gopher_proc_flow_perf_rx_delay{job=~\"$instance\", tgid=~\"$tgid\"})by(le)", + "hide": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "应用网络性能-收", + "type": "heatmap" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 50 + }, + "id": 8, + "panels": [], + "title": "应用 IO 性能", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 51 + }, + "id": 29, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_fd_count{job=~\"$instance\", tgid=~\"$tgid\"} * 1", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-fd-count", + "range": true, + "refId": "A" + } + ], + "title": "进程 句柄数", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 51 + }, + "id": 30, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_fd_free_per{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-fd_free_per", + "range": true, + "refId": "A" + } + ], + "title": "进程 剩余句柄率", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 59 + }, + "id": 31, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_rchar_bytes{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-read", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_wchar_bytes{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-write", + "range": true, + "refId": "B" + } + ], + "title": "进程 系统调用读写字节数", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 59 + }, + "id": 32, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_syscr_count{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-read", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_syscw_count{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-write", + "range": true, + "refId": "B" + } + ], + "title": "进程 读写次数", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 67 + }, + "id": 33, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_read_bytes{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-read", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_write_bytes{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-write", + "range": true, + "refId": "B" + } + ], + "title": "进程 磁盘读写字节数", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 67 + }, + "id": 34, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_cancelled_write_bytes{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-cancel-write-bytes", + "range": true, + "refId": "A" + } + ], + "title": "进程 取消写字节数", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ns" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 75 + }, + "id": 35, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_ns_ext4_read{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-read", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_ns_ext4_write{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-write", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_ns_ext4_flush{job=~\"$instance\", tgid=~\"tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-flush", + "range": true, + "refId": "C" + } + ], + "title": "进程 EXT4 文件系统读写耗时", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ns" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 75 + }, + "id": 36, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_ns_overlay_read{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-read", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_ns_overlay_write{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-write", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_ns_overlay_flush{job=~\"$instance\", tgid=~\"tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-flush", + "range": true, + "refId": "C" + } + ], + "title": "进程 Overlay 文件系统读写耗时", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ns" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 83 + }, + "id": 37, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_ns_tmpfs_read{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-read", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_ns_tmpfs_write{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-write", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_ns_tmpfs_flush{job=~\"$instance\", tgid=~\"tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-flush", + "range": true, + "refId": "C" + } + ], + "title": "进程 Tmpfs 文件系统读写耗时", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ns" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 83 + }, + "id": 38, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_less_4k_io_read{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-read", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_less_4k_io_write{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-write", + "range": true, + "refId": "B" + } + ], + "title": "进程 小于 4k 读写次数", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ns" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 91 + }, + "id": 39, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_greater_4k_io_read{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-read", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_greater_4k_io_write{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-write", + "range": true, + "refId": "B" + } + ], + "title": "进程 大于 4k 读写次数", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 99 + }, + "id": 6, + "panels": [], + "title": "应用内存性能", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 100 + }, + "id": 25, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_vm_size{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-vm-size", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_pm_size{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-pm-size", + "range": true, + "refId": "B" + } + ], + "title": "进程 地址空间大小", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "kbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 100 + }, + "id": 41, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_shared_dirty_size{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-shared_dirty_size", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_private_dirty_size{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-private_dirty_size", + "range": true, + "refId": "B" + } + ], + "title": "进程 Dirty Page 大小", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "kbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 108 + }, + "id": 42, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_shared_clean_size{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-shared_clean_size", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_private_clean_size{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-private_clean_size", + "range": true, + "refId": "B" + } + ], + "title": "进程 Clean Page 大小", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "kbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 108 + }, + "id": 43, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_referenced_size{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-referenced_size", + "range": true, + "refId": "A" + } + ], + "title": "进程 使用的Page 大小", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "kbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 116 + }, + "id": 44, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_lazyfree_size{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-lazyfree_size", + "range": true, + "refId": "A" + } + ], + "title": "进程 延迟释放的Page Size", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "kbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 116 + }, + "id": 45, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_swap_data_size{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-swap_data_size", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_swap_data_pss_size{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-swap_data_pss_size", + "range": true, + "refId": "B" + } + ], + "title": "进程 Swap 区间大小", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 124 + }, + "id": 46, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_minor_pagefault_count{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-minor_pagefault_count", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_major_pagefault_count{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-major_pagefault_count", + "range": true, + "refId": "B" + } + ], + "title": "进程 缺页次数", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 132 + }, + "id": 12, + "panels": [], + "title": "系统调用性能", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ns" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 133 + }, + "id": 47, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_ns_fsync{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-ns_fsync", + "range": true, + "refId": "A" + } + ], + "title": "进程 fsync 调用时长", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ns" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 133 + }, + "id": 48, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_ns_futex{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-ns_futex", + "range": true, + "refId": "A" + } + ], + "title": "进程 futex 调用时长", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ns" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 141 + }, + "id": 49, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_ns_sendmsg{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-ns_sendmsg", + "range": true, + "refId": "A" + } + ], + "title": "进程 sendmsg 调用时长", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ns" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 141 + }, + "id": 50, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_ns_recvmsg{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-ns_sendmsg", + "range": true, + "refId": "A" + } + ], + "title": "进程 recvmsg 调用时长", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 149 + }, + "id": 51, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_proc_syscall_failed{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{comm}}-{{tgid}}-syscall_failed", + "range": true, + "refId": "A" + } + ], + "title": "进程 系统调用失败次数", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 157 + }, + "id": 16, + "panels": [], + "title": "故障发现与定位", + "type": "row" + }, + { + "datasource": { + "type": "elasticsearch", + "uid": "${DS_ELASTICSEARCH-ANTEATER_HYBRID_MODEL}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 52, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "app" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "vm02-10.109.56.215 app" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 158 + }, + "id": 14, + "options": { + "legend": { + "calcs": [ + "last", + "sum" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.1", + "targets": [ + { + "alias": "", + "bucketAggs": [ + { + "field": "Resource.labels.job.keyword", + "id": "2", + "settings": { + "min_doc_count": "1", + "order": "desc", + "orderBy": "_term", + "size": "10" + }, + "type": "terms" + }, + { + "field": "keywords.keyword", + "id": "3", + "settings": { + "min_doc_count": "1", + "order": "desc", + "orderBy": "_term", + "size": "10" + }, + "type": "terms" + }, + { + "field": "@timestamp", + "id": "4", + "settings": { + "interval": "auto", + "min_doc_count": "0", + "timeZone": "utc", + "trimEdges": "0" + }, + "type": "date_histogram" + } + ], + "datasource": { + "type": "elasticsearch", + "uid": "${DS_ELASTICSEARCH-ANTEATER_HYBRID_MODEL}" + }, + "metrics": [ + { + "id": "1", + "type": "count" + } + ], + "query": "Attributes.event_type.keyword:app AND Resource.labels.job.keyword:$instance", + "refId": "A", + "timeField": "@timestamp" + } + ], + "title": "故障发现(数量)", + "type": "timeseries" + }, + { + "datasource": { + "type": "elasticsearch", + "uid": "${DS_ELASTICSEARCH-CAUSE_INFERENCE}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto", + "inspect": false + }, + "mappings": [ + { + "options": { + "sli tps 异常": { + "color": "red", + "index": 4, + "text": "sli tps 异常" + } + }, + "type": "value" + }, + { + "options": { + "pattern": "/^.*(disk\\w+).*$/g", + "result": { + "color": "yellow", + "index": 0, + "text": "$1" + } + }, + "type": "regex" + }, + { + "options": { + "pattern": "/^.*(block\\w+).*$/g", + "result": { + "color": "yellow", + "index": 1, + "text": "$1" + } + }, + "type": "regex" + }, + { + "options": { + "pattern": "/^.*(proc\\w+).*$/g", + "result": { + "color": "yellow", + "index": 2, + "text": "$1" + } + }, + "type": "regex" + }, + { + "options": { + "pattern": "/^.*(tcp_link\\w+).*$/g", + "result": { + "color": "yellow", + "index": 3, + "text": "$1" + } + }, + "type": "regex" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Root Cause" + }, + "properties": [ + { + "id": "custom.displayMode", + "value": "color-text" + }, + { + "id": "links", + "value": [ + { + "targetBlank": true, + "title": "故障传播详情", + "url": "http://71.76.55.210:3000/d/1mG4JNc4e/topo-graph-app-diagnose?orgId=1&from=${__data.fields.TimestampShift}&to=${__data.fields.Timestamp}&var-EventId=${__data.fields.EventId}" + } + ] + }, + { + "id": "custom.width", + "value": 1030 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "@timestamp" + }, + "properties": [ + { + "id": "custom.width", + "value": 165 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "host" + }, + "properties": [ + { + "id": "custom.width", + "value": 178 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "event_id" + }, + "properties": [ + { + "id": "custom.width", + "value": 579 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "desc" + }, + "properties": [ + { + "id": "custom.width", + "value": 845 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "desc" + }, + "properties": [ + { + "id": "custom.displayMode", + "value": "color-text" + }, + { + "id": "links", + "value": [ + { + "targetBlank": true, + "title": "故障传播详情", + "url": "http://10.137.16.161:3000/d/1mG4JNc4e/topo-graph-app-diagnose?orgId=1&from=${__data.fields.TimestampShift}&to=${__data.fields.Timestamp}&var-EventId=${__data.fields.EventId}" + } + ] + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 158 + }, + "id": 53, + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "frameIndex": 2, + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "@timestamp" + } + ] + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "alias": "", + "bucketAggs": [], + "datasource": { + "type": "elasticsearch", + "uid": "${DS_ELASTICSEARCH-CAUSE_INFERENCE}" + }, + "metrics": [ + { + "id": "1", + "settings": { + "size": "500" + }, + "type": "raw_data" + } + ], + "query": "Resource.abnormal_kpi.metric_labels.job.keyword:$instance", + "refId": "A", + "timeField": "@timestamp" + } + ], + "title": "根因定位", + "transformations": [ + { + "id": "organize", + "options": { + "excludeByName": { + "@version": true, + "Body": true, + "Resource.abnormal_kpi.desc": true, + "Resource.abnormal_kpi.entity_id": true, + "Resource.abnormal_kpi.metric_id": true, + "Resource.abnormal_kpi.metric_labels.app": true, + "Resource.abnormal_kpi.metric_labels.client_ip": true, + "Resource.abnormal_kpi.metric_labels.client_port": true, + "Resource.abnormal_kpi.metric_labels.ins_id": true, + "Resource.abnormal_kpi.metric_labels.instance": true, + "Resource.abnormal_kpi.metric_labels.job": true, + "Resource.abnormal_kpi.metric_labels.machine_id": true, + "Resource.abnormal_kpi.metric_labels.method": true, + "Resource.abnormal_kpi.metric_labels.server_ip": true, + "Resource.abnormal_kpi.metric_labels.server_port": true, + "Resource.abnormal_kpi.metric_labels.tgid": true, + "Resource.abnormal_kpi.timestamp": true, + "Resource.cause_metrics": true, + "Resource.desc": false, + "Resource.top1": true, + "Resource.top2": true, + "Resource.top3": true, + "SeverityNumber": true, + "SeverityText": true, + "Timestamp": false, + "_id": true, + "_index": true, + "_type": true, + "event.original": true, + "event_id": true, + "highlight": true, + "keywords": true, + "message": true, + "sort": true + }, + "indexByName": { + "@timestamp": 0, + "@version": 4, + "Attributes.event_id": 2, + "Body": 5, + "Resource.abnormal_kpi.desc": 6, + "Resource.abnormal_kpi.entity_id": 7, + "Resource.abnormal_kpi.metric_id": 8, + "Resource.abnormal_kpi.metric_labels.app": 9, + "Resource.abnormal_kpi.metric_labels.client_ip": 10, + "Resource.abnormal_kpi.metric_labels.client_port": 11, + "Resource.abnormal_kpi.metric_labels.ins_id": 12, + "Resource.abnormal_kpi.metric_labels.instance": 13, + "Resource.abnormal_kpi.metric_labels.job": 3, + "Resource.abnormal_kpi.metric_labels.machine_id": 14, + "Resource.abnormal_kpi.metric_labels.method": 15, + "Resource.abnormal_kpi.metric_labels.server_ip": 16, + "Resource.abnormal_kpi.metric_labels.server_port": 17, + "Resource.abnormal_kpi.metric_labels.tgid": 18, + "Resource.abnormal_kpi.timestamp": 19, + "Resource.cause_metrics": 20, + "Resource.desc": 1, + "Resource.top1": 21, + "Resource.top2": 22, + "SeverityNumber": 23, + "SeverityText": 24, + "Timestamp": 25, + "_id": 26, + "_index": 27, + "_type": 28, + "event.original": 29, + "event_id": 30, + "highlight": 31, + "keywords": 32, + "message": 33, + "sort": 34 + }, + "renameByName": { + "Attributes.event_id": "EventId", + "Resource.abnormal_kpi.metric_labels.job": "host", + "Resource.desc": "desc", + "Resource.top2": "" + } + } + }, + { + "id": "calculateField", + "options": { + "alias": "TimestampShift", + "binary": { + "left": "Timestamp", + "operator": "-", + "reducer": "sum", + "right": "120000" + }, + "mode": "binary", + "reduce": { + "include": [ + "Timestamp" + ], + "reducer": "sum" + } + } + } + ], + "type": "table" + }, + { + "datasource": { + "type": "elasticsearch", + "uid": "${DS_ELASTICSEARCH-ANTEATER_HYBRID_MODEL}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto", + "inspect": false + }, + "mappings": [ + { + "options": { + "sli tps 异常": { + "color": "red", + "index": 4, + "text": "sli tps 异常" + } + }, + "type": "value" + }, + { + "options": { + "pattern": "/^.*(disk\\w+).*$/g", + "result": { + "color": "yellow", + "index": 0, + "text": "$1" + } + }, + "type": "regex" + }, + { + "options": { + "pattern": "/^.*(block\\w+).*$/g", + "result": { + "color": "yellow", + "index": 1, + "text": "$1" + } + }, + "type": "regex" + }, + { + "options": { + "pattern": "/^.*(proc\\w+).*$/g", + "result": { + "color": "yellow", + "index": 2, + "text": "$1" + } + }, + "type": "regex" + }, + { + "options": { + "pattern": "/^.*(tcp_link\\w+).*$/g", + "result": { + "color": "yellow", + "index": 3, + "text": "$1" + } + }, + "type": "regex" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "@timestamp" + }, + "properties": [ + { + "id": "custom.width", + "value": 143 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "host" + }, + "properties": [ + { + "id": "custom.width", + "value": 168 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "entity_id" + }, + "properties": [ + { + "id": "custom.width", + "value": 456 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "event_id" + }, + "properties": [ + { + "id": "custom.width", + "value": 690 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "description" + }, + "properties": [ + { + "id": "custom.displayMode", + "value": "color-text" + }, + { + "id": "custom.width", + "value": 164 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "EventId" + }, + "properties": [ + { + "id": "custom.width", + "value": 582 + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 167 + }, + "id": 55, + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "frameIndex": 2, + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "@timestamp" + } + ] + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "alias": "", + "bucketAggs": [], + "datasource": { + "type": "elasticsearch", + "uid": "${DS_ELASTICSEARCH-ANTEATER_HYBRID_MODEL}" + }, + "metrics": [ + { + "id": "1", + "settings": { + "size": "500" + }, + "type": "raw_data" + } + ], + "query": "Attributes.event_type.keyword:app AND Resource.labels.job.keyword:$instance", + "refId": "A", + "timeField": "@timestamp" + } + ], + "title": "故障发现", + "transformations": [ + { + "id": "organize", + "options": { + "excludeByName": { + "@version": true, + "Attributes.cause_metric.description": true, + "Attributes.cause_metric.labels.Blocks": true, + "Attributes.cause_metric.labels.Fsname": true, + "Attributes.cause_metric.labels.Fstype": true, + "Attributes.cause_metric.labels.Inodes": true, + "Attributes.cause_metric.labels.MountOn": true, + "Attributes.cause_metric.labels.blk_name": true, + "Attributes.cause_metric.labels.comm": true, + "Attributes.cause_metric.labels.disk_name": true, + "Attributes.cause_metric.labels.first_minor": true, + "Attributes.cause_metric.labels.instance": true, + "Attributes.cause_metric.labels.job": true, + "Attributes.cause_metric.labels.machine_id": true, + "Attributes.cause_metric.labels.major": true, + "Attributes.cause_metric.labels.origin": true, + "Attributes.cause_metric.labels.tgid": true, + "Attributes.cause_metric.metric": true, + "Attributes.cause_metric.score": true, + "Attributes.entity_id": true, + "Attributes.event_source": true, + "Attributes.event_type": true, + "Attributes.keywords": true, + "Body": true, + "Resource.cause_metrics": true, + "Resource.labels.app": true, + "Resource.labels.client_ip": true, + "Resource.labels.client_port": true, + "Resource.labels.ins_id": true, + "Resource.labels.instance": true, + "Resource.labels.job": true, + "Resource.labels.machine_id": true, + "Resource.labels.method": true, + "Resource.labels.server_ip": true, + "Resource.labels.server_port": true, + "Resource.labels.tgid": true, + "Resource.metric": true, + "Resource.score": true, + "SeverityNumber": true, + "SeverityText": true, + "Timestamp": true, + "_id": true, + "_index": true, + "_type": true, + "event.original": true, + "event_id": true, + "highlight": true, + "keywords": true, + "message": true, + "sort": true + }, + "indexByName": { + "@timestamp": 0, + "@version": 5, + "Attributes.cause_metric.description": 6, + "Attributes.cause_metric.labels.comm": 7, + "Attributes.cause_metric.labels.instance": 8, + "Attributes.cause_metric.labels.job": 1, + "Attributes.cause_metric.labels.machine_id": 9, + "Attributes.cause_metric.labels.origin": 10, + "Attributes.cause_metric.labels.tgid": 11, + "Attributes.cause_metric.metric": 12, + "Attributes.cause_metric.score": 13, + "Attributes.entity_id": 3, + "Attributes.event_id": 4, + "Attributes.event_source": 14, + "Attributes.event_type": 15, + "Attributes.keywords": 16, + "Body": 17, + "Resource.cause_metrics": 18, + "Resource.description": 2, + "Resource.labels.app": 19, + "Resource.labels.client_ip": 20, + "Resource.labels.client_port": 21, + "Resource.labels.ins_id": 22, + "Resource.labels.instance": 23, + "Resource.labels.job": 24, + "Resource.labels.machine_id": 25, + "Resource.labels.method": 26, + "Resource.labels.server_ip": 27, + "Resource.labels.server_port": 28, + "Resource.labels.tgid": 29, + "Resource.metric": 30, + "Resource.score": 31, + "SeverityNumber": 32, + "SeverityText": 33, + "Timestamp": 34, + "_id": 35, + "_index": 36, + "_type": 37, + "event.original": 38, + "event_id": 39, + "highlight": 40, + "keywords": 41, + "message": 42, + "sort": 43 + }, + "renameByName": { + "@version": "", + "Attributes.cause_metric.description": "", + "Attributes.cause_metric.labels.job": "host", + "Attributes.entity_id": "entity_id", + "Attributes.event_id": "EventId", + "Resource.description": "description", + "Resource.labels.app": "app", + "Resource.labels.client_ip": "" + } + } + } + ], + "type": "table" + } + ], + "refresh": false, + "schemaVersion": 37, + "style": "dark", + "tags": [ + "Application Performance" + ], + "templating": { + "list": [ + { + "current": {}, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "definition": "label_values(gala_gopher_host_value{}, job)", + "hide": 0, + "includeAll": true, + "multi": true, + "name": "instance", + "options": [], + "query": { + "query": "label_values(gala_gopher_host_value{}, job)", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + }, + { + "current": {}, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "definition": "label_values(gala_gopher_proc_fd_count{job=~\"$instance\"}, comm)", + "hide": 0, + "includeAll": true, + "multi": true, + "name": "comm", + "options": [], + "query": { + "query": "label_values(gala_gopher_proc_fd_count{job=~\"$instance\"}, comm)", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + }, + { + "current": {}, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "definition": "label_values(gala_gopher_proc_fd_count{job=~\"$instance\", comm=~\"$comm\"}, tgid)", + "hide": 0, + "includeAll": true, + "multi": true, + "name": "tgid", + "options": [], + "query": { + "query": "label_values(gala_gopher_proc_fd_count{job=~\"$instance\", comm=~\"$comm\"}, tgid)", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 3, + "type": "query" + } + ] + }, + "time": { + "from": "now-30m", + "to": "now" + }, + "timepicker": { + "refresh_intervals": [ + "5s", + "10s", + "30s", + "1m", + "5m", + "15m", + "30m", + "1h", + "2h", + "1d" + ] + }, + "timezone": "", + "title": "Application Performance", + "uid": "eeAtBf6Vk", + "version": 50, + "weekStart": "" +} \ No newline at end of file diff --git a/grafana/dashboard/JVM Metrics.json b/grafana/dashboard/JVM Metrics.json index 6341d425886b9d59f4f3162a1c4c7febbefee4ae..6344a13ab2a9d8d76724c37f22d19f02f993a5fe 100644 --- a/grafana/dashboard/JVM Metrics.json +++ b/grafana/dashboard/JVM Metrics.json @@ -35,7 +35,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "9.3.1" + "version": "9.3.14" }, { "type": "panel", @@ -101,38 +101,10 @@ "includeVars": false, "keepTime": false, "tags": [ - "A-Ops Home Page" + "System Performance" ], "targetBlank": false, - "title": "A-Ops Home Page", - "tooltip": "", - "type": "dashboards", - "url": "" - }, - { - "asDropdown": false, - "icon": "external link", - "includeVars": false, - "keepTime": false, - "tags": [ - "ThreadProfiling" - ], - "targetBlank": false, - "title": "New link", - "tooltip": "", - "type": "dashboards", - "url": "" - }, - { - "asDropdown": false, - "icon": "external link", - "includeVars": false, - "keepTime": false, - "tags": [ - "System Flame" - ], - "targetBlank": false, - "title": "New link", + "title": "System Performance", "tooltip": "", "type": "dashboards", "url": "" @@ -201,7 +173,7 @@ }, "textMode": "auto" }, - "pluginVersion": "9.3.1", + "pluginVersion": "9.3.14", "targets": [ { "datasource": { @@ -403,7 +375,7 @@ "showHeader": true, "sortBy": [] }, - "pluginVersion": "9.3.1", + "pluginVersion": "9.3.14", "targets": [ { "datasource": { @@ -576,7 +548,7 @@ }, "showUnfilled": true }, - "pluginVersion": "9.3.1", + "pluginVersion": "9.3.14", "targets": [ { "datasource": { @@ -907,8 +879,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -1005,8 +976,7 @@ "mode": "absolute", "steps": [ { - "color": "green", - "value": null + "color": "green" }, { "color": "red", @@ -2254,7 +2224,7 @@ "showHeader": true, "sortBy": [] }, - "pluginVersion": "9.3.1", + "pluginVersion": "9.3.14", "targets": [ { "alias": "", @@ -2367,20 +2337,12 @@ "schemaVersion": 37, "style": "dark", "tags": [ - "JVM Metrics Offical" + "JVM Metrics" ], "templating": { "list": [ { - "current": { - "selected": false, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, + "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS-DFS}" @@ -2403,15 +2365,7 @@ "type": "query" }, { - "current": { - "selected": false, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, + "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS-DFS}" @@ -2434,15 +2388,7 @@ "type": "query" }, { - "current": { - "selected": false, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, + "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS-DFS}" @@ -2465,15 +2411,7 @@ "type": "query" }, { - "current": { - "selected": false, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, + "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS-DFS}" @@ -2496,15 +2434,7 @@ "type": "query" }, { - "current": { - "selected": false, - "text": [ - "All" - ], - "value": [ - "$__all" - ] - }, + "current": {}, "datasource": { "type": "prometheus", "uid": "${DS_PROMETHEUS-DFS}" @@ -2535,7 +2465,7 @@ "timepicker": {}, "timezone": "", "title": "JVM Metrics", - "uid": "44Y-OesVz", - "version": 143, + "uid": "44Y-OeaVz", + "version": 4, "weekStart": "" -} +} \ No newline at end of file diff --git a/grafana/dashboard/Network Monitor.json b/grafana/dashboard/Network Monitor.json new file mode 100644 index 0000000000000000000000000000000000000000..c2068570bf53fc2c5b85b2a396c07f6005cdab9d --- /dev/null +++ b/grafana/dashboard/Network Monitor.json @@ -0,0 +1,2514 @@ +{ + "__inputs": [ + { + "name": "DS_PROMETHEUS-DFS", + "label": "Prometheus-dfs", + "description": "", + "type": "datasource", + "pluginId": "prometheus", + "pluginName": "Prometheus" + }, + { + "name": "DS_ELASTICSEARCH-ANTEATER_HYBRID_MODEL", + "label": "Elasticsearch-anteater_hybrid_model", + "description": "", + "type": "datasource", + "pluginId": "elasticsearch", + "pluginName": "Elasticsearch" + }, + { + "name": "DS_ELASTICSEARCH-CAUSE_INFERENCE", + "label": "Elasticsearch-cause_inference", + "description": "", + "type": "datasource", + "pluginId": "elasticsearch", + "pluginName": "Elasticsearch" + } + ], + "__elements": {}, + "__requires": [ + { + "type": "datasource", + "id": "elasticsearch", + "name": "Elasticsearch", + "version": "1.0.0" + }, + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "9.3.14" + }, + { + "type": "datasource", + "id": "prometheus", + "name": "Prometheus", + "version": "1.0.0" + }, + { + "type": "panel", + "id": "table", + "name": "Table", + "version": "" + }, + { + "type": "panel", + "id": "timeseries", + "name": "Time series", + "version": "" + } + ], + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": null, + "links": [ + { + "asDropdown": false, + "icon": "external link", + "includeVars": false, + "keepTime": false, + "tags": [ + "System Performance" + ], + "targetBlank": false, + "title": "System Performance", + "tooltip": "", + "type": "dashboards", + "url": "" + } + ], + "liveNow": false, + "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 4, + "panels": [], + "title": "DNS 访问监控", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ns" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 1 + }, + "id": 12, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "(gala_gopher_dns_delay_avg{job=~\"$instance\", tgid=~\"$tgid\"}) * 1", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}", + "range": true, + "refId": "A" + } + ], + "title": "DNS 访问平均时延", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ns" + }, + "overrides": [ + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "k8s1-2572097-dns" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 1 + }, + "id": 13, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_dns_max_delay{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}", + "range": true, + "refId": "A" + } + ], + "title": "DNS 访问最大时延", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 9 + }, + "id": 16, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_dns_error_ratio{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}", + "range": true, + "refId": "A" + } + ], + "title": "DNS 访问错误率", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 9 + }, + "id": 14, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_dns_count{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}", + "range": true, + "refId": "A" + } + ], + "title": "DNS 访问次数", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 17 + }, + "id": 6, + "panels": [], + "title": "TCP 异常监控", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 18 + }, + "id": 15, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_tcp_link_retran_packets{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}", + "range": true, + "refId": "A" + } + ], + "title": "TCP 重传数", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percentunit" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 18 + }, + "id": 20, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_tcp_link_retrans_ratio{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}", + "range": true, + "refId": "A" + } + ], + "title": "TCP 重传速率", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "k8s1-2811727-iperf3-tcp-sk-drops" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 26 + }, + "id": 19, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_tcp_link_backlog_drops{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}-tcp-backlog-drops", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_tcp_link_sk_drops{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}-tcp-sk-drops", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_tcp_link_lost_out{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}-tcp-lost-out", + "range": true, + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_tcp_link_sacked_out{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}-tcp-sacked-out", + "range": true, + "refId": "D" + } + ], + "title": "TCP 异常包数据", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 26 + }, + "id": 17, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_tcp_link_send_rsts{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}-tcp-send-rsts", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_tcp_link_receive_rsts{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}-tcp-receive-rsts", + "range": true, + "refId": "B" + } + ], + "title": "TCP 收发 RST 数量", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 34 + }, + "id": 10, + "panels": [], + "title": "Socket 监控", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 35 + }, + "id": 21, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_endpoint_passive_open{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}-tcp-passive_open", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_endpoint_active_open{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}-tcp-active_open", + "range": true, + "refId": "B" + } + ], + "title": "TCP 建链次数", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 35 + }, + "id": 23, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_endpoint_listendrop{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}-tcp-passive_open", + "range": true, + "refId": "A" + } + ], + "title": "TCP accept丢弃次数", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 43 + }, + "id": 22, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_endpoint_accept_overflow{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}-tcp-accept-overflow", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_endpoint_syn_overflow{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}-tcp-syn-overflow", + "range": true, + "refId": "B" + } + ], + "title": "TCP 队列溢出次数", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 43 + }, + "id": 24, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_endpoint_retran_synacks{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}-tcp-retran-synacks", + "range": true, + "refId": "A" + } + ], + "title": "TCP 重传报文数", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 51 + }, + "id": 25, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_endpoint_lost_synacks{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}-tcp-lost-synacks", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_endpoint_passive_open_failed{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}-tcp-passive-open-failed", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "gala_gopher_endpoint_active_open_failed{job=~\"$instance\", tgid=~\"$tgid\"}", + "hide": false, + "legendFormat": "{{job}}-{{tgid}}-{{comm}}-tcp-active-open-failed", + "range": true, + "refId": "C" + } + ], + "title": "TCP 建链失败次数", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 59 + }, + "id": 27, + "panels": [], + "title": "故障发现与定位", + "type": "row" + }, + { + "datasource": { + "type": "elasticsearch", + "uid": "${DS_ELASTICSEARCH-ANTEATER_HYBRID_MODEL}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "bars", + "fillOpacity": 52, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "auto", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "normal" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "app" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "vm02-10.109.56.215 app" + }, + "properties": [ + { + "id": "color", + "value": { + "fixedColor": "red", + "mode": "fixed" + } + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 60 + }, + "id": 29, + "options": { + "legend": { + "calcs": [ + "last", + "sum" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.1", + "targets": [ + { + "alias": "", + "bucketAggs": [ + { + "field": "Resource.labels.job.keyword", + "id": "2", + "settings": { + "min_doc_count": "1", + "order": "desc", + "orderBy": "_term", + "size": "10" + }, + "type": "terms" + }, + { + "field": "keywords.keyword", + "id": "3", + "settings": { + "min_doc_count": "1", + "order": "desc", + "orderBy": "_term", + "size": "10" + }, + "type": "terms" + }, + { + "field": "@timestamp", + "id": "4", + "settings": { + "interval": "auto", + "min_doc_count": "0", + "timeZone": "utc", + "trimEdges": "0" + }, + "type": "date_histogram" + } + ], + "datasource": { + "type": "elasticsearch", + "uid": "${DS_ELASTICSEARCH-ANTEATER_HYBRID_MODEL}" + }, + "metrics": [ + { + "id": "1", + "type": "count" + } + ], + "query": "Attributes.event_type.keyword:app AND Resource.labels.job.keyword:$instance", + "refId": "A", + "timeField": "@timestamp" + } + ], + "title": "故障发现(数量)", + "type": "timeseries" + }, + { + "datasource": { + "type": "elasticsearch", + "uid": "${DS_ELASTICSEARCH-CAUSE_INFERENCE}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto", + "inspect": false + }, + "mappings": [ + { + "options": { + "sli tps 异常": { + "color": "red", + "index": 4, + "text": "sli tps 异常" + } + }, + "type": "value" + }, + { + "options": { + "pattern": "/^.*(disk\\w+).*$/g", + "result": { + "color": "yellow", + "index": 0, + "text": "$1" + } + }, + "type": "regex" + }, + { + "options": { + "pattern": "/^.*(block\\w+).*$/g", + "result": { + "color": "yellow", + "index": 1, + "text": "$1" + } + }, + "type": "regex" + }, + { + "options": { + "pattern": "/^.*(proc\\w+).*$/g", + "result": { + "color": "yellow", + "index": 2, + "text": "$1" + } + }, + "type": "regex" + }, + { + "options": { + "pattern": "/^.*(tcp_link\\w+).*$/g", + "result": { + "color": "yellow", + "index": 3, + "text": "$1" + } + }, + "type": "regex" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Root Cause" + }, + "properties": [ + { + "id": "custom.displayMode", + "value": "color-text" + }, + { + "id": "links", + "value": [ + { + "targetBlank": true, + "title": "故障传播详情", + "url": "http://71.76.55.210:3000/d/1mG4JNc4e/topo-graph-app-diagnose?orgId=1&from=${__data.fields.TimestampShift}&to=${__data.fields.Timestamp}&var-EventId=${__data.fields.EventId}" + } + ] + }, + { + "id": "custom.width", + "value": 1030 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "@timestamp" + }, + "properties": [ + { + "id": "custom.width", + "value": 165 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "host" + }, + "properties": [ + { + "id": "custom.width", + "value": 178 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "event_id" + }, + "properties": [ + { + "id": "custom.width", + "value": 579 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "desc" + }, + "properties": [ + { + "id": "custom.width", + "value": 845 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "desc" + }, + "properties": [ + { + "id": "custom.displayMode", + "value": "color-text" + }, + { + "id": "links", + "value": [ + { + "targetBlank": true, + "title": "故障传播详情", + "url": "http://10.137.16.161:3000/d/1mG4JNc4e/topo-graph-app-diagnose?orgId=1&from=${__data.fields.TimestampShift}&to=${__data.fields.Timestamp}&var-EventId=${__data.fields.EventId}" + } + ] + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 12, + "y": 60 + }, + "id": 31, + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "frameIndex": 2, + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "@timestamp" + } + ] + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "alias": "", + "bucketAggs": [], + "datasource": { + "type": "elasticsearch", + "uid": "${DS_ELASTICSEARCH-CAUSE_INFERENCE}" + }, + "metrics": [ + { + "id": "1", + "settings": { + "size": "500" + }, + "type": "raw_data" + } + ], + "query": "Resource.abnormal_kpi.metric_labels.job.keyword:$instance", + "refId": "A", + "timeField": "@timestamp" + } + ], + "title": "根因定位", + "transformations": [ + { + "id": "organize", + "options": { + "excludeByName": { + "@version": true, + "Body": true, + "Resource.abnormal_kpi.desc": true, + "Resource.abnormal_kpi.entity_id": true, + "Resource.abnormal_kpi.metric_id": true, + "Resource.abnormal_kpi.metric_labels.app": true, + "Resource.abnormal_kpi.metric_labels.client_ip": true, + "Resource.abnormal_kpi.metric_labels.client_port": true, + "Resource.abnormal_kpi.metric_labels.ins_id": true, + "Resource.abnormal_kpi.metric_labels.instance": true, + "Resource.abnormal_kpi.metric_labels.job": true, + "Resource.abnormal_kpi.metric_labels.machine_id": true, + "Resource.abnormal_kpi.metric_labels.method": true, + "Resource.abnormal_kpi.metric_labels.server_ip": true, + "Resource.abnormal_kpi.metric_labels.server_port": true, + "Resource.abnormal_kpi.metric_labels.tgid": true, + "Resource.abnormal_kpi.timestamp": true, + "Resource.cause_metrics": true, + "Resource.desc": false, + "Resource.top1": true, + "Resource.top2": true, + "Resource.top3": true, + "SeverityNumber": true, + "SeverityText": true, + "Timestamp": false, + "_id": true, + "_index": true, + "_type": true, + "event.original": true, + "event_id": true, + "highlight": true, + "keywords": true, + "message": true, + "sort": true + }, + "indexByName": { + "@timestamp": 0, + "@version": 4, + "Attributes.event_id": 2, + "Body": 5, + "Resource.abnormal_kpi.desc": 6, + "Resource.abnormal_kpi.entity_id": 7, + "Resource.abnormal_kpi.metric_id": 8, + "Resource.abnormal_kpi.metric_labels.app": 9, + "Resource.abnormal_kpi.metric_labels.client_ip": 10, + "Resource.abnormal_kpi.metric_labels.client_port": 11, + "Resource.abnormal_kpi.metric_labels.ins_id": 12, + "Resource.abnormal_kpi.metric_labels.instance": 13, + "Resource.abnormal_kpi.metric_labels.job": 3, + "Resource.abnormal_kpi.metric_labels.machine_id": 14, + "Resource.abnormal_kpi.metric_labels.method": 15, + "Resource.abnormal_kpi.metric_labels.server_ip": 16, + "Resource.abnormal_kpi.metric_labels.server_port": 17, + "Resource.abnormal_kpi.metric_labels.tgid": 18, + "Resource.abnormal_kpi.timestamp": 19, + "Resource.cause_metrics": 20, + "Resource.desc": 1, + "Resource.top1": 21, + "Resource.top2": 22, + "SeverityNumber": 23, + "SeverityText": 24, + "Timestamp": 25, + "_id": 26, + "_index": 27, + "_type": 28, + "event.original": 29, + "event_id": 30, + "highlight": 31, + "keywords": 32, + "message": 33, + "sort": 34 + }, + "renameByName": { + "Attributes.event_id": "EventId", + "Resource.abnormal_kpi.metric_labels.job": "host", + "Resource.desc": "desc", + "Resource.top2": "" + } + } + }, + { + "id": "calculateField", + "options": { + "alias": "TimestampShift", + "binary": { + "left": "Timestamp", + "operator": "-", + "reducer": "sum", + "right": "120000" + }, + "mode": "binary", + "reduce": { + "include": [ + "Timestamp" + ], + "reducer": "sum" + } + } + } + ], + "type": "table" + }, + { + "datasource": { + "type": "elasticsearch", + "uid": "${DS_ELASTICSEARCH-ANTEATER_HYBRID_MODEL}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto", + "inspect": false + }, + "mappings": [ + { + "options": { + "sli tps 异常": { + "color": "red", + "index": 4, + "text": "sli tps 异常" + } + }, + "type": "value" + }, + { + "options": { + "pattern": "/^.*(disk\\w+).*$/g", + "result": { + "color": "yellow", + "index": 0, + "text": "$1" + } + }, + "type": "regex" + }, + { + "options": { + "pattern": "/^.*(block\\w+).*$/g", + "result": { + "color": "yellow", + "index": 1, + "text": "$1" + } + }, + "type": "regex" + }, + { + "options": { + "pattern": "/^.*(proc\\w+).*$/g", + "result": { + "color": "yellow", + "index": 2, + "text": "$1" + } + }, + "type": "regex" + }, + { + "options": { + "pattern": "/^.*(tcp_link\\w+).*$/g", + "result": { + "color": "yellow", + "index": 3, + "text": "$1" + } + }, + "type": "regex" + } + ], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "@timestamp" + }, + "properties": [ + { + "id": "custom.width", + "value": 143 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "host" + }, + "properties": [ + { + "id": "custom.width", + "value": 168 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "entity_id" + }, + "properties": [ + { + "id": "custom.width", + "value": 456 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "event_id" + }, + "properties": [ + { + "id": "custom.width", + "value": 690 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "description" + }, + "properties": [ + { + "id": "custom.displayMode", + "value": "color-text" + }, + { + "id": "custom.width", + "value": 164 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "EventId" + }, + "properties": [ + { + "id": "custom.width", + "value": 582 + } + ] + } + ] + }, + "gridPos": { + "h": 9, + "w": 12, + "x": 0, + "y": 69 + }, + "id": 33, + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "frameIndex": 2, + "showHeader": true, + "sortBy": [ + { + "desc": true, + "displayName": "@timestamp" + } + ] + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "alias": "", + "bucketAggs": [], + "datasource": { + "type": "elasticsearch", + "uid": "${DS_ELASTICSEARCH-ANTEATER_HYBRID_MODEL}" + }, + "metrics": [ + { + "id": "1", + "settings": { + "size": "500" + }, + "type": "raw_data" + } + ], + "query": "Attributes.event_type.keyword:app AND Resource.labels.job.keyword:$instance", + "refId": "A", + "timeField": "@timestamp" + } + ], + "title": "故障发现", + "transformations": [ + { + "id": "organize", + "options": { + "excludeByName": { + "@version": true, + "Attributes.cause_metric.description": true, + "Attributes.cause_metric.labels.Blocks": true, + "Attributes.cause_metric.labels.Fsname": true, + "Attributes.cause_metric.labels.Fstype": true, + "Attributes.cause_metric.labels.Inodes": true, + "Attributes.cause_metric.labels.MountOn": true, + "Attributes.cause_metric.labels.blk_name": true, + "Attributes.cause_metric.labels.comm": true, + "Attributes.cause_metric.labels.disk_name": true, + "Attributes.cause_metric.labels.first_minor": true, + "Attributes.cause_metric.labels.instance": true, + "Attributes.cause_metric.labels.job": true, + "Attributes.cause_metric.labels.machine_id": true, + "Attributes.cause_metric.labels.major": true, + "Attributes.cause_metric.labels.origin": true, + "Attributes.cause_metric.labels.tgid": true, + "Attributes.cause_metric.metric": true, + "Attributes.cause_metric.score": true, + "Attributes.entity_id": true, + "Attributes.event_source": true, + "Attributes.event_type": true, + "Attributes.keywords": true, + "Body": true, + "Resource.cause_metrics": true, + "Resource.labels.app": true, + "Resource.labels.client_ip": true, + "Resource.labels.client_port": true, + "Resource.labels.ins_id": true, + "Resource.labels.instance": true, + "Resource.labels.job": true, + "Resource.labels.machine_id": true, + "Resource.labels.method": true, + "Resource.labels.server_ip": true, + "Resource.labels.server_port": true, + "Resource.labels.tgid": true, + "Resource.metric": true, + "Resource.score": true, + "SeverityNumber": true, + "SeverityText": true, + "Timestamp": true, + "_id": true, + "_index": true, + "_type": true, + "event.original": true, + "event_id": true, + "highlight": true, + "keywords": true, + "message": true, + "sort": true + }, + "indexByName": { + "@timestamp": 0, + "@version": 5, + "Attributes.cause_metric.description": 6, + "Attributes.cause_metric.labels.comm": 7, + "Attributes.cause_metric.labels.instance": 8, + "Attributes.cause_metric.labels.job": 1, + "Attributes.cause_metric.labels.machine_id": 9, + "Attributes.cause_metric.labels.origin": 10, + "Attributes.cause_metric.labels.tgid": 11, + "Attributes.cause_metric.metric": 12, + "Attributes.cause_metric.score": 13, + "Attributes.entity_id": 3, + "Attributes.event_id": 4, + "Attributes.event_source": 14, + "Attributes.event_type": 15, + "Attributes.keywords": 16, + "Body": 17, + "Resource.cause_metrics": 18, + "Resource.description": 2, + "Resource.labels.app": 19, + "Resource.labels.client_ip": 20, + "Resource.labels.client_port": 21, + "Resource.labels.ins_id": 22, + "Resource.labels.instance": 23, + "Resource.labels.job": 24, + "Resource.labels.machine_id": 25, + "Resource.labels.method": 26, + "Resource.labels.server_ip": 27, + "Resource.labels.server_port": 28, + "Resource.labels.tgid": 29, + "Resource.metric": 30, + "Resource.score": 31, + "SeverityNumber": 32, + "SeverityText": 33, + "Timestamp": 34, + "_id": 35, + "_index": 36, + "_type": 37, + "event.original": 38, + "event_id": 39, + "highlight": 40, + "keywords": 41, + "message": 42, + "sort": 43 + }, + "renameByName": { + "@version": "", + "Attributes.cause_metric.description": "", + "Attributes.cause_metric.labels.job": "host", + "Attributes.entity_id": "entity_id", + "Attributes.event_id": "EventId", + "Resource.description": "description", + "Resource.labels.app": "app", + "Resource.labels.client_ip": "" + } + } + } + ], + "type": "table" + } + ], + "schemaVersion": 37, + "style": "dark", + "tags": [ + "Network Monitor" + ], + "templating": { + "list": [ + { + "current": {}, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "definition": "label_values(gala_gopher_host_value{}, job)", + "hide": 0, + "includeAll": true, + "multi": true, + "name": "instance", + "options": [], + "query": { + "query": "label_values(gala_gopher_host_value{}, job)", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + }, + { + "current": {}, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "definition": "label_values(gala_gopher_proc_fd_count{job=~\"$instance\"}, comm)", + "hide": 0, + "includeAll": true, + "multi": true, + "name": "comm", + "options": [], + "query": { + "query": "label_values(gala_gopher_proc_fd_count{job=~\"$instance\"}, comm)", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + }, + { + "current": {}, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "definition": "label_values(gala_gopher_proc_fd_count{job=~\"$instance\", comm=~\"$comm\"}, tgid)", + "hide": 0, + "includeAll": true, + "multi": true, + "name": "tgid", + "options": [], + "query": { + "query": "label_values(gala_gopher_proc_fd_count{job=~\"$instance\", comm=~\"$comm\"}, tgid)", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + } + ] + }, + "time": { + "from": "now-30m", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "Network Monitor", + "uid": "hRN4fB64z", + "version": 44, + "weekStart": "" +} \ No newline at end of file diff --git a/grafana/dashboard/System Flame.json b/grafana/dashboard/System Flame.json index 125a9677073431ef41700961fb741dbc7d242a1d..b1e85b49482fd6ad0909e9cd4ff1fb36e4856bd6 100644 --- a/grafana/dashboard/System Flame.json +++ b/grafana/dashboard/System Flame.json @@ -1,20 +1,20 @@ { "__inputs": [ { - "name": "DS_PROMETHEUS-DFS", - "label": "Prometheus-dfs", + "name": "DS_PYROSCOPE-DATASOURCE", + "label": "pyroscope-datasource", "description": "", "type": "datasource", - "pluginId": "prometheus", - "pluginName": "Prometheus" + "pluginId": "pyroscope-datasource", + "pluginName": "Pyroscope" }, { - "name": "DS_PYROSCOPE-DATASOURCE", - "label": "pyroscope-datasource", + "name": "DS_PROMETHEUS-DFS", + "label": "Prometheus-dfs", "description": "", "type": "datasource", - "pluginId": "pyroscope-datasource", - "pluginName": "pyroscope-datasource" + "pluginId": "prometheus", + "pluginName": "Prometheus" } ], "__elements": {}, @@ -23,7 +23,7 @@ "type": "grafana", "id": "grafana", "name": "Grafana", - "version": "9.3.1" + "version": "9.3.14" }, { "type": "datasource", @@ -34,20 +34,14 @@ { "type": "datasource", "id": "pyroscope-datasource", - "name": "pyroscope-datasource", - "version": "1.1.3" + "name": "Pyroscope", + "version": "1.2.0" }, { "type": "panel", "id": "pyroscope-panel", "name": "Pyroscope Flamegraph", - "version": "1.4.1" - }, - { - "type": "panel", - "id": "timeseries", - "name": "Time series", - "version": "" + "version": "1.4.2" } ], "annotations": { @@ -83,38 +77,10 @@ "includeVars": false, "keepTime": false, "tags": [ - "A-Ops Home Page" - ], - "targetBlank": false, - "title": "A-Ops Home Page", - "tooltip": "", - "type": "dashboards", - "url": "" - }, - { - "asDropdown": false, - "icon": "external link", - "includeVars": false, - "keepTime": false, - "tags": [ - "System Performance Diagnose - Official" + "System Performance" ], "targetBlank": false, - "title": "System Performance Diagnose - Official", - "tooltip": "", - "type": "dashboards", - "url": "" - }, - { - "asDropdown": false, - "icon": "external link", - "includeVars": false, - "keepTime": false, - "tags": [ - "App Performance Diagnose - Redis" - ], - "targetBlank": false, - "title": "App Performance Diagnose - Redis", + "title": "System Performance", "tooltip": "", "type": "dashboards", "url": "" @@ -122,529 +88,13 @@ ], "liveNow": false, "panels": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS-DFS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 22, - "gradientMode": "hue", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "smooth", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "ns" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 0, - "y": 0 - }, - "id": 33, - "options": { - "legend": { - "calcs": [ - "last", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS-DFS}" - }, - "editorMode": "code", - "expr": "sum by(app, job, server_ip, server_port, tgid) (gala_gopher_sli_rtt_nsec{job=~\"$instance\", app=~\"REDIS\", client_port!~\"3742\", client_port!~\"3746\", method!=\"REP\"})", - "hide": false, - "legendFormat": "__auto", - "range": true, - "refId": "B" - } - ], - "title": "应用性能(Sli&Tps)", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS-DFS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "opacity", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "smooth", - "lineStyle": { - "fill": "solid" - }, - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "never", - "spanNulls": true, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "µs" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 12, - "x": 12, - "y": 0 - }, - "id": 37, - "options": { - "legend": { - "calcs": [ - "last", - "mean" - ], - "displayMode": "table", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS-DFS}" - }, - "editorMode": "code", - "expr": "sum by(job) (gala_gopher_tcp_link_syn_srtt{job=~\"$instance\"}) * 1", - "hide": false, - "legendFormat": "{{job}}-syn_srtt", - "range": true, - "refId": "A" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS-DFS}" - }, - "editorMode": "code", - "expr": "sum by(job) (gala_gopher_tcp_link_srtt{job=~\"$instance\"}) * -1", - "hide": false, - "legendFormat": "{{job}}-srtt", - "range": true, - "refId": "B" - } - ], - "title": "Tcp -- RTT", - "type": "timeseries" - }, { "collapsed": false, "gridPos": { "h": 1, "w": 24, "x": 0, - "y": 8 - }, - "id": 9, - "panels": [], - "title": "系统基础观测", - "type": "row" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS-DFS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 7, - "x": 0, - "y": 9 - }, - "id": 31, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS-DFS}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "gala_gopher_cpu_total_used_per{job=~\"$instance\"}", - "format": "time_series", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "CPU使用率", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS-DFS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 8, - "x": 7, - "y": 9 - }, - "id": 34, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS-DFS}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "gala_gopher_mem_util{job=~\"$instance\"}", - "format": "time_series", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "内存使用率", - "type": "timeseries" - }, - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS-DFS}" - }, - "fieldConfig": { - "defaults": { - "color": { - "mode": "palette-classic" - }, - "custom": { - "axisCenteredZero": false, - "axisColorMode": "text", - "axisLabel": "", - "axisPlacement": "auto", - "barAlignment": 0, - "drawStyle": "line", - "fillOpacity": 0, - "gradientMode": "none", - "hideFrom": { - "legend": false, - "tooltip": false, - "viz": false - }, - "lineInterpolation": "linear", - "lineWidth": 1, - "pointSize": 5, - "scaleDistribution": { - "type": "linear" - }, - "showPoints": "auto", - "spanNulls": false, - "stacking": { - "group": "A", - "mode": "none" - }, - "thresholdsStyle": { - "mode": "off" - } - }, - "mappings": [], - "thresholds": { - "mode": "absolute", - "steps": [ - { - "color": "green", - "value": null - }, - { - "color": "red", - "value": 80 - } - ] - }, - "unit": "none" - }, - "overrides": [] - }, - "gridPos": { - "h": 8, - "w": 9, - "x": 15, - "y": 9 - }, - "id": 35, - "options": { - "legend": { - "calcs": [], - "displayMode": "list", - "placement": "bottom", - "showLegend": true - }, - "tooltip": { - "mode": "single", - "sort": "none" - } - }, - "pluginVersion": "9.3.1", - "targets": [ - { - "datasource": { - "type": "prometheus", - "uid": "${DS_PROMETHEUS-DFS}" - }, - "editorMode": "builder", - "exemplar": false, - "expr": "gala_gopher_disk_util{job=~\"$instance\"}", - "format": "time_series", - "instant": false, - "legendFormat": "__auto", - "range": true, - "refId": "A" - } - ], - "title": "磁盘使用率", - "type": "timeseries" - }, - { - "collapsed": false, - "gridPos": { - "h": 1, - "w": 24, - "x": 0, - "y": 17 + "y": 0 }, "id": 20, "panels": [], @@ -660,7 +110,7 @@ "h": 19, "w": 24, "x": 0, - "y": 18 + "y": 1 }, "id": 23, "options": { @@ -675,7 +125,7 @@ }, "format": "json", "from": "now-1h", - "name": "gala-gopher-oncpu-$machine_id", + "name": "gala-gopher-$type-$machine_id.$tgid", "refId": "A", "until": "now" } @@ -691,6 +141,38 @@ ], "templating": { "list": [ + { + "current": { + "selected": true, + "text": "mem", + "value": "mem" + }, + "hide": 0, + "includeAll": false, + "multi": false, + "name": "type", + "options": [ + { + "selected": false, + "text": "oncpu", + "value": "oncpu" + }, + { + "selected": false, + "text": "offcpu", + "value": "offcpu" + }, + { + "selected": true, + "text": "mem", + "value": "mem" + } + ], + "query": "oncpu,offcpu,mem", + "queryValue": "", + "skipUrlSync": false, + "type": "custom" + }, { "current": {}, "datasource": { @@ -699,8 +181,8 @@ }, "definition": "label_values(gala_gopher_host_value{}, job)", "hide": 0, - "includeAll": true, - "multi": true, + "includeAll": false, + "multi": false, "name": "instance", "options": [], "query": { @@ -719,14 +201,14 @@ "type": "prometheus", "uid": "${DS_PROMETHEUS-DFS}" }, - "definition": "gala_gopher_host_value{}", + "definition": "gala_gopher_host_value{job=~\"$instance\"}", "hide": 0, - "includeAll": true, - "multi": true, + "includeAll": false, + "multi": false, "name": "machine_id", "options": [], "query": { - "query": "gala_gopher_host_value{}", + "query": "gala_gopher_host_value{job=~\"$instance\"}", "refId": "StandardVariableQuery" }, "refresh": 1, @@ -736,16 +218,48 @@ "type": "query" }, { + "current": {}, "datasource": { "type": "prometheus", - "uid": "vSoeXxF4z" + "uid": "${DS_PROMETHEUS-DFS}" }, - "filters": [], + "definition": "label_values(gala_gopher_proc_fd_count{job=~\"$instance\"}, comm)", "hide": 0, - "label": "", - "name": "filter", + "includeAll": false, + "multi": false, + "name": "comm", + "options": [], + "query": { + "query": "label_values(gala_gopher_proc_fd_count{job=~\"$instance\"}, comm)", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + }, + { + "current": {}, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "definition": "label_values(gala_gopher_proc_fd_count{job=~\"$instance\", comm=~\"$comm\"}, tgid)", + "hide": 0, + "includeAll": false, + "multi": false, + "name": "tgid", + "options": [], + "query": { + "query": "label_values(gala_gopher_proc_fd_count{job=~\"$instance\", comm=~\"$comm\"}, tgid)", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "", "skipUrlSync": false, - "type": "adhoc" + "sort": 0, + "type": "query" } ] }, @@ -757,6 +271,6 @@ "timezone": "", "title": "System Flame", "uid": "slaOE024k", - "version": 33, + "version": 13, "weekStart": "" } \ No newline at end of file diff --git a/grafana/dashboard/System Performance Monitor.json b/grafana/dashboard/System Performance Monitor.json new file mode 100644 index 0000000000000000000000000000000000000000..56bbb8e5076940f62c6df4c857b82e6de1953978 --- /dev/null +++ b/grafana/dashboard/System Performance Monitor.json @@ -0,0 +1,4340 @@ +{ + "__inputs": [ + { + "name": "DS_PROMETHEUS-DFS", + "label": "Prometheus-dfs", + "description": "", + "type": "datasource", + "pluginId": "prometheus", + "pluginName": "Prometheus" + } + ], + "__elements": {}, + "__requires": [ + { + "type": "panel", + "id": "bargauge", + "name": "Bar gauge", + "version": "" + }, + { + "type": "panel", + "id": "gauge", + "name": "Gauge", + "version": "" + }, + { + "type": "grafana", + "id": "grafana", + "name": "Grafana", + "version": "9.3.14" + }, + { + "type": "datasource", + "id": "prometheus", + "name": "Prometheus", + "version": "1.0.0" + }, + { + "type": "panel", + "id": "stat", + "name": "Stat", + "version": "" + }, + { + "type": "panel", + "id": "table", + "name": "Table", + "version": "" + }, + { + "type": "panel", + "id": "timeseries", + "name": "Time series", + "version": "" + } + ], + "annotations": { + "list": [ + { + "builtIn": 1, + "datasource": { + "type": "grafana", + "uid": "-- Grafana --" + }, + "enable": true, + "hide": true, + "iconColor": "rgba(0, 211, 255, 1)", + "name": "Annotations & Alerts", + "target": { + "limit": 100, + "matchAny": false, + "tags": [], + "type": "dashboard" + }, + "type": "dashboard" + } + ] + }, + "description": "", + "editable": true, + "fiscalYearStartMonth": 0, + "graphTooltip": 0, + "id": null, + "links": [ + { + "asDropdown": false, + "icon": "external link", + "includeVars": false, + "keepTime": false, + "tags": [ + "Application Performance" + ], + "targetBlank": false, + "title": "Application Performance", + "tooltip": "", + "type": "dashboards", + "url": "" + }, + { + "asDropdown": false, + "icon": "external link", + "includeVars": false, + "keepTime": false, + "tags": [ + "Network Monitor" + ], + "targetBlank": false, + "title": "Network Monitor", + "tooltip": "", + "type": "dashboards", + "url": "" + }, + { + "asDropdown": false, + "icon": "external link", + "includeVars": false, + "keepTime": false, + "tags": [ + "Topo Graph" + ], + "targetBlank": false, + "title": "Topo Graph", + "tooltip": "", + "type": "dashboards", + "url": "" + }, + { + "asDropdown": false, + "icon": "external link", + "includeVars": false, + "keepTime": false, + "tags": [ + "System Flame Offical" + ], + "targetBlank": false, + "title": "System Flame", + "tooltip": "", + "type": "dashboards", + "url": "" + }, + { + "asDropdown": false, + "icon": "external link", + "includeVars": false, + "keepTime": false, + "tags": [ + "JVM Metrics" + ], + "targetBlank": false, + "title": "JVM Metrics", + "tooltip": "", + "type": "dashboards", + "url": "" + } + ], + "liveNow": false, + "panels": [ + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 0 + }, + "id": 8, + "panels": [], + "title": "集群信息", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 2, + "x": 0, + "y": 1 + }, + "id": 14, + "options": { + "colorMode": "none", + "graphMode": "none", + "justifyMode": "center", + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "", + "values": false + }, + "textMode": "auto" + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "builder", + "exemplar": false, + "expr": "count(gala_gopher_host_value{job=~\"$instance\"})", + "format": "time_series", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "设备数量", + "type": "stat" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "max": 100, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 3, + "x": 2, + "y": 1 + }, + "id": 16, + "options": { + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "builder", + "exemplar": false, + "expr": "max(gala_gopher_cpu_total_used_per{job=~\"$instance\"})", + "format": "time_series", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "CPU使用率", + "type": "gauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "max": 100, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 3, + "x": 5, + "y": 1 + }, + "id": 18, + "options": { + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "builder", + "exemplar": false, + "expr": "max(gala_gopher_mem_util{job=~\"$instance\"})", + "format": "time_series", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "内存使用率", + "type": "gauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "mappings": [], + "max": 100, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 3, + "x": 8, + "y": 1 + }, + "id": 20, + "options": { + "orientation": "auto", + "reduceOptions": { + "calcs": [ + "last" + ], + "fields": "", + "values": false + }, + "showThresholdLabels": false, + "showThresholdMarkers": true + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "builder", + "exemplar": false, + "expr": "avg(gala_gopher_disk_util{job=~\"$instance\"})", + "format": "time_series", + "instant": false, + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "磁盘使用率", + "type": "gauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "align": "auto", + "displayMode": "auto", + "filterable": false, + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "percentage", + "steps": [ + { + "color": "green", + "value": null + } + ] + } + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Value" + }, + "properties": [ + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "__name__" + }, + "properties": [ + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "hostname" + }, + "properties": [ + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "instance" + }, + "properties": [ + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "memory_MB" + }, + "properties": [ + { + "id": "unit", + "value": "mbytes" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "job" + }, + "properties": [ + { + "id": "displayName", + "value": "machine" + }, + { + "id": "custom.align", + "value": "auto" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "cpu_num" + }, + "properties": [ + { + "id": "custom.width", + "value": 94 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "host_type" + }, + "properties": [ + { + "id": "custom.width", + "value": 106 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "machine_id" + }, + "properties": [ + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "ip_addr" + }, + "properties": [ + { + "id": "custom.hidden", + "value": true + } + ] + } + ] + }, + "gridPos": { + "h": 10, + "w": 13, + "x": 11, + "y": 1 + }, + "id": 22, + "options": { + "footer": { + "enablePagination": false, + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "gala_gopher_host_value{job=~\"$instance\"}", + "format": "table", + "instant": true, + "interval": "1d", + "legendFormat": "__auto", + "range": false, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "builder", + "exemplar": false, + "expr": "gala_gopher_cpu_total_used_per{job=\"$instance\"}", + "format": "table", + "hide": true, + "instant": true, + "interval": "", + "legendFormat": "__auto", + "range": false, + "refId": "B" + } + ], + "title": "主机信息", + "transformations": [ + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": { + "Time": 7, + "Value": 12, + "__name__": 8, + "cpu_num": 2, + "host_type": 1, + "hostname": 9, + "instance": 10, + "ip_addr": 6, + "job": 0, + "kversion": 4, + "machine_id": 11, + "memory_MB": 3, + "os_version": 5 + }, + "renameByName": { + "cpu_num": "cpu", + "host_type": "type", + "ip_addr": "", + "job": "machine", + "kversion": "", + "memory_MB": "memory", + "os_version": "" + } + } + }, + { + "id": "joinByField", + "options": {} + } + ], + "type": "table" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "mappings": [], + "max": 100, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 11, + "x": 0, + "y": 6 + }, + "id": 24, + "options": { + "displayMode": "lcd", + "minVizHeight": 10, + "minVizWidth": 0, + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_cpu_total_used_per{job=~\"$instance\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "CPU使用率", + "type": "bargauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "mappings": [], + "max": 100, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 11, + "x": 0, + "y": 11 + }, + "id": 26, + "options": { + "displayMode": "lcd", + "minVizHeight": 10, + "minVizWidth": 0, + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "builder", + "expr": "avg by(job) (gala_gopher_mem_util{job=~\"$instance\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "内存使用率", + "type": "bargauge" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "上行(-)/ 下行(+)", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 19, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 10, + "w": 13, + "x": 11, + "y": 11 + }, + "id": 30, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "builder", + "expr": "avg by(job) (gala_gopher_nic_rx_bytes{job=~\"$instance\"}) * -1", + "legendFormat": "{{job}}-rx", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "builder", + "expr": "avg by(job) (gala_gopher_nic_rx_bytes{job=~\"$instance\"}) * 1", + "hide": false, + "legendFormat": "{{job}}-tx", + "range": true, + "refId": "B" + } + ], + "title": "网络流量", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "decimals": 2, + "mappings": [], + "max": 100, + "min": 0, + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green", + "value": null + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 5, + "w": 11, + "x": 0, + "y": 16 + }, + "id": 28, + "options": { + "displayMode": "lcd", + "minVizHeight": 10, + "minVizWidth": 0, + "orientation": "horizontal", + "reduceOptions": { + "calcs": [ + "lastNotNull" + ], + "fields": "", + "values": false + }, + "showUnfilled": true + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "builder", + "expr": "avg by(job) (gala_gopher_disk_util{job=~\"$instance\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "磁盘使用率", + "transformations": [], + "type": "bargauge" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 21 + }, + "id": 6, + "panels": [], + "title": "Cpu 性能", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 22 + }, + "id": 32, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_cpu_total_used_per{job=~\"$instance\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "CPU 使用率", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": -1, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [ + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "k8s1-net-rx" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 22 + }, + "id": 44, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "sum by(job) (gala_gopher_cpu_net_rx{job=~\"$instance\"})", + "legendFormat": "{{job}}-net-rx", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_cpu_backlog_drops{job=~\"$instance\"})", + "hide": false, + "legendFormat": "{{job}}-backlog-drops", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_cpu_rps_count{job=~\"$instance\"})", + "hide": false, + "legendFormat": "{{job}}-rps", + "range": true, + "refId": "C" + } + ], + "title": "CPU 事件", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 30 + }, + "id": 36, + "interval": "5s", + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_cpu_user_msec{job=~\"$instance\"}) + avg by(job) (gala_gopher_cpu_nice_msec{job=~\"$instance\"})", + "format": "time_series", + "hide": false, + "legendFormat": "{{job}}", + "range": true, + "refId": "A" + } + ], + "title": "用户态时间", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 30 + }, + "id": 34, + "interval": "5s", + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_cpu_system_msec{job=~\"$instance\"})", + "format": "time_series", + "hide": false, + "legendFormat": "{{job}}-kernel", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_cpu_iowait_msec{job=~\"$instance\"}) ", + "hide": false, + "legendFormat": "{{job}}-iowait", + "range": true, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_cpu_irq_msec{job=~\"$instance\"})", + "hide": false, + "legendFormat": "{{job}}-irq", + "range": true, + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_cpu_softirq_msec{job=~\"$instance\"}) ", + "hide": false, + "legendFormat": "{{job}}-softirq", + "range": true, + "refId": "D" + } + ], + "title": "内核态时间", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + } + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 38 + }, + "id": 40, + "options": { + "legend": { + "calcs": [], + "displayMode": "list", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "builder", + "expr": "sum by(job) (gala_gopher_cpu_sched{job=~\"$instance\"})", + "legendFormat": "{{job}}-rcu", + "range": true, + "refId": "A" + } + ], + "title": "调度中断次数", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 46 + }, + "id": 12, + "panels": [], + "title": "内存性能", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 1, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 47 + }, + "id": 50, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_mem_util{job=~\"$instance\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "内存使用率", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 15, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 1, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 47 + }, + "id": 52, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_mem_swap_util{job=~\"$instance\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "Swap使用率", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "linear", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 1, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 55 + }, + "id": 56, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "right", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_mem_dentry{job=~\"$instance\"})", + "legendFormat": "{{job}}-dentry", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_mem_unused_dentry{job=~\"$instance\"})", + "hide": false, + "legendFormat": "{{job}}-unused-dentry", + "range": true, + "refId": "B" + } + ], + "title": "Mem Dentry", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto", + "inspect": false + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "kbytes" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Value #A" + }, + "properties": [ + { + "id": "displayName", + "value": "mem_total" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #B" + }, + "properties": [ + { + "id": "displayName", + "value": "mem_free" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #C" + }, + "properties": [ + { + "id": "displayName", + "value": "mem_available" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #D" + }, + "properties": [ + { + "id": "displayName", + "value": "mem_util" + }, + { + "id": "custom.displayMode", + "value": "lcd-gauge" + }, + { + "id": "unit", + "value": "percent" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #E" + }, + "properties": [ + { + "id": "displayName", + "value": "swap_total" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #F" + }, + "properties": [ + { + "id": "displayName", + "value": "swap_free" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #G" + }, + "properties": [ + { + "id": "displayName", + "value": "swap_util" + }, + { + "id": "custom.displayMode", + "value": "lcd-gauge" + }, + { + "id": "unit", + "value": "percent" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #H" + }, + "properties": [ + { + "id": "displayName", + "value": "mem_buffers" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #I" + }, + "properties": [ + { + "id": "displayName", + "value": "mem_cache" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #J" + }, + "properties": [ + { + "id": "displayName", + "value": "mem_active" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Value #K" + }, + "properties": [ + { + "id": "displayName", + "value": "mem_inactive" + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "job" + }, + "properties": [ + { + "id": "displayName", + "value": "host" + } + ] + } + ] + }, + "gridPos": { + "h": 11, + "w": 24, + "x": 0, + "y": 63 + }, + "id": 54, + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "frameIndex": 0, + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "avg by(job) (gala_gopher_mem_total_kB{job=~\"$instance\"})", + "format": "table", + "hide": false, + "instant": true, + "interval": "1d", + "legendFormat": "{{job}}-total", + "range": false, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "avg by(job) (gala_gopher_mem_free_kB{job=~\"$instance\"})", + "format": "table", + "hide": false, + "instant": true, + "interval": "1d", + "legendFormat": "{{job}}-free", + "range": false, + "refId": "B" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "avg by(job) (gala_gopher_mem_available_kB{job=~\"$instance\"})", + "format": "table", + "hide": false, + "instant": true, + "interval": "1d", + "legendFormat": "{{job}}-free", + "range": false, + "refId": "C" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "avg by(job) (gala_gopher_mem_util{job=~\"$instance\"})", + "format": "table", + "hide": false, + "instant": true, + "interval": "1d", + "legendFormat": "{{job}}-mem_util", + "range": false, + "refId": "D" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "avg by(job) (gala_gopher_mem_swap_total_kB{job=~\"$instance\"})", + "format": "table", + "hide": false, + "instant": true, + "interval": "1d", + "legendFormat": "__auto", + "range": false, + "refId": "E" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "avg by(job) (gala_gopher_mem_swap_free_kB{job=~\"$instance\"})", + "format": "table", + "hide": false, + "instant": true, + "interval": "1d", + "legendFormat": "__auto", + "range": false, + "refId": "F" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "avg by(job) (gala_gopher_mem_swap_util{job=~\"$instance\"})", + "format": "table", + "hide": false, + "instant": true, + "interval": "1d", + "legendFormat": "__auto", + "range": false, + "refId": "G" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "avg by(job) (gala_gopher_mem_buffers_kB{job=~\"$instance\"})", + "format": "table", + "hide": false, + "instant": true, + "interval": "1d", + "legendFormat": "__auto", + "range": false, + "refId": "H" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "avg by(job) (gala_gopher_mem_cache_kB{job=~\"$instance\"})", + "format": "table", + "hide": false, + "instant": true, + "interval": "1d", + "legendFormat": "__auto", + "range": false, + "refId": "I" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "avg by(job) (gala_gopher_mem_active_kB{job=~\"$instance\"})", + "format": "table", + "hide": false, + "instant": true, + "interval": "1d", + "legendFormat": "__auto", + "range": false, + "refId": "J" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "avg by(job) (gala_gopher_mem_inactive_kB{job=~\"$instance\"})", + "format": "table", + "hide": false, + "instant": true, + "interval": "1d", + "legendFormat": "__auto", + "range": false, + "refId": "K" + } + ], + "title": "内存信息", + "transformations": [ + { + "id": "merge", + "options": {} + } + ], + "type": "table" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 74 + }, + "id": 10, + "panels": [], + "title": "网络性能", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 75 + }, + "id": 60, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "sum by(job) (gala_gopher_net_tcp_curr_estab{job=~\"$instance\"}) * 1", + "hide": false, + "legendFormat": "{{job}}-tcp-estabs", + "range": true, + "refId": "A" + } + ], + "title": "TCP 连接数", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [ + { + "__systemRef": "hideSeriesFrom", + "matcher": { + "id": "byNames", + "options": { + "mode": "exclude", + "names": [ + "k8s1-tcp-errs" + ], + "prefix": "All except:", + "readOnly": true + } + }, + "properties": [ + { + "id": "custom.hideFrom", + "value": { + "legend": false, + "tooltip": false, + "viz": true + } + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 75 + }, + "id": 66, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "sum by(job) (gala_gopher_net_tcp_in_errs{job=~\"$instance\"}) * 1", + "hide": false, + "legendFormat": "{{job}}-tcp-errs", + "range": true, + "refId": "A" + } + ], + "title": "Tcp 错包数", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 83 + }, + "id": 64, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "sum by(job) (gala_gopher_net_tcp_retrans_segs{job=~\"$instance\"}) * 1", + "hide": false, + "legendFormat": "{{job}}-tcp-retrans-segs", + "range": true, + "refId": "A" + } + ], + "title": "TCP 重传分片数", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "KBs" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 83 + }, + "id": 80, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "(gala_gopher_nic_rxspeed_KB{job=~\"$instance\"}) * 1", + "hide": false, + "legendFormat": "{{job}}-{{dev_name}}-rx", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "(gala_gopher_nic_txspeed_KB{job=~\"$instance\"}) * -1", + "hide": false, + "legendFormat": "{{job}}-{{dev_name}}-rx", + "range": true, + "refId": "B" + } + ], + "title": "网卡 收发速度", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 91 + }, + "id": 70, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "(gala_gopher_nic_rx_errs{job=~\"$instance\"}) * 1", + "hide": false, + "legendFormat": "{{job}}-{{dev_name}}-rx", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "(gala_gopher_nic_tx_errs{job=~\"$instance\"}) * -1", + "hide": false, + "legendFormat": "{{job}}-{{dev_name}}-tx", + "range": true, + "refId": "B" + } + ], + "title": "网卡 错包数", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 91 + }, + "id": 113, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "(gala_gopher_nic_rx_dropped{job=~\"$instance\"}) * 1", + "hide": false, + "legendFormat": "{{job}}-{{dev_name}}-rx", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "(gala_gopher_nic_tx_dropped{job=~\"$instance\"}) * -1", + "hide": false, + "legendFormat": "{{job}}-{{dev_name}}-tx", + "range": true, + "refId": "B" + } + ], + "title": "网卡 丢包数", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 99 + }, + "id": 115, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "(gala_gopher_nic_tc_sent_drop{job=~\"$instance\"}) * 1", + "hide": false, + "legendFormat": "{{job}}-{{dev_name}}-rx", + "range": true, + "refId": "A" + } + ], + "title": "网卡 TC发送丢包数", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 99 + }, + "id": 114, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "(gala_gopher_nic_tc_sent_overlimits{job=~\"$instance\"}) * 1", + "hide": false, + "legendFormat": "{{job}}-{{dev_name}}-rx", + "range": true, + "refId": "A" + } + ], + "title": "网卡 TC发送队列溢出", + "type": "timeseries" + }, + { + "collapsed": false, + "gridPos": { + "h": 1, + "w": 24, + "x": 0, + "y": 107 + }, + "id": 4, + "panels": [], + "title": "IO 性能", + "type": "row" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 15, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 1, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 108 + }, + "id": 87, + "options": { + "legend": { + "calcs": [ + "mean", + "last" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_disk_util{job=~\"$instance\"})", + "legendFormat": "__auto", + "range": true, + "refId": "A" + } + ], + "title": "磁盘使用率", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 15, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 1, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "KiBs" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 108 + }, + "id": 91, + "options": { + "legend": { + "calcs": [ + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_disk_rspeed_kB{job=~\"$instance\"})", + "legendFormat": "{{job}}-rspeed", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_disk_rspeed_kB{job=~\"$instance\"}) * -1", + "hide": false, + "legendFormat": "{{job}}-wspeed", + "range": true, + "refId": "B" + } + ], + "title": "磁盘读写速率", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 15, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 1, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "ms" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 116 + }, + "id": 93, + "interval": "5", + "options": { + "legend": { + "calcs": [ + "mean", + "last" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_disk_r_await{job=~\"$instance\"})", + "legendFormat": "{{job}}-rawait", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_disk_w_await{job=~\"$instance\"}) * -1", + "hide": false, + "legendFormat": "{{job}}-wawait", + "range": true, + "refId": "B" + } + ], + "title": "磁盘读写响应时间", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 15, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 1, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 116 + }, + "id": 95, + "options": { + "legend": { + "calcs": [ + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_disk_rspeed{job=~\"$instance\"})", + "legendFormat": "{{job}}-rspeed", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_disk_wspeed{job=~\"$instance\"}) * -1", + "hide": false, + "legendFormat": "{{job}}-wspeed", + "range": true, + "refId": "B" + } + ], + "title": "磁盘吞吐量", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "description": "", + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 15, + "gradientMode": "none", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineWidth": 2, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": false, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "decimals": 1, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "none" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 124 + }, + "id": 89, + "interval": "5s", + "options": { + "legend": { + "calcs": [ + "mean", + "last" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "pluginVersion": "9.3.1", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_disk_rareq{job=~\"$instance\"})", + "legendFormat": "{{job}}-rareq", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "avg by(job) (gala_gopher_disk_wareq{job=~\"$instance\"}) * -1", + "hide": false, + "legendFormat": "{{job}}-wareq", + "range": true, + "refId": "B" + } + ], + "title": "磁盘饱和度", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "thresholds" + }, + "custom": { + "align": "auto", + "displayMode": "auto", + "inspect": false + }, + "decimals": 2, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "percent" + }, + "overrides": [ + { + "matcher": { + "id": "byName", + "options": "Time" + }, + "properties": [ + { + "id": "custom.hidden", + "value": true + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "Util" + }, + "properties": [ + { + "id": "custom.displayMode", + "value": "basic" + }, + { + "id": "max", + "value": 100 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "host" + }, + "properties": [ + { + "id": "custom.width", + "value": 226 + } + ] + }, + { + "matcher": { + "id": "byName", + "options": "disk_name" + }, + "properties": [ + { + "id": "custom.width", + "value": 226 + } + ] + } + ] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 124 + }, + "id": 99, + "options": { + "footer": { + "fields": "", + "reducer": [ + "sum" + ], + "show": false + }, + "frameIndex": 0, + "showHeader": true, + "sortBy": [] + }, + "pluginVersion": "9.3.14", + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "exemplar": false, + "expr": "avg by(job, disk_name) (gala_gopher_disk_util{job=~\"$instance\"})", + "format": "table", + "hide": false, + "instant": true, + "interval": "", + "legendFormat": "__auto", + "range": false, + "refId": "A" + } + ], + "title": "磁盘信息", + "transformations": [ + { + "id": "organize", + "options": { + "excludeByName": {}, + "indexByName": { + "Time": 2, + "Value": 3, + "disk_name": 1, + "job": 0 + }, + "renameByName": { + "Value": "Util", + "job": "host" + } + } + } + ], + "type": "table" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "decbytes" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 132 + }, + "id": 101, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "sum by(job) (gala_gopher_block_write_bytes{job=~\"$instance\"}) * 1", + "hide": false, + "legendFormat": "{{job}}-write", + "range": true, + "refId": "A" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "sum by(job) (gala_gopher_block_read_bytes{job=~\"$instance\"}) * -1", + "hide": false, + "legendFormat": "{{job}}-read", + "range": true, + "refId": "B" + } + ], + "title": "Block 读写字节数", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "µs" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 132 + }, + "id": 107, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "sum by(job) (gala_gopher_block_latency_driver_max{job=~\"$instance\"}) * 1", + "hide": false, + "legendFormat": " {{job}}-driver", + "range": true, + "refId": "C" + } + ], + "title": "Block Latency Driver Max", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "µs" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 0, + "y": 140 + }, + "id": 103, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "sum by(job) (gala_gopher_block_latency_req_max{job=~\"$instance\"}) * 1", + "hide": false, + "legendFormat": " {{job}}-req", + "range": true, + "refId": "A" + } + ], + "title": "Block Latency Req Max", + "type": "timeseries" + }, + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "fieldConfig": { + "defaults": { + "color": { + "mode": "palette-classic" + }, + "custom": { + "axisCenteredZero": false, + "axisColorMode": "text", + "axisLabel": "", + "axisPlacement": "auto", + "barAlignment": 0, + "drawStyle": "line", + "fillOpacity": 0, + "gradientMode": "opacity", + "hideFrom": { + "legend": false, + "tooltip": false, + "viz": false + }, + "lineInterpolation": "smooth", + "lineStyle": { + "fill": "solid" + }, + "lineWidth": 1, + "pointSize": 5, + "scaleDistribution": { + "type": "linear" + }, + "showPoints": "never", + "spanNulls": true, + "stacking": { + "group": "A", + "mode": "none" + }, + "thresholdsStyle": { + "mode": "off" + } + }, + "mappings": [], + "thresholds": { + "mode": "absolute", + "steps": [ + { + "color": "green" + }, + { + "color": "red", + "value": 80 + } + ] + }, + "unit": "µs" + }, + "overrides": [] + }, + "gridPos": { + "h": 8, + "w": 12, + "x": 12, + "y": 140 + }, + "id": 105, + "options": { + "legend": { + "calcs": [ + "last", + "mean" + ], + "displayMode": "table", + "placement": "bottom", + "showLegend": true + }, + "tooltip": { + "mode": "single", + "sort": "none" + } + }, + "targets": [ + { + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "editorMode": "code", + "expr": "sum by(job) (gala_gopher_block_latency_device_max{job=~\"$instance\"}) * 1", + "hide": false, + "legendFormat": " {{job}}-device", + "range": true, + "refId": "B" + } + ], + "title": "Block Latency Device Max", + "type": "timeseries" + } + ], + "refresh": false, + "schemaVersion": 37, + "style": "dark", + "tags": [ + "System Performance" + ], + "templating": { + "list": [ + { + "current": {}, + "datasource": { + "type": "prometheus", + "uid": "${DS_PROMETHEUS-DFS}" + }, + "definition": "label_values(gala_gopher_host_value{}, job)", + "hide": 0, + "includeAll": true, + "label": "", + "multi": true, + "name": "instance", + "options": [], + "query": { + "query": "label_values(gala_gopher_host_value{}, job)", + "refId": "StandardVariableQuery" + }, + "refresh": 1, + "regex": "", + "skipUrlSync": false, + "sort": 0, + "type": "query" + } + ] + }, + "time": { + "from": "now-30m", + "to": "now" + }, + "timepicker": {}, + "timezone": "", + "title": "System Performance Monitor", + "uid": "biWIqa6Vk", + "version": 36, + "weekStart": "" +} \ No newline at end of file