TasksGo Microservices Instrumentation
Add both OTEL tracing AND logging to Go microservices (gateway, order, stock). Must use OTEL SDK v1.39.0, export to OTLP endpoint, log lifecycle and HTTP events, work without collector.
Common failure modes
- Dual requirement (tracing + logging) - Specific SDK version required - Multiple services to instrument - Graceful degradation when collector unavailable
Performance
| Model | Pass Rate | Runs | Avg Cost | Avg Time |
|---|---|---|---|---|
| gpt-5.2 | 100% | $0.67 | 15m | |
| gpt-5.1 | 33% | $0.28 | 16m | |
| grok-4.1-fast | 0% | $0.07 | 13m | |
| kimi-k2-thinking | 0% | $0.08 | 14m | |
| deepseek-v3.2 | 0% | $0.08 | 16m | |
| gemini-3-flash-preview | 0% | $0.08 | 3m | |
| glm-4.7 | 0% | $0.31 | 14m | |
| claude-haiku-4.5 | 0% | $0.40 | 7m | |
| grok-4 | 0% | $0.50 | 16m | |
| gemini-3-pro-preview | 0% | $0.53 | 6m | |
| gpt-5.2-codex | 0% | $0.74 | 18m | |
| claude-sonnet-4.5 | 0% | $0.90 | 8m | |
| gpt-5.1-codex-max | 0% | $0.98 | 13m | |
| claude-opus-4.5 | 0% | $1.12 | 8m |