Filtering HTTP Request Traces in OpenAI Agent SDK with FastAPI
I recently moved from langsmith to phoenix tracing. We are using OpenAI Agent SDK My application used FastAPI with OpenTelemetry tracing of the requests, so OpenTel traces POST/GET requests. When running an agentic/ LLM workflow, I see traces of LLM app in the UI but also the HTTP request traces. Is there a way to disable that/ filter? We use now:
tracer_provider = register(
project_name="openai-agents-test",
endpoint="http://localhost:6006/v1/traces",
auto_instrument=True,
)
Before when using langsmith we used and it didnt do that
from agents import set_trace_processors
from langsmith.wrappers import OpenAIAgentsTracingProcessor
set_trace_processors([OpenAIAgentsTracingProcessor()])