Angie rps
This commit is contained in:
parent
d084d94790
commit
b46fbb9b50
1 changed files with 64 additions and 0 deletions
|
|
@ -161,6 +161,12 @@
|
|||
"width": 24,
|
||||
"x_offset": 0,
|
||||
"title_format": "Errors by Node"
|
||||
},
|
||||
{
|
||||
"panel_key": "angie_rps_by_node",
|
||||
"width": 24,
|
||||
"x_offset": 0,
|
||||
"title_format": "Angie RPS by Node"
|
||||
}
|
||||
],
|
||||
"error_row_title": "Angie"
|
||||
|
|
@ -1989,6 +1995,64 @@
|
|||
},
|
||||
"vl_interval": "1m",
|
||||
"title": "Nginx vs Angie Status Codes SID: ${SID:raw} / app: ${app_name:raw}"
|
||||
},
|
||||
"angie_rps_by_node": {
|
||||
"type": "timeseries",
|
||||
"title": "Angie RPS by Node",
|
||||
"description": "RPS запросов через Angie по нодам (log_type:angie-access-PTAF)",
|
||||
"gridPos": {
|
||||
"h": 10,
|
||||
"w": 24,
|
||||
"x": 0,
|
||||
"y": 0
|
||||
},
|
||||
"fieldConfig": {
|
||||
"defaults": {
|
||||
"color": {
|
||||
"mode": "palette-classic"
|
||||
},
|
||||
"custom": {
|
||||
"lineWidth": 1,
|
||||
"fillOpacity": 0,
|
||||
"spanNulls": 180000,
|
||||
"showPoints": "never"
|
||||
},
|
||||
"unit": "reqps"
|
||||
}
|
||||
},
|
||||
"options": {
|
||||
"tooltip": {
|
||||
"mode": "multi",
|
||||
"sort": "desc"
|
||||
},
|
||||
"legend": {
|
||||
"displayMode": "table",
|
||||
"placement": "right",
|
||||
"calcs": [
|
||||
"mean",
|
||||
"max"
|
||||
]
|
||||
}
|
||||
},
|
||||
"query_mode": "bucket_logs",
|
||||
"vl_interval": "1m",
|
||||
"query_config": {
|
||||
"base_query": "log_type:angie-access-PTAF AND SID:${SID:lucene}",
|
||||
"vl_base_query": "log_type:angie-access-PTAF",
|
||||
"terms_field": "node_name",
|
||||
"metric": "count",
|
||||
"vl_metric": "rps"
|
||||
},
|
||||
"timeShift": "1m",
|
||||
"transformations": [
|
||||
{
|
||||
"id": "renameByRegex",
|
||||
"options": {
|
||||
"regex": ".*node_name=\"([^\"]+)\".*",
|
||||
"renamePattern": "$1"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"queries": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue