LocalStack App Inspector gives you a visual, real-time view of your serverless application: service topology, request traces, and event flows — without any instrumentation code.
App Inspector is available in the LocalStack Web App:
- Go to https://app.localstack.cloud → App Inspector
- Select your LocalStack instance (should auto-detect if running locally)
- You'll see the Order Processing Pipeline topology automatically discovered
After running module 01, App Inspector shows:
[API Gateway: orders-api]
└─▶ [Lambda: order-handler]
├─▶ [DynamoDB: orders]
└─▶ [SQS: orders-queue]
└─▶ [Lambda: order-processor]
├─▶ [DynamoDB: orders] (UpdateItem)
└─▶ [S3: order-receipts]
[SQS: orders-dlq] ← (on failure)
- Send an order:
API=$(cd ../01-serverless-app/terraform && tflocal output -raw api_endpoint) curl -X POST "$API/orders" -H "Content-Type: application/json" \ -d '{"item": "inspector demo", "quantity": 1}'
- In App Inspector → Traces tab, find the trace for your request
- Click through to see: API GW → Lambda cold start → DynamoDB write → SQS publish → Lambda invocation → S3 put
- Re-inject the DynamoDB fault (from module 04):
curl -s -X POST http://localhost:4566/_localstack/chaos/faults \ -H "Content-Type: application/json" \ -d @../04-chaos-engineering/faults/ddb-throttle-localstack.json - Send a few orders
- In App Inspector → Traces, look for failed traces (shown in red)
- Expand a failed trace to see:
order-processorLambda errored withProvisionedThroughputExceededException- SQS retry count incrementing (visible in event metadata)
- Message eventually routing to
orders-dlq
- Remove the fault and replay — watch the trace go green
| Feature | Where |
|---|---|
| Service topology graph | Overview tab |
| Per-request traces | Traces tab |
| Lambda invocation logs | Click a Lambda node → Logs |
| SQS message flow | Click an SQS node → Messages |
| DynamoDB operations | Click DynamoDB node → Operations |
Next: Module 06 — AI Integration (optional)