microsoft / microsoft/agent-framework
.NET: [Feature]: Allow enabling workflow level Open Telemetry when using AgentWorkflowBuilder
Open
.NET
- Dominant language
- Python
- Stars
- 13.6k
- Forks
- 2.3k
- Avg merge
- 2d 45m
- Merged PRs (30d)
- 358
Description
### Description
Unless I (and copilot) are missing something when using `AgentWorkflowBuilder` to create a workflow, there is no way to enable OpenTelemetery at the workflow level (the agents and/or chatclient can have it enabled). It would be useful to be able to see the workflow telemetry when debugging. I think there are reasons why you're not allowing any middleware to be added to the workflow builder when using `AgentWorkflowBuilder`, so maybe just a parameter to the existing methods to allow enabling it.
### Code Sample
```markdown
```
### Language/SDK
.NET
Contributor guide
Assessment
This issue has not been assessed yet.