forked from ccfos/huatuo
11568 lines
339 KiB
JSON
11568 lines
339 KiB
JSON
{
|
||
"annotations": {
|
||
"list": [
|
||
{
|
||
"builtIn": 1,
|
||
"datasource": {
|
||
"type": "datasource",
|
||
"uid": "grafana"
|
||
},
|
||
"enable": true,
|
||
"hide": true,
|
||
"iconColor": "rgba(0, 211, 255, 1)",
|
||
"name": "Annotations & Alerts",
|
||
"target": {
|
||
"limit": 100,
|
||
"matchAny": false,
|
||
"tags": [],
|
||
"type": "dashboard"
|
||
},
|
||
"type": "dashboard"
|
||
}
|
||
]
|
||
},
|
||
"editable": true,
|
||
"fiscalYearStartMonth": 0,
|
||
"graphTooltip": 0,
|
||
"id": 1,
|
||
"links": [],
|
||
"liveNow": false,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"fixedColor": "blue",
|
||
"mode": "fixed"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 9,
|
||
"x": 0,
|
||
"y": 0
|
||
},
|
||
"id": 81,
|
||
"options": {
|
||
"colorMode": "background",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "11.0.0",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "case总数",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 3,
|
||
"x": 9,
|
||
"y": 0
|
||
},
|
||
"id": 83,
|
||
"options": {
|
||
"colorMode": "background",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "11.0.0",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:cpusys AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cpusys",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 3,
|
||
"x": 12,
|
||
"y": 0
|
||
},
|
||
"id": 84,
|
||
"options": {
|
||
"colorMode": "background",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "11.0.0",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:directreclaim AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "directreclaim",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 3,
|
||
"x": 15,
|
||
"y": 0
|
||
},
|
||
"id": 85,
|
||
"options": {
|
||
"colorMode": "background",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "11.0.0",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:ctnDLoad AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "ctnDLoad",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 3,
|
||
"x": 18,
|
||
"y": 0
|
||
},
|
||
"id": 86,
|
||
"options": {
|
||
"colorMode": "background",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "11.0.0",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:dropwatch AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "dropwatch",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 3,
|
||
"x": 21,
|
||
"y": 0
|
||
},
|
||
"id": 90,
|
||
"options": {
|
||
"colorMode": "background",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "11.0.0",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:netrecvlat AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "netrecvlat",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 3,
|
||
"x": 0,
|
||
"y": 5
|
||
},
|
||
"id": 87,
|
||
"options": {
|
||
"colorMode": "background",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "11.0.0",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:hungtask AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "hungtask",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 3,
|
||
"x": 3,
|
||
"y": 5
|
||
},
|
||
"id": 89,
|
||
"options": {
|
||
"colorMode": "background",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "11.0.0",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:memburst AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "memburst",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 3,
|
||
"x": 6,
|
||
"y": 5
|
||
},
|
||
"id": 82,
|
||
"options": {
|
||
"colorMode": "background",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "11.0.0",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:cgroupusage AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cgroupusage",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 3,
|
||
"x": 9,
|
||
"y": 5
|
||
},
|
||
"id": 91,
|
||
"options": {
|
||
"colorMode": "background",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "11.0.0",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:oom AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "oom",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 3,
|
||
"x": 12,
|
||
"y": 5
|
||
},
|
||
"id": 93,
|
||
"options": {
|
||
"colorMode": "background",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "11.0.0",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:softlockup AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "softlockup",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 3,
|
||
"x": 15,
|
||
"y": 5
|
||
},
|
||
"id": 92,
|
||
"options": {
|
||
"colorMode": "background",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "11.0.0",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:softirq AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "softirq",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 3,
|
||
"x": 18,
|
||
"y": 5
|
||
},
|
||
"id": 88,
|
||
"options": {
|
||
"colorMode": "background",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "11.0.0",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:iotracer AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "iotracer",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 5,
|
||
"w": 3,
|
||
"x": 21,
|
||
"y": 5
|
||
},
|
||
"id": 94,
|
||
"options": {
|
||
"colorMode": "background",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "11.0.0",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:waitrate AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "waitrate",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"fixedColor": "blue",
|
||
"mode": "fixed"
|
||
},
|
||
"custom": {
|
||
"axisBorderShow": false,
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 0,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"insertNulls": false,
|
||
"lineInterpolation": "stepBefore",
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "auto",
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 10,
|
||
"w": 16,
|
||
"x": 0,
|
||
"y": 10
|
||
},
|
||
"id": 95,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": false
|
||
},
|
||
"tooltip": {
|
||
"maxHeight": 600,
|
||
"mode": "single",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "case触发时间点",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
}
|
||
},
|
||
"mappings": []
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 10,
|
||
"w": 8,
|
||
"x": 16,
|
||
"y": 10
|
||
},
|
||
"id": 96,
|
||
"options": {
|
||
"displayLabels": [],
|
||
"legend": {
|
||
"displayMode": "list",
|
||
"placement": "right",
|
||
"showLegend": true,
|
||
"values": [
|
||
"percent"
|
||
]
|
||
},
|
||
"pieType": "pie",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"tooltip": {
|
||
"maxHeight": 600,
|
||
"mode": "single",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "cgroupusage",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:cgroupusage AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
},
|
||
{
|
||
"alias": "cpusys",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"hide": false,
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:cpusys AND region:$region AND hostname:$hostname",
|
||
"refId": "B",
|
||
"timeField": "uploaded_time"
|
||
},
|
||
{
|
||
"alias": "directreclaim",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"hide": false,
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:directreclaim AND region:$region AND hostname:$hostname",
|
||
"refId": "C",
|
||
"timeField": "uploaded_time"
|
||
},
|
||
{
|
||
"alias": "ctnDLoad",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"hide": false,
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:ctnDLoad AND region:$region AND hostname:$hostname",
|
||
"refId": "D",
|
||
"timeField": "uploaded_time"
|
||
},
|
||
{
|
||
"alias": "dropwatch",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"hide": false,
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:dropwatch AND region:$region AND hostname:$hostname",
|
||
"refId": "E",
|
||
"timeField": "uploaded_time"
|
||
},
|
||
{
|
||
"alias": "hungtask",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"hide": false,
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:hungtask AND region:$region AND hostname:$hostname",
|
||
"refId": "F",
|
||
"timeField": "uploaded_time"
|
||
},
|
||
{
|
||
"alias": "iotracer",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"hide": false,
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:iotracer AND region:$region AND hostname:$hostname",
|
||
"refId": "G",
|
||
"timeField": "uploaded_time"
|
||
},
|
||
{
|
||
"alias": "memburst",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"hide": false,
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:memburst AND region:$region AND hostname:$hostname",
|
||
"refId": "H",
|
||
"timeField": "uploaded_time"
|
||
},
|
||
{
|
||
"alias": "netrecvlat",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"hide": false,
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:netrecvlat AND region:$region AND hostname:$hostname",
|
||
"refId": "I",
|
||
"timeField": "uploaded_time"
|
||
},
|
||
{
|
||
"alias": "oom",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"hide": false,
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:oom AND region:$region AND hostname:$hostname",
|
||
"refId": "J",
|
||
"timeField": "uploaded_time"
|
||
},
|
||
{
|
||
"alias": "softirq",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"hide": false,
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:softirq AND region:$region AND hostname:$hostname",
|
||
"refId": "K",
|
||
"timeField": "uploaded_time"
|
||
},
|
||
{
|
||
"alias": "softlockup",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"hide": false,
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:softlockup AND region:$region AND hostname:$hostname",
|
||
"refId": "L",
|
||
"timeField": "uploaded_time"
|
||
},
|
||
{
|
||
"alias": "waitrateitle",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"hide": false,
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:waitrateitle AND region:$region AND hostname:$hostname",
|
||
"refId": "M",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "case占比",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "piechart"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 20
|
||
},
|
||
"id": 112,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 21
|
||
},
|
||
"id": 113,
|
||
"options": {
|
||
"content": "触发条件:(原cgroupusage) \n1、sys > 45% \n2、user > 75% && user单位时间(10s)波动 > 30% \n3、usage > 90% && usage单位时间(10s)波动 > 30% \n以上条件符合其中一",
|
||
"mode": "markdown"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:cgroupusage AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cpuidle阈值说明",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 4,
|
||
"y": 21
|
||
},
|
||
"id": 114,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:cpuidle AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cpuidle",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"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"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 16,
|
||
"x": 8,
|
||
"y": 21
|
||
},
|
||
"id": 115,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": false
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:cpuidle AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cpuidle",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "点击跳转火焰图"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "links",
|
||
"value": [
|
||
{
|
||
"title": "",
|
||
"url": "http://10.67.167.19:8091/d/e8094663-66af-4392-a3e2-1d85a72a82e4/huatuo-relay-flamegraph?orgId=1&var-id=${__data.fields.点击跳转火焰图}"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "custom.width",
|
||
"value": 205
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "container_hostname"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 297
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "hostname"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 369
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "deltauser阈值"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 116
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "deltauser"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 120
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "sys阈值"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 108
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "nowsys"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 103
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "user阈值"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 139
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 10,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 30
|
||
},
|
||
"id": 116,
|
||
"options": {
|
||
"footer": {
|
||
"fields": "",
|
||
"reducer": [
|
||
"sum"
|
||
],
|
||
"show": false
|
||
},
|
||
"showHeader": true,
|
||
"sortBy": []
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "100"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:cpuidle AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cpuidle",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": false,
|
||
"_index": true,
|
||
"_type": true,
|
||
"container_host_ns": true,
|
||
"container_hostname": false,
|
||
"container_id": true,
|
||
"container_level": true,
|
||
"container_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"hostname": false,
|
||
"region": true,
|
||
"sort": true,
|
||
"time": true,
|
||
"tracer_data.flamedata": true,
|
||
"tracer_name": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 17,
|
||
"tracer_data.deltauserth": 16,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 20,
|
||
"tracer_data.nowuser": 22,
|
||
"tracer_data.systhreshold": 19,
|
||
"tracer_data.userthreshold": 21,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {
|
||
"_id": "点击跳转火焰图",
|
||
"tracer_data.deltauser": "deltauser",
|
||
"tracer_data.deltauserth": "deltauser阈值",
|
||
"tracer_data.flamedata": "",
|
||
"tracer_data.nowsys": "nowsys",
|
||
"tracer_data.nowuser": "nowuser",
|
||
"tracer_data.systhreshold": "sys阈值",
|
||
"tracer_data.userthreshold": "user阈值"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
}
|
||
],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "cpuidle(原cgroupusage)",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 21
|
||
},
|
||
"id": 7,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 22
|
||
},
|
||
"id": 4,
|
||
"options": {
|
||
"content": "触发条件: \n1、sys > 45% \n2、user > 75% && user单位时间(10s)波动 > 30% \n以上条件符合其中一",
|
||
"mode": "markdown"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:cgroupusage AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cgroupusage阈值说明",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 4,
|
||
"y": 22
|
||
},
|
||
"id": 98,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:cgroupusage AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cgroupusage",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"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"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 16,
|
||
"x": 8,
|
||
"y": 22
|
||
},
|
||
"id": 5,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": false
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:cgroupusage AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cgroupusage",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "点击跳转火焰图"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "links",
|
||
"value": [
|
||
{
|
||
"title": "",
|
||
"url": "http://10.67.167.19:8091/d/e8094663-66af-4392-a3e2-1d85a72a82e4/huatuo-relay-flamegraph?orgId=1&var-id=${__data.fields.点击跳转火焰图}"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "custom.width",
|
||
"value": 205
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "container_hostname"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 297
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "hostname"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 369
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "deltauser阈值"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 116
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "deltauser"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 120
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "sys阈值"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 108
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "nowsys"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 103
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "user阈值"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 139
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 10,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 31
|
||
},
|
||
"id": 3,
|
||
"options": {
|
||
"footer": {
|
||
"fields": "",
|
||
"reducer": [
|
||
"sum"
|
||
],
|
||
"show": false
|
||
},
|
||
"showHeader": true,
|
||
"sortBy": []
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:cgroupusage AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cgroupusage",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": false,
|
||
"_index": true,
|
||
"_type": true,
|
||
"container_host_ns": true,
|
||
"container_hostname": false,
|
||
"container_id": true,
|
||
"container_level": true,
|
||
"container_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"hostname": false,
|
||
"region": true,
|
||
"sort": true,
|
||
"time": true,
|
||
"tracer_data.flamedata": true,
|
||
"tracer_name": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 17,
|
||
"tracer_data.deltauserth": 16,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 20,
|
||
"tracer_data.nowuser": 22,
|
||
"tracer_data.systhreshold": 19,
|
||
"tracer_data.userthreshold": 21,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {
|
||
"_id": "点击跳转火焰图",
|
||
"tracer_data.deltauser": "deltauser",
|
||
"tracer_data.deltauserth": "deltauser阈值",
|
||
"tracer_data.flamedata": "",
|
||
"tracer_data.nowsys": "nowsys",
|
||
"tracer_data.nowuser": "nowuser",
|
||
"tracer_data.systhreshold": "sys阈值",
|
||
"tracer_data.userthreshold": "user阈值"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
}
|
||
],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "cgroupusage",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 22
|
||
},
|
||
"id": 118,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 23
|
||
},
|
||
"id": 119,
|
||
"options": {
|
||
"content": "触发条件: \n1、sys > 50% \n2、sys单位时间(1s)波动 > 30% \n以上条件符合其中一",
|
||
"mode": "markdown"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:cpusys AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cpusys阈值说明",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 4,
|
||
"y": 23
|
||
},
|
||
"id": 120,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:cpusys AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cpusys",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"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"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 16,
|
||
"x": 8,
|
||
"y": 23
|
||
},
|
||
"id": 121,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:cpusys AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cpusys",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "点击跳转火焰图"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "links",
|
||
"value": [
|
||
{
|
||
"title": "",
|
||
"url": "http://10.67.167.19:8091/d/e8094663-66af-4392-a3e2-1d85a72a82e4/huatuo-relay-flamegraph?orgId=1&var-id=${__data.fields.点击跳转火焰图}"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"id": "custom.width",
|
||
"value": 205
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "container_hostname"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 297
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "hostname"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 369
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "deltauser阈值"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 116
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "deltauser"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 120
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "sys阈值"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 108
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "nowsys"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 103
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "user阈值"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 139
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 10,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 32
|
||
},
|
||
"id": 122,
|
||
"options": {
|
||
"footer": {
|
||
"fields": "",
|
||
"reducer": [
|
||
"sum"
|
||
],
|
||
"show": false
|
||
},
|
||
"showHeader": true,
|
||
"sortBy": []
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:cpusys AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cpusys",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": false,
|
||
"_index": true,
|
||
"_type": true,
|
||
"container_host_ns": true,
|
||
"container_hostname": false,
|
||
"container_id": true,
|
||
"container_level": true,
|
||
"container_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"hostname": false,
|
||
"region": true,
|
||
"sort": true,
|
||
"time": true,
|
||
"tracer_data.flamedata": true,
|
||
"tracer_name": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 17,
|
||
"tracer_data.deltauserth": 16,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 20,
|
||
"tracer_data.nowuser": 22,
|
||
"tracer_data.systhreshold": 19,
|
||
"tracer_data.userthreshold": 21,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {
|
||
"_id": "点击跳转火焰图",
|
||
"tracer_data.delta_sys": "deltasys",
|
||
"tracer_data.delta_sys_th": "deltasys阈值",
|
||
"tracer_data.deltauser": "deltauser",
|
||
"tracer_data.deltauserth": "deltauser阈值",
|
||
"tracer_data.flamedata": "",
|
||
"tracer_data.now_sys": "当前sys",
|
||
"tracer_data.nowsys": "nowsys",
|
||
"tracer_data.nowuser": "nowuser",
|
||
"tracer_data.sys_threshold": "sys阈值",
|
||
"tracer_data.systhreshold": "sys阈值",
|
||
"tracer_data.userthreshold": "user阈值"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
}
|
||
],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "cpusys(Flamegraph)",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 23
|
||
},
|
||
"id": 9,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 43
|
||
},
|
||
"id": 15,
|
||
"options": {
|
||
"content": "触发条件: \n1、sys > 50% \n2、sys单位时间(1s)波动 > 30% \n以上条件符合其中一",
|
||
"mode": "markdown"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:cpusys AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cpusys阈值说明",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 4,
|
||
"y": 43
|
||
},
|
||
"id": 99,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:cpusys AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cpusys",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"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"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 16,
|
||
"x": 8,
|
||
"y": 43
|
||
},
|
||
"id": 45,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:cpusys AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cpusys",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "hostname"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 263
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "tracer_time"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 232
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "deltasys"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 89
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "deltasys阈值"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 105
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "sys阈值"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 87
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 12,
|
||
"x": 0,
|
||
"y": 52
|
||
},
|
||
"id": 44,
|
||
"options": {
|
||
"footer": {
|
||
"fields": "",
|
||
"reducer": [
|
||
"sum"
|
||
],
|
||
"show": false
|
||
},
|
||
"showHeader": true,
|
||
"sortBy": []
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:cpusys AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cpusys",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"region": true,
|
||
"sort": true,
|
||
"time": true,
|
||
"tracer_data.in_known_list": true,
|
||
"tracer_data.known_issue": true,
|
||
"tracer_data.stack": true,
|
||
"tracer_name": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"es_index_time": 5,
|
||
"highlight": 6,
|
||
"hostname": 7,
|
||
"region": 8,
|
||
"sort": 9,
|
||
"time": 10,
|
||
"tracer_data.delta_sys": 12,
|
||
"tracer_data.delta_sys_th": 13,
|
||
"tracer_data.in_known_list": 14,
|
||
"tracer_data.known_issue": 15,
|
||
"tracer_data.now_sys": 17,
|
||
"tracer_data.stack": 18,
|
||
"tracer_data.sys_threshold": 16,
|
||
"tracer_name": 11,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {
|
||
"tracer_data.delta_sys": "deltasys",
|
||
"tracer_data.delta_sys_th": "deltasys阈值",
|
||
"tracer_data.now_sys": "nowsys",
|
||
"tracer_data.sys_threshold": "sys阈值"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 12,
|
||
"x": 12,
|
||
"y": 52
|
||
},
|
||
"id": 97,
|
||
"options": {
|
||
"dedupStrategy": "none",
|
||
"enableLogDetails": true,
|
||
"prettifyLogMessage": true,
|
||
"showCommonLabels": false,
|
||
"showLabels": false,
|
||
"showTime": false,
|
||
"sortOrder": "Descending",
|
||
"wrapLogMessage": true
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:cpusys AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "cpusys",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"region": true,
|
||
"sort": true,
|
||
"time": true,
|
||
"tracer_data.delta_sys_th": false,
|
||
"tracer_data.in_known_list": true,
|
||
"tracer_data.known_issue": true,
|
||
"tracer_data.stack": false,
|
||
"tracer_name": true,
|
||
"tracer_time": false,
|
||
"uploaded_time": false
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"es_index_time": 5,
|
||
"highlight": 6,
|
||
"hostname": 7,
|
||
"region": 9,
|
||
"sort": 10,
|
||
"time": 11,
|
||
"tracer_data.delta_sys": 14,
|
||
"tracer_data.delta_sys_th": 13,
|
||
"tracer_data.in_known_list": 17,
|
||
"tracer_data.known_issue": 18,
|
||
"tracer_data.now_sys": 16,
|
||
"tracer_data.stack": 8,
|
||
"tracer_data.sys_threshold": 15,
|
||
"tracer_name": 12,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {
|
||
"tracer_data.delta_sys": "deltasys",
|
||
"tracer_data.delta_sys_th": "deltasys阈值",
|
||
"tracer_data.now_sys": "nowsys",
|
||
"tracer_data.sys_threshold": "sys阈值"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"type": "logs"
|
||
}
|
||
],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "cpusys",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 24
|
||
},
|
||
"id": 23,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 44
|
||
},
|
||
"id": 21,
|
||
"options": {
|
||
"content": "触发条件: \n1、1s的数据抓取时间中,进程在sys态停留累计超过900ms \n// 由于sys态非抢占,所以有的进程时间要长于1s\n",
|
||
"mode": "markdown"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:directreclaim AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "directreclaim阈值说明",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 4,
|
||
"y": 44
|
||
},
|
||
"id": 100,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:directreclaim AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "directreclaim",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"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"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 16,
|
||
"x": 8,
|
||
"y": 44
|
||
},
|
||
"id": 47,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:directreclaim AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "directreclaim",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
},
|
||
"filterable": true
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "tracer_time"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 238
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "hostname"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.filterable",
|
||
"value": true
|
||
},
|
||
{
|
||
"id": "custom.width",
|
||
"value": 344
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "container_host_ns"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 484
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "comm"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 116
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "deltatime"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 204
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "deltatime"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 84
|
||
},
|
||
{
|
||
"id": "unit",
|
||
"value": "ns"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "pid"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 94
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "container_hostname"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 464
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 53
|
||
},
|
||
"id": 48,
|
||
"options": {
|
||
"footer": {
|
||
"fields": "",
|
||
"reducer": [
|
||
"sum"
|
||
],
|
||
"show": false
|
||
},
|
||
"showHeader": true,
|
||
"sortBy": [
|
||
{
|
||
"desc": true,
|
||
"displayName": "deltatime"
|
||
}
|
||
]
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:directreclaim AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "directreclaim",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"container_id": true,
|
||
"container_level": true,
|
||
"container_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"region": true,
|
||
"sort": true,
|
||
"time": true,
|
||
"tracer_name": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 7,
|
||
"container_hostname": 6,
|
||
"container_id": 8,
|
||
"container_level": 9,
|
||
"container_type": 10,
|
||
"es_index_time": 11,
|
||
"highlight": 12,
|
||
"hostname": 5,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.comm": 17,
|
||
"tracer_data.deltatime": 19,
|
||
"tracer_data.pid": 18,
|
||
"tracer_name": 16,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {
|
||
"tracer_data.comm": "comm",
|
||
"tracer_data.deltatime": "deltatime",
|
||
"tracer_data.pid": "pid"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
}
|
||
],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "directreclaim",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 25
|
||
},
|
||
"id": 25,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 26
|
||
},
|
||
"id": 11,
|
||
"options": {
|
||
"content": "触发条件:\n",
|
||
"mode": "markdown"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:ctnDLoad AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "ctnDLoad",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 4,
|
||
"y": 26
|
||
},
|
||
"id": 101,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:ctnDLoad AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "ctnDLoad",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"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"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 16,
|
||
"x": 8,
|
||
"y": 26
|
||
},
|
||
"id": 50,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:ctnDLoad AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "ctnDLoad",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "container_host_ns"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 185
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "tracer_time"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 233
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "container_id"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 160
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 14,
|
||
"x": 0,
|
||
"y": 35
|
||
},
|
||
"id": 51,
|
||
"options": {
|
||
"footer": {
|
||
"fields": "",
|
||
"reducer": [
|
||
"sum"
|
||
],
|
||
"show": false
|
||
},
|
||
"showHeader": true,
|
||
"sortBy": []
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:ctnDLoad AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "ctnDLoad",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"container_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"region": true,
|
||
"sort": true,
|
||
"time": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 10,
|
||
"x": 14,
|
||
"y": 35
|
||
},
|
||
"id": 52,
|
||
"options": {
|
||
"dedupStrategy": "none",
|
||
"enableLogDetails": true,
|
||
"prettifyLogMessage": false,
|
||
"showCommonLabels": false,
|
||
"showLabels": false,
|
||
"showTime": false,
|
||
"sortOrder": "Descending",
|
||
"wrapLogMessage": true
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:ctnDLoad AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "ctnDLoad",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"tracer_time": false,
|
||
"uploaded_time": false
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.avg": 17,
|
||
"tracer_data.dload_avg": 18,
|
||
"tracer_data.in_known_list": 19,
|
||
"tracer_data.known_issue": 20,
|
||
"tracer_data.load_avg": 21,
|
||
"tracer_data.nr_iowait": 22,
|
||
"tracer_data.nr_running": 23,
|
||
"tracer_data.nr_sleeping": 24,
|
||
"tracer_data.nr_stopped": 25,
|
||
"tracer_data.nr_uninterruptible": 26,
|
||
"tracer_data.stack": 27,
|
||
"tracer_data.threshold": 28,
|
||
"tracer_name": 16,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "logs"
|
||
}
|
||
],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "ctnDLoad",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 26
|
||
},
|
||
"id": 27,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"description": "",
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 27
|
||
},
|
||
"id": 19,
|
||
"options": {
|
||
"content": "丢包触发条件:\n- TCP 请求 && TCP 状态非 CLOSED\n\n已排除如下场景:\n1. TCP CLOSE_WAIT 状态中的 ooo\n```text\n// state: CLOSE_WAIT\n// stack:\n// 1. kfree_skb/ffffffff963047b0\n// 2. kfree_skb/ffffffff963047b0\n// 3. skb_rbtree_purge/ffffffff963089e0\n// 4. tcp_fin/ffffffff963ac200\n// 5. ...\n```",
|
||
"mode": "markdown"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:dropwatch AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "dropwatch阈值说明",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 4,
|
||
"y": 27
|
||
},
|
||
"id": 102,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:dropwatch AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "dropwatch",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"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"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 16,
|
||
"x": 8,
|
||
"y": 27
|
||
},
|
||
"id": 53,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:dropwatch AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "dropwatch",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
},
|
||
"filterable": true
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 18,
|
||
"x": 0,
|
||
"y": 36
|
||
},
|
||
"id": 54,
|
||
"options": {
|
||
"footer": {
|
||
"fields": "",
|
||
"reducer": [
|
||
"sum"
|
||
],
|
||
"show": false
|
||
},
|
||
"showHeader": true
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:dropwatch AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "dropwatch",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"region": true,
|
||
"sort": true,
|
||
"time": true,
|
||
"tracer_data.ack_seq": false,
|
||
"tracer_data.max_ack_backlog": false,
|
||
"tracer_data.pid": true,
|
||
"tracer_data.seq": false,
|
||
"tracer_data.stack": false,
|
||
"tracer_name": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"es_index_time": 5,
|
||
"highlight": 6,
|
||
"hostname": 7,
|
||
"region": 8,
|
||
"sort": 9,
|
||
"time": 10,
|
||
"tracer_data.ack_seq": 24,
|
||
"tracer_data.comm": 13,
|
||
"tracer_data.daddr": 17,
|
||
"tracer_data.dest_hostname": 18,
|
||
"tracer_data.dport": 20,
|
||
"tracer_data.max_ack_backlog": 27,
|
||
"tracer_data.pid": 14,
|
||
"tracer_data.pkt_len": 22,
|
||
"tracer_data.queue_mapping": 23,
|
||
"tracer_data.saddr": 15,
|
||
"tracer_data.seq": 25,
|
||
"tracer_data.sport": 19,
|
||
"tracer_data.src_hostname": 16,
|
||
"tracer_data.stack": 26,
|
||
"tracer_data.state": 21,
|
||
"tracer_data.type": 12,
|
||
"tracer_name": 11,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 6,
|
||
"x": 18,
|
||
"y": 36
|
||
},
|
||
"id": 55,
|
||
"options": {
|
||
"dedupStrategy": "none",
|
||
"enableLogDetails": true,
|
||
"prettifyLogMessage": true,
|
||
"showCommonLabels": false,
|
||
"showLabels": false,
|
||
"showTime": false,
|
||
"sortOrder": "Descending",
|
||
"wrapLogMessage": true
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:dropwatch AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "dropwatch",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"region": true,
|
||
"sort": true,
|
||
"tracer_name": true,
|
||
"uploaded_time": false
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "logs"
|
||
}
|
||
],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "dropwatch",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 27
|
||
},
|
||
"id": 29,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 47
|
||
},
|
||
"id": 17,
|
||
"options": {
|
||
"content": "系统存在hungtask",
|
||
"mode": "markdown"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:hungtask AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "hungtask阈值说明",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 4,
|
||
"y": 47
|
||
},
|
||
"id": 103,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:hungtask AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "hungtask",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"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"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 16,
|
||
"x": 8,
|
||
"y": 47
|
||
},
|
||
"id": 56,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:hungtask AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "hungtask",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
},
|
||
"filterable": true
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 13,
|
||
"x": 0,
|
||
"y": 56
|
||
},
|
||
"id": 57,
|
||
"options": {
|
||
"footer": {
|
||
"fields": "",
|
||
"reducer": [
|
||
"count"
|
||
],
|
||
"show": true
|
||
},
|
||
"showHeader": true
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "1000"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:hungtask AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "hungtask",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"region": true,
|
||
"sort": true,
|
||
"time": true,
|
||
"tracer_name": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 11,
|
||
"x": 13,
|
||
"y": 56
|
||
},
|
||
"id": 58,
|
||
"options": {
|
||
"dedupStrategy": "none",
|
||
"enableLogDetails": true,
|
||
"prettifyLogMessage": true,
|
||
"showCommonLabels": false,
|
||
"showLabels": false,
|
||
"showTime": false,
|
||
"sortOrder": "Descending",
|
||
"wrapLogMessage": true
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:hungtask AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "hungtask",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"region": true,
|
||
"sort": true,
|
||
"tracer_name": true,
|
||
"uploaded_time": false
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"es_index_time": 5,
|
||
"highlight": 6,
|
||
"hostname": 8,
|
||
"region": 9,
|
||
"sort": 10,
|
||
"time": 7,
|
||
"tracer_data.blocked_processes_stack": 14,
|
||
"tracer_data.comm": 13,
|
||
"tracer_data.cpus_stack": 15,
|
||
"tracer_data.pid": 12,
|
||
"tracer_name": 11,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "logs"
|
||
}
|
||
],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "hungtask",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 28
|
||
},
|
||
"id": 31,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"description": "",
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 48
|
||
},
|
||
"id": 16,
|
||
"options": {
|
||
"content": "触发条件:\n- 机械盘, SATA SSD:\n (1) io.util 持续多长时间超过 90%,持续时间超过2秒\n (2) 2秒平均 IO 延迟大于 100ms\n- NVMe ssd:\n (1)io.util 持续超过 90% && IO 带宽 > (read:2000MB/s or write:1500MB/s)\n (2) 2秒平均IO延迟大于100ms\n\n1和2是或的关系,有一个满足就会触发",
|
||
"mode": "markdown"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:iotracer AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "iotracer阈值说明",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 4,
|
||
"y": 48
|
||
},
|
||
"id": 104,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:iotracer AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "iotracer",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"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"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 16,
|
||
"x": 8,
|
||
"y": 48
|
||
},
|
||
"id": 59,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:iotracer AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "iotracer",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
},
|
||
"filterable": true
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
},
|
||
{
|
||
"color": "red",
|
||
"value": 80
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "tracer_time"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 238
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "tracer_data.reason"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 591
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 15,
|
||
"x": 0,
|
||
"y": 57
|
||
},
|
||
"id": 61,
|
||
"options": {
|
||
"footer": {
|
||
"fields": "",
|
||
"reducer": [
|
||
"sum"
|
||
],
|
||
"show": false
|
||
},
|
||
"showHeader": true,
|
||
"sortBy": []
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:iotracer AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "iotracer",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"region": true,
|
||
"sort": true,
|
||
"time": true,
|
||
"tracer_name": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"es_index_time": 5,
|
||
"highlight": 6,
|
||
"hostname": 7,
|
||
"region": 8,
|
||
"sort": 9,
|
||
"time": 10,
|
||
"tracer_data.dev": 12,
|
||
"tracer_data.io_stack": 14,
|
||
"tracer_data.pdata": 15,
|
||
"tracer_data.reason": 13,
|
||
"tracer_data.status.io_util": 16,
|
||
"tracer_data.status.queue_size": 17,
|
||
"tracer_data.status.read_bps": 18,
|
||
"tracer_data.status.read_iops": 19,
|
||
"tracer_data.status.read_iowait": 20,
|
||
"tracer_data.status.write_bps": 21,
|
||
"tracer_data.status.write_iops": 22,
|
||
"tracer_data.status.write_iowait": 23,
|
||
"tracer_data.triger_type": 24,
|
||
"tracer_name": 11,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 9,
|
||
"x": 15,
|
||
"y": 57
|
||
},
|
||
"id": 60,
|
||
"options": {
|
||
"dedupStrategy": "none",
|
||
"enableLogDetails": true,
|
||
"prettifyLogMessage": false,
|
||
"showCommonLabels": false,
|
||
"showLabels": false,
|
||
"showTime": false,
|
||
"sortOrder": "Descending",
|
||
"wrapLogMessage": false
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:iotracer AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "iotracer",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": false
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "logs"
|
||
}
|
||
],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "iotracer",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 29
|
||
},
|
||
"id": 33,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 30
|
||
},
|
||
"id": 18,
|
||
"options": {
|
||
"content": "内存在最近五分钟内变为两倍\n且\n当前宿主机匿名页占用达到70%",
|
||
"mode": "markdown"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:memburst AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "memburst阈值说明",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 4,
|
||
"y": 30
|
||
},
|
||
"id": 105,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:memburst AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "memburst",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"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"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 16,
|
||
"x": 8,
|
||
"y": 30
|
||
},
|
||
"id": 62,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:memburst AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "memburst",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "tracer_time"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 224
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "hostname"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 342
|
||
},
|
||
{
|
||
"id": "custom.filterable",
|
||
"value": true
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "tracer_data.top_memory_usage"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.cellOptions",
|
||
"value": {
|
||
"type": "json-view"
|
||
}
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 39
|
||
},
|
||
"id": 63,
|
||
"options": {
|
||
"footer": {
|
||
"fields": "",
|
||
"reducer": [
|
||
"sum"
|
||
],
|
||
"show": false
|
||
},
|
||
"showHeader": true,
|
||
"sortBy": []
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:memburst AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "memburst",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"hostname": false,
|
||
"region": true,
|
||
"sort": true,
|
||
"time": true,
|
||
"tracer_name": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
}
|
||
],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "memburst",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": false,
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 30
|
||
},
|
||
"id": 35,
|
||
"panels": [],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "netrecvlat",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"description": "",
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 5,
|
||
"x": 0,
|
||
"y": 31
|
||
},
|
||
"id": 12,
|
||
"options": {
|
||
"code": {
|
||
"language": "plaintext",
|
||
"showLineNumbers": false,
|
||
"showMiniMap": false
|
||
},
|
||
"content": "网络收方向延迟 事件触发条件(or):\n- 1、网卡 -> 驱动收 > 5ms\n- 2、网卡 -> 协议栈收 > 10ms\n- 3、网卡 -> 用户态拷贝数据 > 115ms\n\n事件几乎都来自 3 (用户主动读取数据的时间超过了阈值)。\n\n过滤延迟发生的位置 where\n- 1 TO_NETIF_RCV\n- 2 TO_TCPV4_RCV\n- 3 TO_USER_COPY",
|
||
"mode": "markdown"
|
||
},
|
||
"pluginVersion": "11.0.0",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:netrecvlat AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "netrecvlat阈值说明",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 5,
|
||
"y": 31
|
||
},
|
||
"id": 106,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"showPercentChange": false,
|
||
"textMode": "auto",
|
||
"wideLayout": true
|
||
},
|
||
"pluginVersion": "11.0.0",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:netrecvlat AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "netrecvlat",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "palette-classic"
|
||
},
|
||
"custom": {
|
||
"axisBorderShow": false,
|
||
"axisCenteredZero": false,
|
||
"axisColorMode": "text",
|
||
"axisLabel": "",
|
||
"axisPlacement": "auto",
|
||
"barAlignment": 0,
|
||
"drawStyle": "line",
|
||
"fillOpacity": 0,
|
||
"gradientMode": "none",
|
||
"hideFrom": {
|
||
"legend": false,
|
||
"tooltip": false,
|
||
"viz": false
|
||
},
|
||
"insertNulls": false,
|
||
"lineInterpolation": "linear",
|
||
"lineWidth": 1,
|
||
"pointSize": 5,
|
||
"scaleDistribution": {
|
||
"type": "linear"
|
||
},
|
||
"showPoints": "auto",
|
||
"spanNulls": false,
|
||
"stacking": {
|
||
"group": "A",
|
||
"mode": "none"
|
||
},
|
||
"thresholdsStyle": {
|
||
"mode": "off"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green",
|
||
"value": null
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 15,
|
||
"x": 9,
|
||
"y": 31
|
||
},
|
||
"id": 65,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"maxHeight": 600,
|
||
"mode": "single",
|
||
"sort": "none"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"hide": false,
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:netrecvlat AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "netrecvlat",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
},
|
||
"filterable": true
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "container_type"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 121
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "container_level"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 130
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "hostname"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 227
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "tracer_data.latency(ms)"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 80
|
||
},
|
||
{
|
||
"id": "unit",
|
||
"value": "ms"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "tracer_data.dport"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 145
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "daddr"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 128
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "dport"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 67
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "saddr"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 115
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "sport"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 72
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "pid"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 114
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "comm"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 129
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "pkt_len"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 95
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "state"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 126
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "seq"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 117
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "ack_seq"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 119
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "tracer_time"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.width",
|
||
"value": 159
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 13,
|
||
"x": 0,
|
||
"y": 40
|
||
},
|
||
"id": 66,
|
||
"options": {
|
||
"footer": {
|
||
"fields": "",
|
||
"reducer": [
|
||
"sum"
|
||
],
|
||
"show": false
|
||
},
|
||
"showHeader": true,
|
||
"sortBy": []
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "5000"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:netrecvlat AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "netrecvlat",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"hostname": false,
|
||
"region": true,
|
||
"sort": true,
|
||
"time": true,
|
||
"tracer_name": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.ack_seq": 29,
|
||
"tracer_data.comm": 20,
|
||
"tracer_data.daddr": 22,
|
||
"tracer_data.dport": 23,
|
||
"tracer_data.latency(ms)": 18,
|
||
"tracer_data.latency_ms": 19,
|
||
"tracer_data.pid": 21,
|
||
"tracer_data.pkt_len": 26,
|
||
"tracer_data.saddr": 24,
|
||
"tracer_data.seq": 28,
|
||
"tracer_data.sport": 25,
|
||
"tracer_data.state": 27,
|
||
"tracer_data.where": 17,
|
||
"tracer_name": 16,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {
|
||
"_id": "",
|
||
"container_host_ns": "",
|
||
"container_hostname": "",
|
||
"tracer_data.ack_seq": "ack_seq",
|
||
"tracer_data.comm": "comm",
|
||
"tracer_data.daddr": "daddr",
|
||
"tracer_data.dport": "dport",
|
||
"tracer_data.latency(ms)": "latency",
|
||
"tracer_data.latency_ms": "latency",
|
||
"tracer_data.pid": "pid",
|
||
"tracer_data.pkt_len": "pkt_len",
|
||
"tracer_data.saddr": "saddr",
|
||
"tracer_data.seq": "seq",
|
||
"tracer_data.sport": "sport",
|
||
"tracer_data.state": "state",
|
||
"tracer_data.where": "where",
|
||
"tracer_name": ""
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 11,
|
||
"x": 13,
|
||
"y": 40
|
||
},
|
||
"id": 67,
|
||
"options": {
|
||
"dedupStrategy": "none",
|
||
"enableLogDetails": true,
|
||
"prettifyLogMessage": false,
|
||
"showCommonLabels": false,
|
||
"showLabels": false,
|
||
"showTime": false,
|
||
"sortOrder": "Descending",
|
||
"wrapLogMessage": false
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "5000"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:netrecvlat AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "netrecvlat",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"sort": true,
|
||
"time": true,
|
||
"tracer_name": true,
|
||
"tracer_time": false,
|
||
"uploaded_time": false
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "logs"
|
||
},
|
||
{
|
||
"collapsed": false,
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 49
|
||
},
|
||
"id": 37,
|
||
"panels": [],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "oom",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 50
|
||
},
|
||
"id": 13,
|
||
"options": {
|
||
"content": "系统或容器发生了oom",
|
||
"mode": "markdown"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:oom AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "oom阈值说明",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 4,
|
||
"y": 50
|
||
},
|
||
"id": 107,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:oom AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "oom",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"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"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 16,
|
||
"x": 8,
|
||
"y": 50
|
||
},
|
||
"id": 68,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:oom AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "oom",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
},
|
||
"filterable": true
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 11,
|
||
"x": 0,
|
||
"y": 59
|
||
},
|
||
"id": 69,
|
||
"options": {
|
||
"footer": {
|
||
"fields": "",
|
||
"reducer": [
|
||
"sum"
|
||
],
|
||
"show": false
|
||
},
|
||
"showHeader": true
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "5000"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:oom AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "oom",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"hostname": false,
|
||
"region": true,
|
||
"sort": true,
|
||
"time": true,
|
||
"tracer_name": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"es_index_time": 5,
|
||
"highlight": 6,
|
||
"hostname": 7,
|
||
"region": 8,
|
||
"sort": 9,
|
||
"time": 10,
|
||
"tracer_data.trigger_container_hostname": 12,
|
||
"tracer_data.trigger_container_id": 13,
|
||
"tracer_data.trigger_memcg_css": 14,
|
||
"tracer_data.trigger_pid": 16,
|
||
"tracer_data.trigger_process_name": 15,
|
||
"tracer_data.victim_container_hostname": 17,
|
||
"tracer_data.victim_container_id": 18,
|
||
"tracer_data.victim_memcg_css": 19,
|
||
"tracer_data.victim_pid": 21,
|
||
"tracer_data.victim_process_name": 20,
|
||
"tracer_name": 11,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 13,
|
||
"x": 11,
|
||
"y": 59
|
||
},
|
||
"id": 70,
|
||
"options": {
|
||
"dedupStrategy": "none",
|
||
"enableLogDetails": true,
|
||
"prettifyLogMessage": false,
|
||
"showCommonLabels": false,
|
||
"showLabels": false,
|
||
"showTime": false,
|
||
"sortOrder": "Descending",
|
||
"wrapLogMessage": false
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:oom AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "oom",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": false
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "logs"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 68
|
||
},
|
||
"id": 39,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 33
|
||
},
|
||
"id": 10,
|
||
"options": {
|
||
"content": "# Title\n\nFor markdown syntax help: [commonmark.org/help](https://commonmark.org/help/)",
|
||
"mode": "markdown"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:softirq AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "softirq阈值说明",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 4,
|
||
"y": 33
|
||
},
|
||
"id": 108,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:softirq AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "softirq",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"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"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 16,
|
||
"x": 8,
|
||
"y": 33
|
||
},
|
||
"id": 71,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:softirq AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "softirq",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": [
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "tracer_data.offtime"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "unit",
|
||
"value": "ns"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "tracer_data.threshold"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "unit",
|
||
"value": "ns"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"matcher": {
|
||
"id": "byName",
|
||
"options": "tracer_data.stack"
|
||
},
|
||
"properties": [
|
||
{
|
||
"id": "custom.cellOptions",
|
||
"value": {
|
||
"type": "json-view"
|
||
}
|
||
}
|
||
]
|
||
}
|
||
]
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 16,
|
||
"x": 0,
|
||
"y": 42
|
||
},
|
||
"id": 72,
|
||
"options": {
|
||
"footer": {
|
||
"fields": "",
|
||
"reducer": [
|
||
"sum"
|
||
],
|
||
"show": false
|
||
},
|
||
"showHeader": true
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:softirq AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "softirq",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"hostname": false,
|
||
"region": true,
|
||
"sort": true,
|
||
"time": true,
|
||
"tracer_name": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"es_index_time": 5,
|
||
"highlight": 6,
|
||
"hostname": 7,
|
||
"region": 8,
|
||
"sort": 9,
|
||
"time": 10,
|
||
"tracer_data.comm": 12,
|
||
"tracer_data.cpu": 17,
|
||
"tracer_data.now": 16,
|
||
"tracer_data.offtime": 14,
|
||
"tracer_data.pid": 13,
|
||
"tracer_data.stack": 18,
|
||
"tracer_data.threshold": 15,
|
||
"tracer_name": 11,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 8,
|
||
"x": 16,
|
||
"y": 42
|
||
},
|
||
"id": 73,
|
||
"options": {
|
||
"dedupStrategy": "none",
|
||
"enableLogDetails": true,
|
||
"prettifyLogMessage": false,
|
||
"showCommonLabels": false,
|
||
"showLabels": false,
|
||
"showTime": false,
|
||
"sortOrder": "Descending",
|
||
"wrapLogMessage": true
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:softirq AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "softirq",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"region": true,
|
||
"sort": true,
|
||
"tracer_name": true,
|
||
"uploaded_time": false
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "logs"
|
||
}
|
||
],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "softirq",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 69
|
||
},
|
||
"id": 41,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 88
|
||
},
|
||
"id": 14,
|
||
"options": {
|
||
"content": "系统发生softlockup",
|
||
"mode": "markdown"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:softlockup AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "softlockup阈值说明",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 4,
|
||
"y": 88
|
||
},
|
||
"id": 109,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:softlockup AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "softlockup",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"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"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 16,
|
||
"x": 8,
|
||
"y": 88
|
||
},
|
||
"id": 74,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:softlockup AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "softlockup",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 97
|
||
},
|
||
"id": 75,
|
||
"options": {
|
||
"footer": {
|
||
"fields": "",
|
||
"reducer": [
|
||
"sum"
|
||
],
|
||
"show": false
|
||
},
|
||
"showHeader": true
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:softlockup AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "softlockup",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 20,
|
||
"x": 4,
|
||
"y": 97
|
||
},
|
||
"id": 76,
|
||
"options": {
|
||
"dedupStrategy": "none",
|
||
"enableLogDetails": true,
|
||
"prettifyLogMessage": false,
|
||
"showCommonLabels": false,
|
||
"showLabels": false,
|
||
"showTime": false,
|
||
"sortOrder": "Descending",
|
||
"wrapLogMessage": false
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:softlockup AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "softlockup",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "logs"
|
||
}
|
||
],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "softlockup",
|
||
"type": "row"
|
||
},
|
||
{
|
||
"collapsed": true,
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 1,
|
||
"w": 24,
|
||
"x": 0,
|
||
"y": 70
|
||
},
|
||
"id": 43,
|
||
"panels": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 0,
|
||
"y": 35
|
||
},
|
||
"id": 20,
|
||
"options": {
|
||
"content": "每个容器对近30分钟的waitrate率计算出均值mean和标准差std,如果当前的waitrate大于mean+std*factor则报警\n0级、新1、新2级的factor分别为30,40,60",
|
||
"mode": "markdown"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:waitrate AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "waitrate阈值说明",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"transparent": true,
|
||
"type": "text"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 4,
|
||
"x": 4,
|
||
"y": 35
|
||
},
|
||
"id": 110,
|
||
"options": {
|
||
"colorMode": "value",
|
||
"graphMode": "none",
|
||
"justifyMode": "auto",
|
||
"orientation": "auto",
|
||
"reduceOptions": {
|
||
"calcs": [
|
||
"sum"
|
||
],
|
||
"fields": "",
|
||
"values": false
|
||
},
|
||
"textMode": "auto"
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:waitrate AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "waitrate",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "stat"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"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"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 9,
|
||
"w": 16,
|
||
"x": 8,
|
||
"y": 35
|
||
},
|
||
"id": 77,
|
||
"options": {
|
||
"legend": {
|
||
"calcs": [],
|
||
"displayMode": "list",
|
||
"placement": "bottom",
|
||
"showLegend": true
|
||
},
|
||
"tooltip": {
|
||
"mode": "single"
|
||
}
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [
|
||
{
|
||
"field": "uploaded_time",
|
||
"id": "2",
|
||
"settings": {
|
||
"interval": "auto"
|
||
},
|
||
"type": "date_histogram"
|
||
}
|
||
],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"type": "count"
|
||
}
|
||
],
|
||
"query": "tracer_name:waitrate AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "waitrate",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "timeseries"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"fieldConfig": {
|
||
"defaults": {
|
||
"color": {
|
||
"mode": "thresholds"
|
||
},
|
||
"custom": {
|
||
"align": "auto",
|
||
"cellOptions": {
|
||
"type": "auto"
|
||
}
|
||
},
|
||
"mappings": [],
|
||
"thresholds": {
|
||
"mode": "absolute",
|
||
"steps": [
|
||
{
|
||
"color": "green"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"overrides": []
|
||
},
|
||
"gridPos": {
|
||
"h": 10,
|
||
"w": 13,
|
||
"x": 0,
|
||
"y": 44
|
||
},
|
||
"id": 78,
|
||
"options": {
|
||
"footer": {
|
||
"fields": "",
|
||
"reducer": [
|
||
"sum"
|
||
],
|
||
"show": false
|
||
},
|
||
"showHeader": true
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:waitrate AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "waitrate",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"es_index_time": true,
|
||
"highlight": true,
|
||
"hostname": false,
|
||
"region": true,
|
||
"sort": true,
|
||
"time": true,
|
||
"tracer_name": true,
|
||
"uploaded_time": true
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "table"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"gridPos": {
|
||
"h": 10,
|
||
"w": 11,
|
||
"x": 13,
|
||
"y": 44
|
||
},
|
||
"id": 79,
|
||
"options": {
|
||
"dedupStrategy": "none",
|
||
"enableLogDetails": true,
|
||
"prettifyLogMessage": false,
|
||
"showCommonLabels": false,
|
||
"showLabels": false,
|
||
"showTime": false,
|
||
"sortOrder": "Descending",
|
||
"wrapLogMessage": false
|
||
},
|
||
"pluginVersion": "8.3.7",
|
||
"targets": [
|
||
{
|
||
"alias": "",
|
||
"bucketAggs": [],
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"metrics": [
|
||
{
|
||
"id": "1",
|
||
"settings": {
|
||
"size": "500"
|
||
},
|
||
"type": "raw_data"
|
||
}
|
||
],
|
||
"query": "tracer_name:waitrate AND region:$region AND hostname:$hostname",
|
||
"refId": "A",
|
||
"timeField": "uploaded_time"
|
||
}
|
||
],
|
||
"title": "waitrateitle",
|
||
"transformations": [
|
||
{
|
||
"id": "organize",
|
||
"options": {
|
||
"excludeByName": {
|
||
"_id": true,
|
||
"_index": true,
|
||
"_type": true,
|
||
"uploaded_time": false
|
||
},
|
||
"indexByName": {
|
||
"_id": 2,
|
||
"_index": 3,
|
||
"_type": 4,
|
||
"container_host_ns": 5,
|
||
"container_hostname": 6,
|
||
"container_id": 7,
|
||
"container_level": 8,
|
||
"container_type": 9,
|
||
"es_index_time": 10,
|
||
"highlight": 11,
|
||
"hostname": 12,
|
||
"region": 13,
|
||
"sort": 14,
|
||
"time": 15,
|
||
"tracer_data.deltauser": 16,
|
||
"tracer_data.deltauserth": 17,
|
||
"tracer_data.flamedata": 18,
|
||
"tracer_data.nowsys": 19,
|
||
"tracer_data.nowuser": 20,
|
||
"tracer_data.systhreshold": 21,
|
||
"tracer_data.userthreshold": 22,
|
||
"tracer_name": 23,
|
||
"tracer_time": 0,
|
||
"uploaded_time": 1
|
||
},
|
||
"renameByName": {}
|
||
}
|
||
}
|
||
],
|
||
"type": "logs"
|
||
}
|
||
],
|
||
"targets": [
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"refId": "A"
|
||
}
|
||
],
|
||
"title": "waitrate",
|
||
"type": "row"
|
||
}
|
||
],
|
||
"refresh": "",
|
||
"schemaVersion": 39,
|
||
"tags": [],
|
||
"templating": {
|
||
"list": [
|
||
{
|
||
"current": {
|
||
"selected": true,
|
||
"text": "> xxx",
|
||
"value": "xxx"
|
||
},
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"definition": "{\"find\": \"terms\", \"field\": \"region\", \"size\": 100}",
|
||
"hide": 0,
|
||
"includeAll": false,
|
||
"multi": false,
|
||
"name": "region",
|
||
"options": [],
|
||
"query": "{\"find\": \"terms\", \"field\": \"region\", \"size\": 100}",
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"current": {
|
||
"selected": true,
|
||
"text": [
|
||
"> bingtz"
|
||
],
|
||
"value": [
|
||
"bingtz"
|
||
]
|
||
},
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"definition": "{\"find\": \"terms\", \"field\": \"hostname\", \"query\": \"region:$region\", \"size\":20000}",
|
||
"hide": 0,
|
||
"includeAll": true,
|
||
"multi": true,
|
||
"name": "hostname",
|
||
"options": [],
|
||
"query": "{\"find\": \"terms\", \"field\": \"hostname\", \"query\": \"region:$region\", \"size\":20000}",
|
||
"refresh": 1,
|
||
"regex": "",
|
||
"skipUrlSync": false,
|
||
"sort": 0,
|
||
"type": "query"
|
||
},
|
||
{
|
||
"datasource": {
|
||
"type": "elasticsearch",
|
||
"uid": "huatuo-bamai-es"
|
||
},
|
||
"filters": [],
|
||
"hide": 0,
|
||
"name": "filter",
|
||
"skipUrlSync": false,
|
||
"type": "adhoc"
|
||
}
|
||
]
|
||
},
|
||
"time": {
|
||
"from": "now-7d",
|
||
"to": "now"
|
||
},
|
||
"timeRangeUpdatedDuringEditOrView": false,
|
||
"timepicker": {},
|
||
"timezone": "",
|
||
"title": "HuaTuo 根因定位 AutoTracing 大盘",
|
||
"uid": "autotracing-event",
|
||
"version": 3,
|
||
"weekStart": ""
|
||
} |