Description
Please read this first
- Have you read the docs?Agents SDK docs Yes
- Have you searched for related issues? Others may have had similar requests Yes
Question
I have seen that the documentation extensively explains how tracing works, but ultimately it only talks about the dashboards in the OpenAI Platform. I am using Azure and AzureOpenAI. I'd like to view the traces in Azure somewhere. I have seen this post, but it doesn't quite cover it and seems to implement some workaround. I feel like this could be something that can be directly supported by the SDK. Right now I am still just getting the warning OPENAI_API_KEY is not set, skipping trace export
if I don't disable tracing completely with tracing_disabled=True
in RunConfig
, even though this env var shouldn't be required as I'm connecting from Azure (so with AZURE_OPENAI_API_KEY
env var).
What is the best way to enable tracing with Azure and AzureOpenAI?