Add OTEL tracing and logging to Python microservices. Export to OTLP, log lifecycle and HTTP events, preserve Makefile targets.
What makes it easy
- Python OTEL SDK is well-documented - pip/requirements.txt is familiar - Good auto-instrumentation support
Common failure modes
- Missing lifecycle logging - Makefile targets broken - Async context issues
Performance
| Model | Pass Rate | Runs | Avg Cost | Avg Time |
|---|---|---|---|---|
| gemini-3-flash-preview | 100% | | $0.08 | 3m |
| claude-opus-4.5 | 100% | | $1.68 | 9m |
| gemini-3-pro-preview | 67% | | $0.37 | 5m |
| claude-sonnet-4.5 | 67% | | $0.81 | 7m |
| deepseek-v3.2 | 33% | | $0.09 | 15m |
| gpt-5.1 | 33% | | $0.30 | 13m |
| gpt-5.2 | 33% | | $0.51 | 13m |
| grok-4.1-fast | 0% | | $0.02 | 6m |
| kimi-k2-thinking | 0% | | $0.09 | 16m |
| glm-4.7 | 0% | | $0.27 | 10m |
| grok-4 | 0% | | $0.28 | 6m |
| gpt-5.1-codex-max | 0% | | $0.35 | 15m |
| gpt-5.2-codex | 0% | | $0.41 | 8m |
| claude-haiku-4.5 | 0% | | $0.43 | 8m |
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.