v1.4.0 — AgentCore Dashboard + CloudWatch Metrics Integration
This release adds a new AgentCore Dashboard page, CloudWatch metrics tables for 4 services, and Resource Inventory (PR #1).
AgentCore Dashboard · Sign Out · 4 CloudWatch Metrics APIs · Resource Inventory · S3 Bucket Map
AgentCore Dashboard (/agentcore)
A dedicated dashboard for monitoring the status of Bedrock AgentCore Runtime and all 8 Gateways at a glance.
- Runtime Status: Queries status using
agentRuntimeArnfromdata/config.json - 8 Gateway Cards: Shows each Gateway's status, tool count, and key features
- Full 125 Tool List: Supports search and per-Gateway filtering
- Architecture Diagram: Visualizes Runtime → Gateway → Lambda relationships
/api/agentcore (src/app/api/agentcore/route.ts) reads ARNs from data/config.json and queries status via AWS API. With no hardcoded account info, it works in any environment by just changing the config.
Sign Out
Added a logout button to the Header for safely terminating Cognito sessions.
| Item | Before | After |
|---|---|---|
| Logout | Not possible (only closing browser) | Header logout button |
| Cookie Deletion | document.cookie (can't access HttpOnly) | POST /api/auth server-side deletion |
| Auth State | Depends on browser cache | Forces Cognito re-authentication |
document.cookie cannot delete HttpOnly cookies.
You must use a server-side API (src/app/api/auth/route.ts) to return Set-Cookie: token=; Max-Age=0.
CloudWatch Metrics Tables (4 Services)
Added dedicated API routes and CloudWatch metrics tables for 4 services. All follow the same pattern (cloudwatch get-metric-data → progress bar + numeric values).
| Service | API Route | Metrics |
|---|---|---|
| MSK | /api/msk | Per-broker CPU, Memory, BytesIn, BytesOut |
| RDS | /api/rds | Per-instance CPU, Memory, Connections, IOPS |
| ElastiCache | /api/elasticache | Per-node CPU, Memory, Network, Connections + Valkey engine card |
| OpenSearch | /api/opensearch | Per-domain CPU, JVM Memory, Cluster Status, Search Rate |
Resource Inventory (PR #1)
Monitor quantity trends for 18 resource types on the /inventory page.
- Multi-line Chart: Time series of resource quantity changes
- Cost Impact Estimation: Estimated cost based on resource changes
src/lib/resource-inventory.ts: Snapshot-based (data/inventory/), zero additional queries- Cost Explorer Availability: Automatic MSP Payer detection via
checkCostAvailability()
S3 / RDS / ElastiCache Enhancements
| Service | Added Features |
|---|---|
| S3 | Bucket Map (TreeMap visualization), search/filter, IAM Roles display |
| RDS | Security Groups tab, CloudWatch mini charts, Features details |
| ElastiCache | Security Groups tab, CloudWatch metrics, Valkey engine support |
Monitoring Enhancements
- Instance Detailed Metrics View: Date Range selection (1h ~ 30d)
- Resource Topology: Graph/Map View toggle (React Flow)