2016-11-09 22:08:49 +00:00
{
2016-11-10 21:13:17 +00:00
"id" : "f7be6717-61df-4e58-ac4a-e4f49f95d847" ,
2016-11-09 22:08:49 +00:00
"measurement" : "nsq_topic" ,
"app" : "nsq" ,
2016-11-15 18:11:32 +00:00
"autoflow" : true ,
2016-11-09 22:08:49 +00:00
"cells" : [
{
"x" : 0 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
2016-11-10 22:48:16 +00:00
"i" : "f07967cb-2c2a-41cb-8420-f041f46b0635" ,
2016-11-11 20:40:19 +00:00
"name" : "NSQ - Topic Messages" ,
2016-11-09 22:08:49 +00:00
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT mean(\"depth\") AS \"depth\" FROM \":db:\".\":rp:\".\"nsq_topic\"" ,
2016-11-09 22:08:49 +00:00
"groupbys" : [
"\"topic\""
] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 4 ,
"y" : 0 ,
"w" : 4 ,
"h" : 4 ,
2016-11-10 21:06:13 +00:00
"i" : "912f337b-3af2-42af-9352-b31a5bc3b431" ,
2016-11-11 20:40:19 +00:00
"name" : "NSQ - Topic Messages on Disk" ,
2016-11-09 22:08:49 +00:00
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT mean(\"backend_depth\") AS \"backend_depth\" FROM \":db:\".\":rp:\".\"nsq_topic\"" ,
2016-11-09 22:08:49 +00:00
"groupbys" : [
"\"topic\""
] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 0 ,
"y" : 4 ,
"w" : 4 ,
"h" : 4 ,
"i" : "06909f21-f035-4668-8193-8e06a018accb" ,
2016-11-11 20:40:19 +00:00
"name" : "NSQ - Topic Ingress" ,
2016-11-09 22:08:49 +00:00
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT non_negative_derivative(max(\"message_count\")) AS \"messages_per_second\" FROM \":db:\".\":rp:\".\"nsq_topic\"" ,
2016-11-09 22:08:49 +00:00
"groupbys" : [
"\"topic\"" ,
"\"host\""
] ,
"wheres" : [ ]
}
]
} ,
{
"x" : 4 ,
"y" : 4 ,
"w" : 4 ,
"h" : 4 ,
"i" : "a5aa73a5-42aa-464a-aaaa-0a7a50632a0a" ,
"name" : "NSQ topic egress" ,
"queries" : [
{
2018-04-16 21:55:06 +00:00
"query" : "SELECT non_negative_derivative(max(\"message_count\")) - non_negative_derivative(max(\"depth\")) AS \"messages_per_second\" FROM \":db:\".\":rp:\".\"nsq_topic\"" ,
2016-11-09 22:08:49 +00:00
"groupbys" : [
"\"topic\"" ,
"\"host\""
] ,
"wheres" : [ ]
}
]
}
]
}