Added error
This commit is contained in:
parent
71d4f34cf0
commit
331d55b6ff
1 changed files with 372 additions and 14 deletions
|
|
@ -131,7 +131,28 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"inter_domain_panels": [],
|
"inter_domain_panels": [],
|
||||||
"traffic_domain_panels": []
|
"traffic_domain_panels": [],
|
||||||
|
"error_panels": [
|
||||||
|
{
|
||||||
|
"panel_key": "error_by_host",
|
||||||
|
"width": 24,
|
||||||
|
"x_offset": 0,
|
||||||
|
"title_format": "Errors by Host"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"panel_key": "error_by_path",
|
||||||
|
"width": 24,
|
||||||
|
"x_offset": 0,
|
||||||
|
"title_format": "Errors by Upstream Path"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"panel_key": "error_by_node",
|
||||||
|
"width": 24,
|
||||||
|
"x_offset": 0,
|
||||||
|
"title_format": "Errors by Node"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"error_row_title": "Errors"
|
||||||
},
|
},
|
||||||
"panels": {
|
"panels": {
|
||||||
"row": {
|
"row": {
|
||||||
|
|
@ -203,7 +224,8 @@
|
||||||
"alias": "{client_title} Total RPS",
|
"alias": "{client_title} Total RPS",
|
||||||
"expression": "$A / 60",
|
"expression": "$A / 60",
|
||||||
"expression_ref_id": "RPS"
|
"expression_ref_id": "RPS"
|
||||||
}
|
},
|
||||||
|
"vl_interval": "1m"
|
||||||
},
|
},
|
||||||
"status_codes": {
|
"status_codes": {
|
||||||
"type": "timeseries",
|
"type": "timeseries",
|
||||||
|
|
@ -326,7 +348,8 @@
|
||||||
"ref_id": "D"
|
"ref_id": "D"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"vl_interval": "1m"
|
||||||
},
|
},
|
||||||
"response_time": {
|
"response_time": {
|
||||||
"type": "timeseries",
|
"type": "timeseries",
|
||||||
|
|
@ -405,7 +428,8 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"range_field": "upstream_response_time_digital"
|
"range_field": "upstream_response_time_digital"
|
||||||
}
|
},
|
||||||
|
"vl_interval": "1m"
|
||||||
},
|
},
|
||||||
"traffic_combined": {
|
"traffic_combined": {
|
||||||
"type": "timeseries",
|
"type": "timeseries",
|
||||||
|
|
@ -495,7 +519,8 @@
|
||||||
"expression_ref_id": "RequestTraffic"
|
"expression_ref_id": "RequestTraffic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"vl_interval": "1m"
|
||||||
},
|
},
|
||||||
"traffic": {
|
"traffic": {
|
||||||
"type": "timeseries",
|
"type": "timeseries",
|
||||||
|
|
@ -780,7 +805,7 @@
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 13
|
"y": 13
|
||||||
},
|
},
|
||||||
"interval": "5m",
|
"interval": "2m",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"color": {
|
"color": {
|
||||||
|
|
@ -842,14 +867,14 @@
|
||||||
},
|
},
|
||||||
"orientation": "vertical",
|
"orientation": "vertical",
|
||||||
"showValue": "auto",
|
"showValue": "auto",
|
||||||
"stacking": "none",
|
"stacking": "normal",
|
||||||
"tooltip": {
|
"tooltip": {
|
||||||
"hideZeros": false,
|
"hideZeros": false,
|
||||||
"mode": "single",
|
"mode": "single",
|
||||||
"sort": "none"
|
"sort": "none"
|
||||||
},
|
},
|
||||||
"xTickLabelRotation": 0,
|
"xTickLabelRotation": 0,
|
||||||
"xTickLabelSpacing": 100
|
"xTickLabelSpacing": 0
|
||||||
},
|
},
|
||||||
"query_mode": "bucket_logs",
|
"query_mode": "bucket_logs",
|
||||||
"query_config": {
|
"query_config": {
|
||||||
|
|
@ -877,7 +902,8 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"vl_base_query": "log_type:access TENANT:in(${tenant:csv})"
|
"vl_base_query": "log_type:access TENANT:in(${tenant:csv})"
|
||||||
}
|
},
|
||||||
|
"vl_interval": "2m"
|
||||||
},
|
},
|
||||||
"overview_tenant_per_node": {
|
"overview_tenant_per_node": {
|
||||||
"type": "barchart",
|
"type": "barchart",
|
||||||
|
|
@ -889,7 +915,7 @@
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 23
|
"y": 23
|
||||||
},
|
},
|
||||||
"interval": "5m",
|
"interval": "2m",
|
||||||
"fieldConfig": {
|
"fieldConfig": {
|
||||||
"defaults": {
|
"defaults": {
|
||||||
"color": {
|
"color": {
|
||||||
|
|
@ -949,14 +975,14 @@
|
||||||
},
|
},
|
||||||
"orientation": "vertical",
|
"orientation": "vertical",
|
||||||
"showValue": "auto",
|
"showValue": "auto",
|
||||||
"stacking": "none",
|
"stacking": "normal",
|
||||||
"tooltip": {
|
"tooltip": {
|
||||||
"hideZeros": false,
|
"hideZeros": false,
|
||||||
"mode": "single",
|
"mode": "single",
|
||||||
"sort": "none"
|
"sort": "none"
|
||||||
},
|
},
|
||||||
"xTickLabelRotation": 0,
|
"xTickLabelRotation": 0,
|
||||||
"xTickLabelSpacing": 100
|
"xTickLabelSpacing": 0
|
||||||
},
|
},
|
||||||
"query_mode": "bucket_logs",
|
"query_mode": "bucket_logs",
|
||||||
"query_config": {
|
"query_config": {
|
||||||
|
|
@ -1185,7 +1211,8 @@
|
||||||
"expression_ref_id": "RequestTrafficTotal"
|
"expression_ref_id": "RequestTrafficTotal"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"vl_interval": "1m"
|
||||||
},
|
},
|
||||||
"rps_multi": {
|
"rps_multi": {
|
||||||
"type": "timeseries",
|
"type": "timeseries",
|
||||||
|
|
@ -1242,7 +1269,338 @@
|
||||||
"query_config": {
|
"query_config": {
|
||||||
"expression": "$A / 60",
|
"expression": "$A / 60",
|
||||||
"expression_ref_id": "RPS_Total"
|
"expression_ref_id": "RPS_Total"
|
||||||
|
},
|
||||||
|
"vl_interval": "1m"
|
||||||
|
},
|
||||||
|
"error_by_host": {
|
||||||
|
"type": "barchart",
|
||||||
|
"title": "Errors by Host",
|
||||||
|
"description": "Количество ошибок по error_host",
|
||||||
|
"gridPos": {
|
||||||
|
"h": 10,
|
||||||
|
"w": 24,
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisBorderShow": false,
|
||||||
|
"axisCenteredZero": false,
|
||||||
|
"axisColorMode": "text",
|
||||||
|
"axisGridShow": true,
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"fillOpacity": 80,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false
|
||||||
|
},
|
||||||
|
"lineWidth": 2,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"fieldMinMax": false,
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"barRadius": 0.1,
|
||||||
|
"barWidth": 0.88,
|
||||||
|
"fullHighlight": true,
|
||||||
|
"groupWidth": 0.9,
|
||||||
|
"legend": {
|
||||||
|
"calcs": [
|
||||||
|
"min",
|
||||||
|
"max",
|
||||||
|
"sum",
|
||||||
|
"mean"
|
||||||
|
],
|
||||||
|
"displayMode": "table",
|
||||||
|
"placement": "right",
|
||||||
|
"showLegend": true,
|
||||||
|
"sortBy": "Name",
|
||||||
|
"sortDesc": true
|
||||||
|
},
|
||||||
|
"orientation": "vertical",
|
||||||
|
"showValue": "auto",
|
||||||
|
"stacking": "none",
|
||||||
|
"tooltip": {
|
||||||
|
"hideZeros": false,
|
||||||
|
"mode": "single",
|
||||||
|
"sort": "none"
|
||||||
|
},
|
||||||
|
"xTickLabelRotation": 0,
|
||||||
|
"xTickLabelSpacing": 0
|
||||||
|
},
|
||||||
|
"query_mode": "bucket_logs",
|
||||||
|
"query_config": {
|
||||||
|
"vl_base_query": "log_type:angie-error-PTAF SID:~\"${SID:pipe}\"",
|
||||||
|
"base_query": "log_type:angie-error-PTAF AND SID:${SID:lucene}",
|
||||||
|
"bucket_aggs": [
|
||||||
|
{
|
||||||
|
"field": "error_host",
|
||||||
|
"id": "4",
|
||||||
|
"settings": {
|
||||||
|
"min_doc_count": "1",
|
||||||
|
"order": "desc",
|
||||||
|
"orderBy": "1",
|
||||||
|
"size": "20"
|
||||||
|
},
|
||||||
|
"type": "terms"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"field": "@timestamp",
|
||||||
|
"id": "2",
|
||||||
|
"settings": {
|
||||||
|
"interval": "auto",
|
||||||
|
"trimEdges": "1"
|
||||||
|
},
|
||||||
|
"type": "date_histogram"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"vl_interval": "1m",
|
||||||
|
"interval": "1m"
|
||||||
|
},
|
||||||
|
"error_by_path": {
|
||||||
|
"type": "barchart",
|
||||||
|
"title": "Errors by Upstream Path",
|
||||||
|
"description": "Количество ошибок по error_upstream_path",
|
||||||
|
"gridPos": {
|
||||||
|
"h": 10,
|
||||||
|
"w": 24,
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisBorderShow": false,
|
||||||
|
"axisCenteredZero": false,
|
||||||
|
"axisColorMode": "text",
|
||||||
|
"axisGridShow": true,
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"fillOpacity": 80,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false
|
||||||
|
},
|
||||||
|
"lineWidth": 2,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fieldMinMax": false,
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"barRadius": 0.1,
|
||||||
|
"barWidth": 0.88,
|
||||||
|
"fullHighlight": true,
|
||||||
|
"groupWidth": 0.9,
|
||||||
|
"legend": {
|
||||||
|
"calcs": [
|
||||||
|
"min",
|
||||||
|
"max",
|
||||||
|
"sum",
|
||||||
|
"mean"
|
||||||
|
],
|
||||||
|
"displayMode": "table",
|
||||||
|
"placement": "right",
|
||||||
|
"showLegend": true,
|
||||||
|
"sortBy": "Name",
|
||||||
|
"sortDesc": true
|
||||||
|
},
|
||||||
|
"orientation": "vertical",
|
||||||
|
"showValue": "auto",
|
||||||
|
"stacking": "none",
|
||||||
|
"tooltip": {
|
||||||
|
"hideZeros": false,
|
||||||
|
"mode": "single",
|
||||||
|
"sort": "none"
|
||||||
|
},
|
||||||
|
"xTickLabelRotation": 0,
|
||||||
|
"xTickLabelSpacing": 0
|
||||||
|
},
|
||||||
|
"query_mode": "bucket_logs",
|
||||||
|
"query_config": {
|
||||||
|
"vl_base_query": "log_type:angie-error-PTAF SID:~\"${SID:pipe}\"",
|
||||||
|
"base_query": "log_type:angie-error-PTAF AND SID:${SID:lucene}",
|
||||||
|
"bucket_aggs": [
|
||||||
|
{
|
||||||
|
"field": "error_upstream_path",
|
||||||
|
"id": "4",
|
||||||
|
"settings": {
|
||||||
|
"min_doc_count": "1",
|
||||||
|
"order": "desc",
|
||||||
|
"orderBy": "1",
|
||||||
|
"size": "20"
|
||||||
|
},
|
||||||
|
"type": "terms"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"field": "@timestamp",
|
||||||
|
"id": "2",
|
||||||
|
"settings": {
|
||||||
|
"interval": "auto",
|
||||||
|
"trimEdges": "1"
|
||||||
|
},
|
||||||
|
"type": "date_histogram"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"vl_interval": "1m",
|
||||||
|
"interval": "1m"
|
||||||
|
},
|
||||||
|
"error_by_node": {
|
||||||
|
"type": "barchart",
|
||||||
|
"title": "Errors by Node",
|
||||||
|
"description": "Количество ошибок по node_name",
|
||||||
|
"gridPos": {
|
||||||
|
"h": 10,
|
||||||
|
"w": 24,
|
||||||
|
"x": 0,
|
||||||
|
"y": 0
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisBorderShow": false,
|
||||||
|
"axisCenteredZero": false,
|
||||||
|
"axisColorMode": "text",
|
||||||
|
"axisGridShow": true,
|
||||||
|
"axisLabel": "",
|
||||||
|
"axisPlacement": "auto",
|
||||||
|
"fillOpacity": 80,
|
||||||
|
"gradientMode": "none",
|
||||||
|
"hideFrom": {
|
||||||
|
"legend": false,
|
||||||
|
"tooltip": false,
|
||||||
|
"viz": false
|
||||||
|
},
|
||||||
|
"lineWidth": 2,
|
||||||
|
"scaleDistribution": {
|
||||||
|
"type": "linear"
|
||||||
|
},
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "off"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"fieldMinMax": false,
|
||||||
|
"mappings": [],
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": 0
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"overrides": []
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"barRadius": 0.1,
|
||||||
|
"barWidth": 0.88,
|
||||||
|
"fullHighlight": true,
|
||||||
|
"groupWidth": 0.9,
|
||||||
|
"legend": {
|
||||||
|
"calcs": [
|
||||||
|
"min",
|
||||||
|
"max",
|
||||||
|
"sum",
|
||||||
|
"mean"
|
||||||
|
],
|
||||||
|
"displayMode": "table",
|
||||||
|
"placement": "right",
|
||||||
|
"showLegend": true,
|
||||||
|
"sortBy": "Name",
|
||||||
|
"sortDesc": true
|
||||||
|
},
|
||||||
|
"orientation": "vertical",
|
||||||
|
"showValue": "auto",
|
||||||
|
"stacking": "none",
|
||||||
|
"tooltip": {
|
||||||
|
"hideZeros": false,
|
||||||
|
"mode": "single",
|
||||||
|
"sort": "none"
|
||||||
|
},
|
||||||
|
"xTickLabelRotation": 0,
|
||||||
|
"xTickLabelSpacing": 0
|
||||||
|
},
|
||||||
|
"query_mode": "bucket_logs",
|
||||||
|
"query_config": {
|
||||||
|
"vl_base_query": "log_type:angie-error-PTAF SID:~\"${SID:pipe}\"",
|
||||||
|
"base_query": "log_type:angie-error-PTAF AND SID:${SID:lucene}",
|
||||||
|
"bucket_aggs": [
|
||||||
|
{
|
||||||
|
"field": "node_name",
|
||||||
|
"id": "4",
|
||||||
|
"settings": {
|
||||||
|
"min_doc_count": "1",
|
||||||
|
"order": "desc",
|
||||||
|
"orderBy": "1",
|
||||||
|
"size": "20"
|
||||||
|
},
|
||||||
|
"type": "terms"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"field": "@timestamp",
|
||||||
|
"id": "2",
|
||||||
|
"settings": {
|
||||||
|
"interval": "auto",
|
||||||
|
"trimEdges": "1"
|
||||||
|
},
|
||||||
|
"type": "date_histogram"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"vl_interval": "1m",
|
||||||
|
"interval": "1m"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"queries": {
|
"queries": {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue