2016-11-09 22:08:49 +00:00
|
|
|
{
|
|
|
|
"id": "7b035812-182a-4a94-ba2e-902dfb81e0a2",
|
|
|
|
"measurement": "nsq_channel",
|
|
|
|
"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,
|
|
|
|
"i": "89dad9c8-3391-400e-a44a-b5d4a2c53bf1",
|
2016-11-11 20:40:19 +00:00
|
|
|
"name": "NSQ - Channel Client Count",
|
2016-11-09 22:08:49 +00:00
|
|
|
"queries": [
|
|
|
|
{
|
2018-04-16 21:55:06 +00:00
|
|
|
"query": "SELECT mean(\"client_count\") AS \"client_count\" FROM \":db:\".\":rp:\".\"nsq_channel\"",
|
2016-11-09 22:08:49 +00:00
|
|
|
"groupbys": [
|
|
|
|
"\"topic\"",
|
|
|
|
"\"channel\""
|
|
|
|
],
|
|
|
|
"wheres": []
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"x": 4,
|
|
|
|
"y": 0,
|
|
|
|
"w": 4,
|
|
|
|
"h": 4,
|
|
|
|
"i": "e3eb48c0-8283-4445-b174-f4f8e4182e45",
|
2016-11-11 20:40:19 +00:00
|
|
|
"name": "NSQ - Channel Messages Count",
|
2016-11-09 22:08:49 +00:00
|
|
|
"queries": [
|
|
|
|
{
|
2018-04-16 21:55:06 +00:00
|
|
|
"query": "SELECT mean(\"message_count\") AS \"message_count\" FROM \":db:\".\":rp:\".\"nsq_channel\"",
|
2016-11-09 22:08:49 +00:00
|
|
|
"groupbys": [
|
|
|
|
"\"topic\"",
|
|
|
|
"\"channel\""
|
|
|
|
],
|
|
|
|
"wheres": []
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|