Added VL
This commit is contained in:
parent
0fc56040cd
commit
f8cb245517
1 changed files with 116 additions and 40 deletions
|
|
@ -46,35 +46,61 @@
|
||||||
"layout": {
|
"layout": {
|
||||||
"use_collapsed_rows": true,
|
"use_collapsed_rows": true,
|
||||||
"tenant_panels": [
|
"tenant_panels": [
|
||||||
{
|
|
||||||
"panel_key": "rps",
|
|
||||||
"title_format": "RPS {client}",
|
|
||||||
"width": 12,
|
|
||||||
"x_offset": 0,
|
|
||||||
"y_offset": 1
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"panel_key": "status_codes",
|
"panel_key": "status_codes",
|
||||||
"title_format": "Status Codes {client}",
|
"title_format": "Status Codes {client}",
|
||||||
"width": 12,
|
"width": 8,
|
||||||
"x_offset": 12,
|
"x_offset": 0
|
||||||
"y_offset": 1
|
},
|
||||||
|
{
|
||||||
|
"panel_key": "rps",
|
||||||
|
"title_format": "RPS {client}",
|
||||||
|
"condition": {
|
||||||
|
"type": "max_domains",
|
||||||
|
"value": 1
|
||||||
|
},
|
||||||
|
"width": 8,
|
||||||
|
"x_offset": 8
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"panel_key": "rps_multi",
|
||||||
|
"title_format": "RPS {client}",
|
||||||
|
"condition": {
|
||||||
|
"type": "min_domains",
|
||||||
|
"value": 2
|
||||||
|
},
|
||||||
|
"width": 8,
|
||||||
|
"x_offset": 8
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"panel_key": "traffic_combined_total",
|
||||||
|
"title_format": "Total Traffic {client}",
|
||||||
|
"condition": {
|
||||||
|
"type": "min_domains",
|
||||||
|
"value": 1
|
||||||
|
},
|
||||||
|
"width": 8,
|
||||||
|
"x_offset": 16
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"domain_panels": [
|
"domain_panels": [
|
||||||
{
|
{
|
||||||
"panel_key": "status_codes",
|
"panel_key": "status_codes",
|
||||||
"title_suffix": "{sid} Status Codes",
|
"title_suffix": "{sid} Status Codes",
|
||||||
"width": 12,
|
"width": 8,
|
||||||
"x_offset": 0,
|
"x_offset": 0
|
||||||
"y_offset": 9
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"panel_key": "response_time",
|
"panel_key": "response_time",
|
||||||
"title_suffix": "{sid} Response Time",
|
"title_suffix": "{sid} Response Time",
|
||||||
"width": 12,
|
"width": 8,
|
||||||
"x_offset": 12,
|
"x_offset": 8
|
||||||
"y_offset": 9
|
},
|
||||||
|
{
|
||||||
|
"panel_key": "traffic_combined",
|
||||||
|
"title_format": "{domain} {sid} Traffic",
|
||||||
|
"width": 8,
|
||||||
|
"x_offset": 16
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"overview_row_title": "Обзор",
|
"overview_row_title": "Обзор",
|
||||||
|
|
@ -104,22 +130,8 @@
|
||||||
"y_offset": 34
|
"y_offset": 34
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"inter_domain_panels": [
|
"inter_domain_panels": [],
|
||||||
{
|
"traffic_domain_panels": []
|
||||||
"panel_key": "traffic_combined_total",
|
|
||||||
"title_format": "Total Traffic {client}",
|
|
||||||
"condition": {
|
|
||||||
"type": "min_domains",
|
|
||||||
"value": 2
|
|
||||||
}
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"traffic_domain_panels": [
|
|
||||||
{
|
|
||||||
"panel_key": "traffic_combined",
|
|
||||||
"title_format": "{domain} {sid} Traffic"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
"panels": {
|
"panels": {
|
||||||
"row": {
|
"row": {
|
||||||
|
|
@ -191,7 +203,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",
|
||||||
|
|
@ -212,7 +225,8 @@
|
||||||
"fillOpacity": 10,
|
"fillOpacity": 10,
|
||||||
"lineInterpolation": "smooth",
|
"lineInterpolation": "smooth",
|
||||||
"lineWidth": 1,
|
"lineWidth": 1,
|
||||||
"showPoints": "never"
|
"showPoints": "never",
|
||||||
|
"spanNulls": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"overrides": [
|
"overrides": [
|
||||||
|
|
@ -314,7 +328,8 @@
|
||||||
"ref_id": "D"
|
"ref_id": "D"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"vl_interval": "1m"
|
||||||
},
|
},
|
||||||
"response_time": {
|
"response_time": {
|
||||||
"type": "timeseries",
|
"type": "timeseries",
|
||||||
|
|
@ -393,14 +408,15 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"range_field": "upstream_response_time_digital"
|
"range_field": "upstream_response_time_digital"
|
||||||
}
|
},
|
||||||
|
"vl_interval": "1m"
|
||||||
},
|
},
|
||||||
"traffic_combined": {
|
"traffic_combined": {
|
||||||
"type": "timeseries",
|
"type": "timeseries",
|
||||||
"description": "Response and Request Traffic",
|
"description": "Response and Request Traffic",
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 8,
|
"h": 8,
|
||||||
"w": 24,
|
"w": 8,
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 17
|
"y": 17
|
||||||
},
|
},
|
||||||
|
|
@ -483,7 +499,8 @@
|
||||||
"expression_ref_id": "RequestTraffic"
|
"expression_ref_id": "RequestTraffic"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"vl_interval": "1m"
|
||||||
},
|
},
|
||||||
"traffic": {
|
"traffic": {
|
||||||
"type": "timeseries",
|
"type": "timeseries",
|
||||||
|
|
@ -1088,7 +1105,7 @@
|
||||||
"description": "Total Response and Request Traffic (all resources)",
|
"description": "Total Response and Request Traffic (all resources)",
|
||||||
"gridPos": {
|
"gridPos": {
|
||||||
"h": 8,
|
"h": 8,
|
||||||
"w": 24,
|
"w": 8,
|
||||||
"x": 0,
|
"x": 0,
|
||||||
"y": 17
|
"y": 17
|
||||||
},
|
},
|
||||||
|
|
@ -1171,7 +1188,66 @@
|
||||||
"expression_ref_id": "RequestTrafficTotal"
|
"expression_ref_id": "RequestTrafficTotal"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"vl_interval": "1m"
|
||||||
|
},
|
||||||
|
"rps_multi": {
|
||||||
|
"type": "timeseries",
|
||||||
|
"description": "Requests per second",
|
||||||
|
"gridPos": {
|
||||||
|
"h": 8,
|
||||||
|
"w": 12,
|
||||||
|
"x": 0,
|
||||||
|
"y": 1
|
||||||
|
},
|
||||||
|
"fieldConfig": {
|
||||||
|
"defaults": {
|
||||||
|
"color": {
|
||||||
|
"mode": "palette-classic"
|
||||||
|
},
|
||||||
|
"custom": {
|
||||||
|
"axisBorderShow": false,
|
||||||
|
"drawStyle": "line",
|
||||||
|
"fillOpacity": 10,
|
||||||
|
"gradientMode": "opacity",
|
||||||
|
"lineInterpolation": "smooth",
|
||||||
|
"lineWidth": 1,
|
||||||
|
"showPoints": "never",
|
||||||
|
"thresholdsStyle": {
|
||||||
|
"mode": "line"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"thresholds": {
|
||||||
|
"mode": "absolute",
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"color": "green",
|
||||||
|
"value": null
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"color": "dark-red",
|
||||||
|
"value": 1800
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"legend": {
|
||||||
|
"displayMode": "list",
|
||||||
|
"placement": "bottom",
|
||||||
|
"showLegend": true
|
||||||
|
},
|
||||||
|
"tooltip": {
|
||||||
|
"mode": "single"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"query_mode": "rps_multi",
|
||||||
|
"query_config": {
|
||||||
|
"expression": "$A / 60",
|
||||||
|
"expression_ref_id": "RPS_Total"
|
||||||
|
},
|
||||||
|
"vl_interval": "1m"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"queries": {
|
"queries": {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue