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": {
|
||||
"use_collapsed_rows": true,
|
||||
"tenant_panels": [
|
||||
{
|
||||
"panel_key": "rps",
|
||||
"title_format": "RPS {client}",
|
||||
"width": 12,
|
||||
"x_offset": 0,
|
||||
"y_offset": 1
|
||||
},
|
||||
{
|
||||
"panel_key": "status_codes",
|
||||
"title_format": "Status Codes {client}",
|
||||
"width": 12,
|
||||
"x_offset": 12,
|
||||
"y_offset": 1
|
||||
"width": 8,
|
||||
"x_offset": 0
|
||||
},
|
||||
{
|
||||
"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": [
|
||||
{
|
||||
"panel_key": "status_codes",
|
||||
"title_suffix": "{sid} Status Codes",
|
||||
"width": 12,
|
||||
"x_offset": 0,
|
||||
"y_offset": 9
|
||||
"width": 8,
|
||||
"x_offset": 0
|
||||
},
|
||||
{
|
||||
"panel_key": "response_time",
|
||||
"title_suffix": "{sid} Response Time",
|
||||
"width": 12,
|
||||
"x_offset": 12,
|
||||
"y_offset": 9
|
||||
"width": 8,
|
||||
"x_offset": 8
|
||||
},
|
||||
{
|
||||
"panel_key": "traffic_combined",
|
||||
"title_format": "{domain} {sid} Traffic",
|
||||
"width": 8,
|
||||
"x_offset": 16
|
||||
}
|
||||
],
|
||||
"overview_row_title": "Обзор",
|
||||
|
|
@ -104,22 +130,8 @@
|
|||
"y_offset": 34
|
||||
}
|
||||
],
|
||||
"inter_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"
|
||||
}
|
||||
]
|
||||
"inter_domain_panels": [],
|
||||
"traffic_domain_panels": []
|
||||
},
|
||||
"panels": {
|
||||
"row": {
|
||||
|
|
@ -191,7 +203,8 @@
|
|||
"alias": "{client_title} Total RPS",
|
||||
"expression": "$A / 60",
|
||||
"expression_ref_id": "RPS"
|
||||
}
|
||||
},
|
||||
"vl_interval": "1m"
|
||||
},
|
||||
"status_codes": {
|
||||
"type": "timeseries",
|
||||
|
|
@ -212,7 +225,8 @@
|
|||
"fillOpacity": 10,
|
||||
"lineInterpolation": "smooth",
|
||||
"lineWidth": 1,
|
||||
"showPoints": "never"
|
||||
"showPoints": "never",
|
||||
"spanNulls": true
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
|
|
@ -314,7 +328,8 @@
|
|||
"ref_id": "D"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"vl_interval": "1m"
|
||||
},
|
||||
"response_time": {
|
||||
"type": "timeseries",
|
||||
|
|
@ -393,14 +408,15 @@
|
|||
}
|
||||
],
|
||||
"range_field": "upstream_response_time_digital"
|
||||
}
|
||||
},
|
||||
"vl_interval": "1m"
|
||||
},
|
||||
"traffic_combined": {
|
||||
"type": "timeseries",
|
||||
"description": "Response and Request Traffic",
|
||||
"gridPos": {
|
||||
"h": 8,
|
||||
"w": 24,
|
||||
"w": 8,
|
||||
"x": 0,
|
||||
"y": 17
|
||||
},
|
||||
|
|
@ -483,7 +499,8 @@
|
|||
"expression_ref_id": "RequestTraffic"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"vl_interval": "1m"
|
||||
},
|
||||
"traffic": {
|
||||
"type": "timeseries",
|
||||
|
|
@ -1088,7 +1105,7 @@
|
|||
"description": "Total Response and Request Traffic (all resources)",
|
||||
"gridPos": {
|
||||
"h": 8,
|
||||
"w": 24,
|
||||
"w": 8,
|
||||
"x": 0,
|
||||
"y": 17
|
||||
},
|
||||
|
|
@ -1171,7 +1188,66 @@
|
|||
"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": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue