2016-11-11 16:37:14 +00:00
{
"id" : "b805d661-e5a3-45e4-af18-de0e9360e6e7" ,
"measurement" : "nginx" ,
"app" : "nginx" ,
"cells" : [
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
"i" : "a209be7f-33c6-4612-88b2-848ae402c66a" ,
"name" : "NGINX – Client connections" ,
"queries" : [
{
2016-11-11 18:16:30 +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
"db" : "telegraf" ,
"rp" : "" ,
"groupbys" : [
"time(10s)" ,
"\"server\""
] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
"i" : "0fc591ad-8541-4de3-a36e-4ae69ff954c4" ,
"name" : "NGINX – Client errors" ,
"queries" : [
{
2016-11-11 18:16:30 +00:00
"query" : "select non_negative_derivative(max(\"accepts\")) - non_negative_derivative(max(\"handled\")) from nginx" ,
2016-11-11 16:37:14 +00:00
"db" : "telegraf" ,
"rp" : "" ,
"groupbys" : [
"time(10s)" ,
"\"server\""
] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
"i" : "a1f37574-b86e-4278-8acc-ba78d3ac2e4e" ,
"name" : "NGINX – Client requests" ,
"queries" : [
{
2016-11-11 18:16:30 +00:00
"query" : "select non_negative_derivative(max(\"requests\"), 1s) as \"requests\" from nginx" ,
2016-11-11 16:37:14 +00:00
"db" : "telegraf" ,
"rp" : "" ,
"groupbys" : [
"time(10s)" ,
"\"server\""
] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
"i" : "5b91c5b0-d270-4d03-aeae-007f2351c80c" ,
"name" : "NGINX – Active Client state" ,
"queries" : [
{
2016-11-11 18:16:30 +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
"db" : "telegraf" ,
"rp" : "" ,
"groupbys" : [
"time(10s)" ,
"\"server\""
] ,
"wheres" : [ ]
}
]
}
]
}