Aws Shard Balance
aws_shard_balanceDetect ElastiCache shard skew from CloudWatch alone, flagging hot shards, memory imbalance, and pinned primaries to diagnose replication-group issues without a data-plane connection.
Instructions
Per-shard skew from CloudWatch only (no data-plane connection). Findings first: hot shard (over 2x the median and above 50% CPU), memory skew, one primary pinned near 100% CPU (hot-key signature).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"replication_group_id": "<replication_group_id>"
},
"name": "aws_shard_balance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| region | No | AWS region; defaults to AWS_REGION | |
| minutes | No | CloudWatch window in minutes | |
| replication_group_id | Yes | ReplicationGroupId to check for shard skew |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||