sdk-python
sdk-python copied to clipboard
OpenAI OTel logging
What was changed
Aim: Improve compatibility between OpenAI Agents SDK (OpenAIAgentsPlugin) and OTel logging.
- Adds
OtelTracingPlugin- a high plugin for OpenTelemetry integration that simplifies OTEL setup for Temporal workflows .- Automatic sandbox passthrough configuration for
opentelemetrymodules - Automatic replay filtering to prevent duplicate spans during workflow replay
- Automatic sandbox passthrough configuration for
Why?
We experienced problems using Otel with OpenTelemetry. User issues included missing spans, disconnected spans, and unwanted addition of Temporal execution spans (e.g., startActivity, executeActivity)
Checklist
-
Closes
-
How was this tested:
Tests are included.
- Any docs updates needed? Will add a sample.