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" ,
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:40:19 +00:00
< < < < < < < 521 c 294017 a 685 c a 2118 a 74 b d 4942829 a d 0 4 f 30 f
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 20:40:19 +00:00
= = = = = = =
"query" : "SELECT mean(\"accepts\") AS \"accepts\", mean(\"handled\") AS \"handled\", mean(\"active\") AS \"active\" FROM nginx" ,
> > > > > > > C l e a n u p a n d a g g r e g a t e s o f t e m p l a t e s
2016-11-11 16:37:14 +00:00
"db" : "telegraf" ,
"rp" : "" ,
"groupbys" : [
"\"server\""
] ,
"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:40:19 +00:00
< < < < < < < 521 c 294017 a 685 c a 2118 a 74 b d 4942829 a d 0 4 f 30 f
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 20:40:19 +00:00
= = = = = = =
"query" : "SELECT mean(\"accepts\") - mean(\"handled\") AS \"dropped\" FROM nginx" ,
> > > > > > > C l e a n u p a n d a g g r e g a t e s o f t e m p l a t e s
2016-11-11 16:37:14 +00:00
"db" : "telegraf" ,
"rp" : "" ,
"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
"db" : "telegraf" ,
"rp" : "" ,
"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
"db" : "telegraf" ,
"rp" : "" ,
"groupbys" : [
"\"server\""
] ,
"wheres" : [ ]
}
]
}
]
}