chronograf/protoboards/rabbitmq.json

158 lines
4.7 KiB
JSON

{
"id": "fb4bbdf8-6171-4576-b1a1-8f354081aa1b",
"meta": {
"name": "RabbitMQ",
"measurements": ["rabbitmq_node"],
"version": "1.1",
"dashboardVersion": "1.x",
"description": "Dashboard for the telegraf input plug-in: RabbitMQ",
"author": "influxdata",
"license": "MIT",
"icon": "",
"url": "https://github.com/influxdata/telegraf/tree/master/plugins/inputs/rabbitmq"
},
"data": {
"cells": [
{
"w": 4,
"h": 4,
"name": "RabbitMQ - Overview",
"queries": [
{
"query": "SELECT mean(\"consumers\") AS \"consumers\" FROM \":db:\".\":rp:\".\"rabbitmq_overview\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)"
},
{
"query": "SELECT mean(\"exchanges\") AS \"exchanges\" FROM \":db:\".\":rp:\".\"rabbitmq_overview\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)"
},
{
"query": "SELECT mean(\"queues\") AS \"queues\" FROM \":db:\".\":rp:\".\"rabbitmq_overview\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)"
}
],
"type": "line",
"axes": {
"x": {
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear",
"label": "",
"bounds": ["", ""]
},
"y": {
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear",
"label": "",
"bounds": ["", ""]
},
"y2": {
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear",
"label": "",
"bounds": ["", ""]
}
}
},
{
"w": 4,
"h": 4,
"name": "RabbitMQ - Published/Delivered per second",
"queries": [
{
"query": "SELECT derivative(mean(\"messages_published\"), 1s) AS \"published_per_sec\" FROM \":db:\".\":rp:\".\"rabbitmq_overview\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)"
},
{
"query": "SELECT derivative(mean(\"messages_delivered\"), 1s) AS \"delivered_per_sec\" FROM \":db:\".\":rp:\".\"rabbitmq_overview\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)"
}
],
"type": "line",
"axes": {
"x": {
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear",
"label": "",
"bounds": ["", ""]
},
"y": {
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear",
"label": "",
"bounds": ["", ""]
},
"y2": {
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear",
"label": "",
"bounds": ["", ""]
}
}
},
{
"w": 4,
"h": 4,
"name": "RabbitMQ - Acked/Unacked per second",
"queries": [
{
"query": "SELECT derivative(mean(\"messages_acked\"), 1s) AS \"acked_per_sec\" FROM \":db:\".\":rp:\".\"rabbitmq_overview\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)"
},
{
"query": "SELECT derivative(mean(\"messages_unacked\"), 1s) AS \"unacked_per_sec\" FROM \":db:\".\":rp:\".\"rabbitmq_overview\" WHERE time > :dashboardTime: AND \"host\" = :host: GROUP BY time(:interval:)"
}
],
"type": "line",
"axes": {
"x": {
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear",
"label": "",
"bounds": ["", ""]
},
"y": {
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear",
"label": "",
"bounds": ["", ""]
},
"y2": {
"prefix": "",
"suffix": "",
"base": "10",
"scale": "linear",
"label": "",
"bounds": ["", ""]
}
}
}
],
"templates": [
{
"tempVar": ":host:",
"id": "",
"type": "tagValues",
"label": "",
"values": [],
"query": {
"influxql": "SHOW TAG VALUES ON :database: FROM :measurement: WITH KEY=:tagKey:",
"db": "telegraf",
"measurement": "rabbitmq_node",
"tagKey": "host",
"fieldKey": ""
}
}
]
}
}