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",
|
|
|
|
"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-09 22:08:49 +00:00
|
|
|
"name": "NSQ topic messages",
|
|
|
|
"queries": [
|
|
|
|
{
|
|
|
|
"query": "select depth from nsq_topic",
|
|
|
|
"db": "telegraf",
|
|
|
|
"rp": "autogen",
|
|
|
|
"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-09 22:08:49 +00:00
|
|
|
"name": "NSQ topic messages on disk",
|
|
|
|
"queries": [
|
|
|
|
{
|
|
|
|
"query": "select backend_depth from nsq_topic",
|
|
|
|
"db": "telegraf",
|
|
|
|
"rp": "autogen",
|
|
|
|
"groupbys": [
|
|
|
|
"\"topic\""
|
|
|
|
],
|
|
|
|
"wheres": []
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"x": 0,
|
|
|
|
"y": 4,
|
|
|
|
"w": 4,
|
|
|
|
"h": 4,
|
|
|
|
"i": "06909f21-f035-4668-8193-8e06a018accb",
|
|
|
|
"name": "NSQ topic ingress",
|
|
|
|
"queries": [
|
|
|
|
{
|
|
|
|
"query": "select derivative(\"message_count\") as messages_per_second from nsq_topic",
|
|
|
|
"db": "telegraf",
|
|
|
|
"rp": "autogen",
|
|
|
|
"groupbys": [
|
|
|
|
"\"topic\"",
|
|
|
|
"\"host\""
|
|
|
|
],
|
|
|
|
"wheres": []
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"x": 4,
|
|
|
|
"y": 4,
|
|
|
|
"w": 4,
|
|
|
|
"h": 4,
|
|
|
|
"i": "a5aa73a5-42aa-464a-aaaa-0a7a50632a0a",
|
|
|
|
"name": "NSQ topic egress",
|
|
|
|
"queries": [
|
|
|
|
{
|
|
|
|
"query": "select derivative(\"message_count\") - derivative(\"depth\") as messages_per_second from nsq_topic",
|
|
|
|
"db": "telegraf",
|
|
|
|
"rp": "autogen",
|
|
|
|
"groupbys": [
|
|
|
|
"\"topic\"",
|
|
|
|
"\"host\""
|
|
|
|
],
|
|
|
|
"wheres": []
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|