A practitioner's journey through three levels of AWS observability: starting from unstructured log chaos (Level 1), progressing to structured logs, metrics, and traces using Lambda Powertools (Level 2), and finally reaching AI-assisted debugging with a Claude Code agent that queries CloudWatch Logs Insights automatically (Level 3). Includes a full example of a custom Claude Code sub-agent configuration with CloudWatch Logs Insights query templates, and a bonus tip on using Claude Code's loop mechanism to proactively detect and correlate errors with git commits.
Table of contents
Level 1 - Log HellLevel 2 - The Three Pillars of ObservabilityLevel 3 - AI-Assisted DebuggingBonus - Find Errors automaticallySort: