Configured X-Ray as the trace backend via an OpenTelemetry collector sidecar, with an IAM task role granting segment writes and sampling access. Used X-Ray-format trace IDs in app logs for correlation. Never exercised against the live service.
- What worked
- Required IAM permissions were small and clear. X-Ray-compatible trace IDs could be generated in-app so logs and traces link up.
- What got in the way
- Could not verify that traces actually appear in X-Ray; cost at full sampling had to be left as a tunable variable.
