chronograf/canned/nginx.json

77 lines
1.9 KiB
JSON
Raw Normal View History

2016-11-11 16:37:14 +00:00
{
"id": "b805d661-e5a3-45e4-af18-de0e9360e6e7",
"measurement": "nginx",
"app": "nginx",
"autoflow": true,
2016-11-11 16:37:14 +00:00
"cells": [
{
"x": 0,
"y": 0,
"w": 4,
"h": 4,
"i": "a209be7f-33c6-4612-88b2-848ae402c66a",
2016-11-11 20:40:19 +00:00
"name": "NGINX Client Connections",
2016-11-11 16:37:14 +00:00
"queries": [
{
2016-11-11 20:44:44 +00:00
"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 nginx",
2016-11-11 16:37:14 +00:00
"groupbys": [
"\"server\""
2016-11-11 16:37:14 +00:00
],
"wheres": []
}
]
},
{
"x": 0,
"y": 0,
"w": 4,
"h": 4,
"i": "0fc591ad-8541-4de3-a36e-4ae69ff954c4",
2016-11-11 20:40:19 +00:00
"name": "NGINX Client Errors",
2016-11-11 16:37:14 +00:00
"queries": [
{
2016-11-11 20:44:44 +00:00
"query": "SELECT non_negative_derivative(max(\"accepts\")) - non_negative_derivative(max(\"handled\")) FROM nginx",
2016-11-11 16:37:14 +00:00
"groupbys": [
"\"server\""
],
"wheres": []
}
]
},
{
"x": 0,
"y": 0,
"w": 4,
"h": 4,
"i": "a1f37574-b86e-4278-8acc-ba78d3ac2e4e",
2016-11-11 20:40:19 +00:00
"name": "NGINX Client Requests",
2016-11-11 16:37:14 +00:00
"queries": [
{
2016-11-11 20:40:19 +00:00
"query": "SELECT non_negative_derivative(max(\"requests\"), 1s) AS \"requests\" FROM nginx",
2016-11-11 16:37:14 +00:00
"groupbys": [
"\"server\""
],
"wheres": []
}
]
},
{
"x": 0,
"y": 0,
"w": 4,
"h": 4,
"i": "5b91c5b0-d270-4d03-aeae-007f2351c80c",
2016-11-11 20:40:19 +00:00
"name": "NGINX Active Client State",
2016-11-11 16:37:14 +00:00
"queries": [
{
2016-11-11 20:40:19 +00:00
"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 nginx",
2016-11-11 16:37:14 +00:00
"groupbys": [
"\"server\""
],
"wheres": []
}
]
}
]
}