In this workshop, you will explore two main tools: X-Ray and Custom Metrics. The steps include monitoring, optimization, automation, and alerting systems.
ProcessingTime, ErrorType, UserAction| π§ Scenario | βοΈ Main Action |
|---|---|
| π Receive CloudWatch Alarm | Check the Alarm β Review unusual Logs β Use X-Ray to trace slow requests |
| π Perform routine performance check | Go to Dashboard β Compare request processing time charts |
| π οΈ Sudden latency spike | Redeploy Lambda β Check memory/timeout β Apply load reduction if needed |
| π§ͺ Debug specific error | Use X-Ray β Find trace by ID/time β Analyze breakdown |
| π Long-term optimization | Add more metrics to EMF β Set up advanced alarms |
| π§Ή Periodic cleanup | Remove old alarms/topics β Review Logs/X-Ray cost for optimization |