Skip to main content

TasksPython Microservices Instrumentation

Python31% pass rateView TaskView Prompt

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

ModelPass RateRunsAvg CostAvg Time
Googlegemini-3-flash-preview100%
$0.083m
Anthropicclaude-opus-4.5100%
$1.689m
Googlegemini-3-pro-preview67%
$0.375m
Anthropicclaude-sonnet-4.567%
$0.817m
DeepSeekdeepseek-v3.233%
$0.0915m
OpenAIgpt-5.133%
$0.3013m
OpenAIgpt-5.233%
$0.5113m
Grokgrok-4.1-fast0%
$0.026m
Kimikimi-k2-thinking0%
$0.0916m
Z.aiglm-4.70%
$0.2710m
Grokgrok-40%
$0.286m
OpenAIgpt-5.1-codex-max0%
$0.3515m
OpenAIgpt-5.2-codex0%
$0.418m
Anthropicclaude-haiku-4.50%
$0.438m