TasksRust Microservices Instrumentation
Add OTEL tracing and logging to Rust microservices (gateway, order, stock). Export to OTLP, log lifecycle and HTTP events.
Common failure modes
Docker environment missing system dependencies. The `openssl-sys` crate requires `pkg-config` and `libssl-dev`, which aren't installed. Root cause: Environment configuration issue, not model failure.
Example error
Could not find openssl via pkg-config The pkg-config command could not be found.
Performance
| Model | Pass Rate | Runs | Avg Cost | Avg Time |
|---|---|---|---|---|
| gemini-3-flash-preview | 0% | $0.13 | 6m | |
| kimi-k2-thinking | 0% | $0.14 | 29m | |
| grok-4.1-fast | 0% | $0.21 | 26m | |
| deepseek-v3.2 | 0% | $0.31 | 35m | |
| gemini-3-pro-preview | 0% | $0.36 | 6m | |
| glm-4.7 | 0% | $0.44 | 55m | |
| claude-haiku-4.5 | 0% | $0.68 | 22m | |
| gpt-5.1-codex-max | 0% | $0.79 | 14m | |
| gpt-5.1 | 0% | $0.85 | 30m | |
| grok-4 | 0% | $1.17 | 19m | |
| gpt-5.2 | 0% | $1.18 | 33m | |
| gpt-5.2-codex | 0% | $1.44 | 36m | |
| claude-sonnet-4.5 | 0% | $1.48 | 22m | |
| claude-opus-4.5 | 0% | $1.95 | 25m |