forked from ccfos/huatuo
5204 lines
149 KiB
JSON
5204 lines
149 KiB
JSON
{
|
||
"annotations": {
|
||
"list": [
|
||
{
|
||
"builtIn": 1,
|
||
"datasource": "-- 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": 39,
|
||
"iteration": 1734491603575,
|
||
"links": [],
|
||
"liveNow": false,
|
||
"panels": [
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 0
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 5,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "$case{Host=~\"$host\"}",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{CtHost}}:{{CtType}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "case:$case",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "auto",
|
||
"displayMode": "auto"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 9
|
||
},
|
||
"id": 33,
|
||
"links": [],
|
||
"options": {
|
||
"footer": {
|
||
"fields": "",
|
||
"reducer": [
|
||
"sum"
|
||
],
|
||
"show": false
|
||
},
|
||
"showHeader": true
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_cpu_util_container_usr{Host=~\"$host\"}",
|
||
"format": "table",
|
||
"interval": "",
|
||
"legendFormat": "",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "宿主机容器列表($host)",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"CtHostNS": false,
|
||
"CtLevel": false,
|
||
"CtType": false,
|
||
"Host": true,
|
||
"Time": true,
|
||
"Value": true,
|
||
"__name__": true,
|
||
"instance": true,
|
||
"job": true,
|
||
"region": true
|
||
},
|
||
"indexByName": {},
|
||
"renameByName": {
|
||
"CtHost": "",
|
||
"CtType": ""
|
||
}
|
||
}
|
||
},
|
||
{
|
||
"id": "groupBy",
|
||
"options": {
|
||
"fields": {
|
||
"CtHost": {
|
||
"aggregations": [],
|
||
"operation": "groupby"
|
||
},
|
||
"CtLevel": {
|
||
"aggregations": [],
|
||
"operation": "groupby"
|
||
},
|
||
"CtType": {
|
||
"aggregations": [],
|
||
"operation": "groupby"
|
||
}
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 18
|
||
},
|
||
"id": 38,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 10,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"lineInterpolation": "linear",
|
||
"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": "mbytes"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 19
|
||
},
|
||
"id": 39,
|
||
"links": [],
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [
|
||
"mean",
|
||
"max",
|
||
"min"
|
||
],
|
||
"displayMode": "table",
|
||
"placement": "right"
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_vmstat_pgsteal_direct{Host=~\"$host\"}/256",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{CtHost}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "$host全局直接回收(累计值)",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 10,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"lineInterpolation": "linear",
|
||
"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": "mbytes"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 28
|
||
},
|
||
"id": 40,
|
||
"links": [],
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [
|
||
"mean",
|
||
"max",
|
||
"min"
|
||
],
|
||
"displayMode": "table",
|
||
"placement": "right"
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_vmstat_pgsteal_kswapd{Host=~\"$host\"}/256",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{CtHost}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "$host kswapd回收(累计值)",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 10,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"lineInterpolation": "linear",
|
||
"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": "mbytes"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 37
|
||
},
|
||
"id": 41,
|
||
"links": [],
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [
|
||
"mean",
|
||
"max",
|
||
"min"
|
||
],
|
||
"displayMode": "table",
|
||
"placement": "right"
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_vmstat_nr_dirty{Host=~\"$host\"}/256",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{CtHost}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "$host 脏页量(实时值)",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 10,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"lineInterpolation": "linear",
|
||
"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": "mbytes"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 46
|
||
},
|
||
"id": 42,
|
||
"links": [],
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [
|
||
"mean",
|
||
"max",
|
||
"min"
|
||
],
|
||
"displayMode": "table",
|
||
"placement": "right"
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_vmstat_nr_writeback{Host=~\"$host\"}/256",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{CtHost}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "$host 正在回写的量(实时值)",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 10,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"lineInterpolation": "linear",
|
||
"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": "mbytes"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 55
|
||
},
|
||
"id": 43,
|
||
"links": [],
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [
|
||
"mean",
|
||
"max",
|
||
"min"
|
||
],
|
||
"displayMode": "table",
|
||
"placement": "right"
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_vmstat_nr_free_pages{Host=~\"$host\"}/256",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{CtHost}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "$host 空闲页面量(实时值)",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 10,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"lineInterpolation": "linear",
|
||
"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": "mbytes"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 64
|
||
},
|
||
"id": 44,
|
||
"links": [],
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [
|
||
"mean",
|
||
"max",
|
||
"min"
|
||
],
|
||
"displayMode": "table",
|
||
"placement": "right"
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_vmstat_nr_inactive_file{Host=~\"$host\"}/256 + huatuo_bamai_vmstat_nr_active_file{Host=~\"$host\"}/256",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{CtHost}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "$host page cache(实时值)",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 10,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"lineInterpolation": "linear",
|
||
"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": "mbytes"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 73
|
||
},
|
||
"id": 45,
|
||
"links": [],
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [
|
||
"mean",
|
||
"max",
|
||
"min"
|
||
],
|
||
"displayMode": "table",
|
||
"placement": "right"
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_vmstat_nr_inactive_anon{Host=~\"$host\"}/256 + huatuo_bamai_vmstat_nr_active_anon{Host=~\"$host\"}/256",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{CtHost}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "$host 匿名页(含shmem)(实时值)",
|
||
"type": "timeseries"
|
||
}
|
||
],
|
||
"title": "Memory",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 19
|
||
},
|
||
"id": 4,
|
||
"panels": [
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 20
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 2,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_cpu_util_usr{Host=~\"$host\"}",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{CtHost}}:{{CtType}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "宿主机usr",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 29
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 28,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_cpu_util_sys{Host=~\"$host\"}",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{CtHost}}:{{CtType}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "宿主机sys",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 38
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 6,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"sort": "min",
|
||
"sortDesc": false,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_cpu_util_container_usr{Host=~\"$host\"}",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{CtHost}}:{{CtType}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "容器usr",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "none",
|
||
"logBase": 1,
|
||
"max": "100",
|
||
"min": "0",
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 47
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 29,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_cpu_util_container_sys{Host=~\"$host\"}",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{CtHost}}:{{CtType}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "容器sys",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 56
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 30,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_cpu_stat_container_exter_wait_rate{Host=~\"$host\"}",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{CtHost}}:{{CtType}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "容器外部争抢",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 65
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 31,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_cpu_stat_container_inner_wait_rate{Host=~\"$host\"}",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{CtHost}}:{{CtType}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "容器内部争抢",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 74
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 32,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_cpu_stat_container_throttle_wait_rate{Host=~\"$host\"}",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{CtHost}}:{{CtType}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "容器throttle",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
}
|
||
],
|
||
"title": "CPU",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 20
|
||
},
|
||
"id": 10,
|
||
"panels": [
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"unit": "binBps"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 4
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 11,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netdev_receive_bytes_total{Host=~\"$host\"}[30s])",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{device}}",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netdev_container_receive_bytes_total{Host=~\"$host\"}[30s])",
|
||
"hide": false,
|
||
"interval": "",
|
||
"legendFormat": "{{CtHost}}",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "receive_bytes_total(Byte/s)",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "binBps",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"unit": "pps"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 13
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 12,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netdev_receive_packets_total{Host=~\"$host\"}[30s])",
|
||
"hide": false,
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{device}}",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netdev_container_receive_packets_total{Host=~\"$host\"}[30s])",
|
||
"hide": false,
|
||
"interval": "",
|
||
"legendFormat": "{{CtHost}}",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "receive_packets_total(packets/s)",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "pps",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"unit": "binBps"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 22
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 13,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netdev_transmit_bytes_total{Host=~\"$host\"}[30s])",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{device}}",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netdev_container_transmit_bytes_total{Host=~\"$host\"}[30s])",
|
||
"hide": false,
|
||
"interval": "",
|
||
"legendFormat": "{{CtHost}}",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "transmit_bytes_total(Byte/s)",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "binBps",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"unit": "pps"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 31
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 14,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netdev_transmit_packets_total{Host=~\"$host\"}[30s])",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}/{{device}}",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netdev_container_transmit_packets_total{Host=~\"$host\"}[30s])",
|
||
"hide": false,
|
||
"interval": "",
|
||
"legendFormat": "{{CtHost}}",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "transmit_packets_total(packets/s)",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "pps",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"unit": "pps"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 40
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 15,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netdev_receive_dropped_total{Host=~\"$host\"}[30s])",
|
||
"interval": "",
|
||
"legendFormat": "dropped: {{device}}",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netdev_receive_errors_total{Host=~\"$host\"}[30s])",
|
||
"hide": false,
|
||
"interval": "",
|
||
"legendFormat": "errors: {{device}}",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "接收方向异常统计(packets/s)",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "pps",
|
||
"logBase": 1,
|
||
"min": "0",
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"unit": "pps"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 1,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 49
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 16,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netdev_transmit_dropped_total{Host=~\"$host\"}[30s])",
|
||
"interval": "",
|
||
"legendFormat": "dropped: {{device}}",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netdev_transmit_errors_total{Host=~\"$host\"}[30s])",
|
||
"hide": false,
|
||
"interval": "",
|
||
"legendFormat": "errors: {{device}}",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netdev_transmit_carrier_total{Host=~\"$host\"}[30s])",
|
||
"hide": false,
|
||
"interval": "",
|
||
"legendFormat": "carrier: {{device}}",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netdev_transmit_colls_total{Host=~\"$host\"}[30s])",
|
||
"hide": false,
|
||
"interval": "",
|
||
"legendFormat": "colls: {{device}}",
|
||
"refId": "D"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "发送方向异常统计(packets/s)",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "pps",
|
||
"logBase": 1,
|
||
"min": "0",
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"unit": "binBps"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 58
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 17,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": true,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_qdisc_bytes_total{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{device}}/{{kind}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "qdisc_bytes_total(MiB/s)",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "binBps",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 67
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 18,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": true,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_qdisc_packets_total{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{device}}/{{kind}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "qdisc_packets_total(packets/s)",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "pps",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 76
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 19,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"sort": "max",
|
||
"sortDesc": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_qdisc_drops_total{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "drops: {{device}}/{{kind}}",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_qdisc_overlimits_total{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "overlimits: {{device}}/{{kind}}",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_qdisc_requeues_total{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "requeues: {{device}}/{{kind}}",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_qdisc_backlog{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "backlog: {{device}}/{{kind}}",
|
||
"refId": "D"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "QDisc 异常统计(packets/s)",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "pps",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 85
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 20,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": true,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_arp_total{Host=~\"$host\"}",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "Total:",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_arp_entries{Host=~\"$host\"}",
|
||
"format": "time_series",
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{Host}}",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_arp_container_entries{Host=~\"$host\"}",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{CtHost}}",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "arp",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "none",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 94
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 21,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": true,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_sockstat_TCP_inuse{Host=~\"$host\"}",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{Host}}",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_sockstat_container_TCP_inuse{Host=~\"$host\"}",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{CtHost}}",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "TCP inuse(sockets)",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "none",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 103
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 22,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": true,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_sockstat_TCP_tw{Host=~\"$host\"}",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{Host}}",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_sockstat_container_TCP_tw{Host=~\"$host\"}",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{CtHost}}",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "TCP tw(sockets)",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "none",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 112
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 24,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": true,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_sockstat_sockets_used{Host=~\"$host\"}",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{Host}}",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_sockstat_container_sockets_used{Host=~\"$host\"}",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{CtHost}}",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "all sockets",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "none",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"unit": "bytes"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 121
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 23,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": true,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": false,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_sockstat_TCP_mem_bytes{Host=~\"$host\"}",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "TCP mem_bytes",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "bytes",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"unit": "bytes"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 130
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 58,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": true,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": false,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_sockstat_UDP_mem_bytes{Host=~\"$host\"}",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "",
|
||
"refId": "C"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "UDP mem_bytes",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "bytes",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 139
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 59,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": true,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_sockstat_UDP_inuse{Host=~\"$host\"}",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{Host}}",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_sockstat_container_UDP_inuse{Host=~\"$host\"}",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "{{CtHost}}",
|
||
"refId": "B"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "UDP inuse(sockets)",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "none",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 148
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 25,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_Tcp_InSegs{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "InSegs",
|
||
"refId": "F"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_Tcp_OutSegs{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "OutSegs",
|
||
"refId": "G"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPDelivered{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPDelivered",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPOrigDataSent{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPOrigDataSent",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_Tcp_ActiveOpens{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "ActiveOpens",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "huatuo_bamai_netstat_Tcp_CurrEstab{Host=~\"$host\"}",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "CurrEstab",
|
||
"refId": "D"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_Tcp_PassiveOpens{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "PassiveOpens",
|
||
"refId": "E"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "netstat 统计",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"transformations": [],
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"min": "0",
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 157
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 27,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_ListenDrops{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "ListenDrops",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_ListenOverflows{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "ListenOverflows",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPReqQFullDoCookies{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPReqQFullDoCookies",
|
||
"refId": "J"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_PFMemallocDrop{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "PFMemallocDrop",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPBacklogDrop{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPBacklogDrop",
|
||
"refId": "D"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPRcvQDrop{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPRcvQDrop",
|
||
"refId": "I"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPTimeouts{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPTimeouts",
|
||
"refId": "L"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPLossFailures{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPLossFailures",
|
||
"refId": "E"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPSACKDiscard{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPSACKDiscard",
|
||
"refId": "F"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPMemoryPressures{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPMemoryPressures",
|
||
"refId": "G"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPMinTTLDrop{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPMinTTLDrop",
|
||
"refId": "H"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPMinTTLDrop{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPMinTTLDrop",
|
||
"refId": "K"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPTimeWaitOverflow{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPTimeWaitOverflow",
|
||
"refId": "M"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "netstat 丢包",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"min": "0",
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 166
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 26,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_Tcp_InErrs{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "InErrs",
|
||
"refId": "J"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_Tcp_InCsumErrors{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "InCsumErrors",
|
||
"refId": "I"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPAbortOnMemory{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPAbortOnMemory",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPAbortOnTimeout{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPAbortOnTimeout",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPRetransFail{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPRetransFail",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPSackFailures{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPSackFailures",
|
||
"refId": "D"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPSackFailures{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPSackRecoveryFail",
|
||
"refId": "E"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_SyncookiesFailed{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "SyncookiesFailed",
|
||
"refId": "F"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPWqueueTooBig{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPWqueueTooBig",
|
||
"refId": "G"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_Tcp_AttemptFails{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "AttemptFails",
|
||
"refId": "H"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "netstat 错误",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"min": "0",
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 175
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 36,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_Tcp_RetransSegs{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "RetransSegs",
|
||
"refId": "F"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPSynRetrans{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPSynRetrans",
|
||
"refId": "E"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPFastRetrans{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPFastRetrans",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPSlowStartRetrans{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPSlowStartRetrans",
|
||
"refId": "A"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPSpuriousRTOs{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPSpuriousRTOs",
|
||
"refId": "B"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_TCPSpuriousRtxHostQueues{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "TCPSpuriousRtxHostQueues",
|
||
"refId": "D"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "netstat 重传",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"min": "0",
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 184
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 35,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"links": [],
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_PruneCalled{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "PruneCalled",
|
||
"refId": "C"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "rate(huatuo_bamai_netstat_TcpExt_RcvPruned{Host=~\"$host\"}[30s])",
|
||
"format": "time_series",
|
||
"hide": false,
|
||
"instant": false,
|
||
"interval": "",
|
||
"intervalFactor": 1,
|
||
"legendFormat": "RcvPruned",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "netstat 内存不足 && 拥塞",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"$$hashKey": "object:380",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"min": "0",
|
||
"show": true
|
||
},
|
||
{
|
||
"$$hashKey": "object:381",
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
}
|
||
],
|
||
"title": "Network",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": false,
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 21
|
||
},
|
||
"id": 67,
|
||
"panels": [],
|
||
"title": "IO",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 22
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 65,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "increase(huatuo_bamai_iolatency_disk_flush{Host=~\"$host\"}[5m])",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}},disk={{disk}} [{{latency}}]",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "宿主机磁盘flush延迟超过20ms统计(5分钟增量)",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 30
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 63,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": true,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "increase(huatuo_bamai_iolatency_disk_q2c{Host=~\"$host\"}[5m])",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}},disk={{disk}} [{{latency}}]",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "宿主机磁盘q2c延迟超过20ms统计(5分钟增量)",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"aliasColors": {},
|
||
"bars": false,
|
||
"dashLength": 10,
|
||
"dashes": false,
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fill": 0,
|
||
"fillGradient": 0,
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 39
|
||
},
|
||
"hiddenSeries": false,
|
||
"id": 61,
|
||
"legend": {
|
||
"alignAsTable": true,
|
||
"avg": true,
|
||
"current": false,
|
||
"hideZero": true,
|
||
"max": true,
|
||
"min": true,
|
||
"rightSide": true,
|
||
"show": true,
|
||
"total": false,
|
||
"values": true
|
||
},
|
||
"lines": true,
|
||
"linewidth": 1,
|
||
"nullPointMode": "null",
|
||
"options": {
|
||
"alertThreshold": true
|
||
},
|
||
"percentage": false,
|
||
"pluginVersion": "8.3.7",
|
||
"pointradius": 2,
|
||
"points": false,
|
||
"renderer": "flot",
|
||
"seriesOverrides": [],
|
||
"spaceLength": 10,
|
||
"stack": false,
|
||
"steppedLine": false,
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "increase(huatuo_bamai_iolatency_disk_d2c{Host=~\"$host\"}[5m])",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}},disk={{disk}} [{{latency}}]",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"thresholds": [],
|
||
"timeRegions": [],
|
||
"title": "宿主机磁盘d2c延迟超过20ms统计(5分钟增量)",
|
||
"tooltip": {
|
||
"shared": true,
|
||
"sort": 2,
|
||
"value_type": "individual"
|
||
},
|
||
"type": "graph",
|
||
"xaxis": {
|
||
"mode": "time",
|
||
"show": true,
|
||
"values": []
|
||
},
|
||
"yaxes": [
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
},
|
||
{
|
||
"format": "short",
|
||
"logBase": 1,
|
||
"show": true
|
||
}
|
||
],
|
||
"yaxis": {
|
||
"align": false
|
||
}
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 47
|
||
},
|
||
"id": 47,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"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"
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "kbytes"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 22
|
||
},
|
||
"id": 57,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [
|
||
"min",
|
||
"max",
|
||
"mean"
|
||
],
|
||
"displayMode": "table",
|
||
"placement": "right"
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "topk(20, huatuo_bamai_runtime_memory_vss{Host=~\"$host\"})",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "huatuo-relay memory vss(只显示前20个)",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 10,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"lineInterpolation": "linear",
|
||
"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": 7,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 30
|
||
},
|
||
"id": 55,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [
|
||
"min",
|
||
"max",
|
||
"mean"
|
||
],
|
||
"displayMode": "table",
|
||
"placement": "right"
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "topk(20,huatuo_bamai_runtime_memory_rss{Host=~\"$host\"})",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "huatuo-relay memory rss(只展示前20个)",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"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"
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
},
|
||
"unit": "kbytes"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 37
|
||
},
|
||
"id": 53,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [
|
||
"min",
|
||
"max",
|
||
"mean"
|
||
],
|
||
"displayMode": "table",
|
||
"placement": "right"
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "topk(20,huatuo_bamai_runtime_memory_cgroup_rss{Host=~\"$host\"})",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "huatuo-relay cgroup RSS(只展示前20个)",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"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": 600000,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 45
|
||
},
|
||
"id": 51,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [
|
||
"min",
|
||
"max",
|
||
"mean"
|
||
],
|
||
"displayMode": "table",
|
||
"placement": "right"
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "topk(20,huatuo_bamai_runtime_cpu_sys{Host=~\"$host\"})",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "huatuo-relay sys cpu(只展示前20个)",
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 10,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"lineInterpolation": "linear",
|
||
"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": "short"
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 8,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 53
|
||
},
|
||
"id": 49,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [
|
||
"max",
|
||
"min",
|
||
"mean"
|
||
],
|
||
"displayMode": "table",
|
||
"placement": "right"
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"exemplar": true,
|
||
"expr": "topk(20,huatuo_bamai_runtime_cpu_user{Host=~\"$host\"})",
|
||
"interval": "",
|
||
"legendFormat": "{{Host}}",
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "huatuo-relay user cpu(只展示前20个)",
|
||
"type": "timeseries"
|
||
}
|
||
],
|
||
"title": "huatuo-relay agent运行时指标",
|
||
"type": "row"
|
||
}
|
||
],
|
||
"refresh": "",
|
||
"schemaVersion": 34,
|
||
"style": "dark",
|
||
"tags": [],
|
||
"templating": {
|
||
"list": [
|
||
{
|
||
"current": {
|
||
"selected": false,
|
||
"text": "hnd",
|
||
"value": "hnd"
|
||
},
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"definition": "label_values(huatuo_bamai_cpu_util_usr, region)",
|
||
"hide": 0,
|
||
"includeAll": false,
|
||
"label": "region",
|
||
"multi": false,
|
||
"name": "region",
|
||
"options": [],
|
||
"query": {
|
||
"query": "label_values(huatuo_bamai_cpu_util_usr, region)",
|
||
"refId": "StandardVariableQuery"
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 2,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {
|
||
"selected": false,
|
||
"text": "ddcloud-kube-node1000.jy01",
|
||
"value": "ddcloud-kube-node1000.jy01"
|
||
},
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"definition": "label_values(huatuo_bamai_cpu_util_usr{region=~\"$region\"}, Host)",
|
||
"hide": 0,
|
||
"includeAll": true,
|
||
"label": "host",
|
||
"multi": true,
|
||
"name": "host",
|
||
"options": [],
|
||
"query": {
|
||
"query": "label_values(huatuo_bamai_cpu_util_usr{region=~\"$region\"}, Host)",
|
||
"refId": "StandardVariableQuery"
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 2,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {
|
||
"selected": false,
|
||
"text": "huatuo_bamai_arp_container_entries",
|
||
"value": "huatuo_bamai_arp_container_entries"
|
||
},
|
||
"datasource": {
|
||
"type": "prometheus",
|
||
"uid": "huatuo-bamai-prom"
|
||
},
|
||
"definition": "metrics(huatuo_bamai_)",
|
||
"hide": 0,
|
||
"includeAll": false,
|
||
"label": "case",
|
||
"multi": false,
|
||
"name": "case",
|
||
"options": [],
|
||
"query": {
|
||
"query": "metrics(huatuo_bamai_)",
|
||
"refId": "StandardVariableQuery"
|
||
},
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 2,
|
||
"type": "query"
|
||
}
|
||
]
|
||
},
|
||
"time": {
|
||
"from": "now-6h",
|
||
"to": "now"
|
||
},
|
||
"timepicker": {},
|
||
"timezone": "",
|
||
"title": "Metric 大盘 - 宿主机视图",
|
||
"uid": "metrics-host",
|
||
"version": 165,
|
||
"weekStart": ""
|
||
} |