77 lines
2.0 KiB
JSON
77 lines
2.0 KiB
JSON
|
{
|
|||
|
"id": "b805d661-e5a3-45e4-af18-de0e9360e6e7",
|
|||
|
"measurement": "nginx",
|
|||
|
"app": "nginx",
|
|||
|
"autoflow": true,
|
|||
|
"cells": [
|
|||
|
{
|
|||
|
"x": 0,
|
|||
|
"y": 0,
|
|||
|
"w": 4,
|
|||
|
"h": 4,
|
|||
|
"i": "a209be7f-33c6-4612-88b2-848ae402c66a",
|
|||
|
"name": "NGINX – Client Connections",
|
|||
|
"queries": [
|
|||
|
{
|
|||
|
"query": "SELECT non_negative_derivative(max(\"accepts\"), 1s) AS \"accepts\", non_negative_derivative(max(\"handled\"), 1s) AS \"handled\", non_negative_derivative(max(\"active\"), 1s) AS \"active\" FROM \":db:\".\":rp:\".\"nginx\"",
|
|||
|
"groupbys": [
|
|||
|
"\"server\""
|
|||
|
],
|
|||
|
"wheres": []
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"x": 0,
|
|||
|
"y": 0,
|
|||
|
"w": 4,
|
|||
|
"h": 4,
|
|||
|
"i": "0fc591ad-8541-4de3-a36e-4ae69ff954c4",
|
|||
|
"name": "NGINX – Client Errors",
|
|||
|
"queries": [
|
|||
|
{
|
|||
|
"query": "SELECT non_negative_derivative(max(\"accepts\")) - non_negative_derivative(max(\"handled\")) FROM \":db:\".\":rp:\".\"nginx\"",
|
|||
|
"groupbys": [
|
|||
|
"\"server\""
|
|||
|
],
|
|||
|
"wheres": []
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"x": 0,
|
|||
|
"y": 0,
|
|||
|
"w": 4,
|
|||
|
"h": 4,
|
|||
|
"i": "a1f37574-b86e-4278-8acc-ba78d3ac2e4e",
|
|||
|
"name": "NGINX – Client Requests",
|
|||
|
"queries": [
|
|||
|
{
|
|||
|
"query": "SELECT non_negative_derivative(max(\"requests\"), 1s) AS \"requests\" FROM \":db:\".\":rp:\".\"nginx\"",
|
|||
|
"groupbys": [
|
|||
|
"\"server\""
|
|||
|
],
|
|||
|
"wheres": []
|
|||
|
}
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"x": 0,
|
|||
|
"y": 0,
|
|||
|
"w": 4,
|
|||
|
"h": 4,
|
|||
|
"i": "5b91c5b0-d270-4d03-aeae-007f2351c80c",
|
|||
|
"name": "NGINX – Active Client State",
|
|||
|
"queries": [
|
|||
|
{
|
|||
|
"query": "SELECT non_negative_derivative(max(\"waiting\"), 1s) AS \"waiting\", non_negative_derivative(max(\"reading\"), 1s) AS \"reading\", non_negative_derivative(max(\"writing\"), 1s) AS \"writing\" FROM \":db:\".\":rp:\".\"nginx\"",
|
|||
|
"groupbys": [
|
|||
|
"\"server\""
|
|||
|
],
|
|||
|
"wheres": []
|
|||
|
}
|
|||
|
]
|
|||
|
}
|
|||
|
]
|
|||
|
}
|