chronograf/canned/nsq_topic.json

86 lines
1.8 KiB
JSON

{
"id": "f7be6717-61df-4e58-ac4a-e4f49f95d847",
"measurement": "nsq_topic",
"app": "nsq",
"cells": [
{
"x": 0,
"y": 0,
"w": 4,
"h": 4,
"i": "f07967cb-2c2a-41cb-8420-f041f46b0635",
"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,
"i": "912f337b-3af2-42af-9352-b31a5bc3b431",
"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": []
}
]
}
]
}