Annotation or metadata for filtering?
Your team needs to open the X-Ray console and quickly filter traces down to every request for one specific customer_id while investigating a complaint. You are deciding how to attach customer_id to your traces in code.
Should customer_id be added as an annotation or as metadata, and why?
This exercise is part of the course
Monitoring and troubleshooting AWS
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise