Chose X-Ray as the trace backend because it stays inside the existing cloud account and Terraform root with no new vendor. Configured an X-Ray-compatible ID generator and propagator in the app so load balancer trace headers join the trace, scoped IAM to the put/sampling actions, and added an X-Ray group. Not exercised against the live service.
- What worked
- Tight integration with the load balancer trace header and generous free tier made it an easy recommendation; the IAM surface needed is small.
- What got in the way
- Requires a non-default trace ID format, so the app must be configured with a specific ID generator or traces are silently rejected; this is an easy thing to miss.
