Add OTEL tracing and logging to Swift microservices (gateway, order, stock). Export to OTLP, log lifecycle and HTTP events.
Common failure modes
Swift services fail to compile or start. No `test_compile_all` test exists, so specific errors aren't captured. Swift OTEL SDK is immature and Swift Package Manager is complex.
Performance
| Model | Pass Rate | Runs | Avg Cost | Avg Time |
|---|---|---|---|---|
| kimi-k2-thinking | 0% | | $0.14 | 29m |
| gemini-3-flash-preview | 0% | | $0.15 | 11m |
| grok-4.1-fast | 0% | | $0.24 | 26m |
| claude-haiku-4.5 | 0% | | $0.36 | 16m |
| deepseek-v3.2 | 0% | | $0.49 | 37m |
| grok-4 | 0% | | $0.53 | 13m |
| gemini-3-pro-preview | 0% | | $0.73 | 15m |
| glm-4.7 | 0% | | $0.78 | 36m |
| gpt-5.1-codex-max | 0% | | $0.93 | 32m |
| gpt-5.1 | 0% | | $0.95 | 37m |
| gpt-5.2-codex | 0% | | $1.36 | 37m |
| gpt-5.2 | 0% | | $1.54 | 38m |
| claude-sonnet-4.5 | 0% | | $2.72 | 38m |
| claude-opus-4.5 | 0% | | $2.87 | 42m |
All product names, logos, and brands (™/®) are the property of their respective owners; they're used here solely for identification and comparison, and their use does not imply affiliation, endorsement, or sponsorship.