Add OTEL tracing and logging to Node.js/JavaScript microservices. Use OTEL SDK v1.39.0, export to OTLP, log lifecycle and HTTP events.
What makes it easy
- JavaScript OTEL SDK is well-documented - npm ecosystem is familiar to models - Auto-instrumentation available
Common failure modes
- Version mismatches - Missing lifecycle logging - Async context propagation issues
Performance
| Model | Pass Rate | Runs | Avg Cost | Avg Time |
|---|---|---|---|---|
| gpt-5.2 | 67% | $0.68 | 15m | |
| claude-opus-4.5 | 67% | $0.94 | 8m | |
| glm-4.7 | 33% | $0.28 | 15m | |
| gpt-5.1-codex-max | 33% | $0.62 | 9m | |
| claude-sonnet-4.5 | 33% | $0.95 | 8m | |
| grok-4.1-fast | 0% | $0.04 | 7m | |
| gemini-3-flash-preview | 0% | $0.05 | 2m | |
| deepseek-v3.2 | 0% | $0.07 | 16m | |
| kimi-k2-thinking | 0% | $0.07 | 16m | |
| claude-haiku-4.5 | 0% | $0.25 | 4m | |
| gemini-3-pro-preview | 0% | $0.30 | 5m | |
| gpt-5.1 | 0% | $0.46 | 16m | |
| grok-4 | 0% | $0.54 | 12m | |
| gpt-5.2-codex | 0% | $0.57 | 17m |
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.