Node Pubsub
node_pubsubDiagnose Redis/Valkey Pub/Sub pressure by reporting cluster-aggregated channel and pattern counts, top channels by subscribers, and subscribers with large output buffers; counts only, never messages.
Instructions
Pub/Sub pressure: channel and pattern counts, top channels by subscribers, subscribers with large output buffers. Counts only, never messages. Cluster mode aggregates shard primaries.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "node_pubsub"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Channels to list by subscriber count | |
| pattern | No | PUBSUB CHANNELS glob filter | |
| max_workers | No | Concurrent shard probes (cluster mode) | |
| per_node_timeout | No | Seconds to wait per node |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||