Skip to content

Python: [Bug]: Foundry Agent client spans are not showing up in Foundry tracing UI #7492

Description

@TaoChenOSU

Description

When using a FoundryAgent in MAF, only the server-side spans are showing up in the tracing view of the agent in Foundry portal:

Image

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:

Image

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

No response

Metadata

Metadata

Assignees

Labels

foundryUsage: [Issues, PRs], Target: all Foundry integrationshostingUsage: [Issues, PRs], Target: all hosting related solutionsobservabilityUsage: [Issues, PRs], Target: observability related featurespythonUsage: [Issues, PRs], Target: Python

Type

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions