You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Python: [Bug]: Foundry Prompt Agent client spans are not showing up in Foundry tracing UI #7492
When using a FoundryAgent in MAF, only the server-side spans are showing up in the tracing view of the agent in Foundry portal:
There are also client-side spans created by MAF that ideally should also show up in the tracing view. Currently, they are only available in App Insights:
Code Sample
Combine `samples/02-agents/providers/foundry/foundry_prompt_agents.py` + `samples/02-agents/observability/foundry_tracing.py` into a sample to run.
Error Messages / Stack Traces
Package Versions
agent-framework
Python Version
No response
Additional Context
(Unconfirmed) For the span to show up in Foundry, we may need the following attributes:
changed the title [-]Python: [Bug]: Foundry Agent client spans are not showing up in Foundry tracing UI[/-][+]Python: [Bug]: Foundry Prompt Agent client spans are not showing up in Foundry tracing UI[/+]on Aug 20, 2026
Activity
[-]Python: [Bug]: Foundry Agent client spans are not showing up in Foundry tracing UI[/-][+]Python: [Bug]: Foundry Prompt Agent client spans are not showing up in Foundry tracing UI[/+]jpalvarezl commentedon Sep 1, 2026
Filed issue to ask about how to best implement trace attribution: Azure/azure-sdk-for-python#48825
Currently, ARM ID needs to be inferred from Insights endpoint request.