microsoft / microsoft/agent-framework
[Feature]: Support enable_message_events parameter in enable_instrumentation() to allow Microsoft OTel Distro configuration
@eavanvalkenburg is already working on this.
Since Sep 16, 2026.
- Dominant language
- Python
- Stars
- 13.6k
- Forks
- 2.3k
- Avg merge
- 2d 45m
- Merged PRs (30d)
- 358
Description
Description
MAF currently controls message event emission through the ENABLE_MESSAGE_EVENTS environment variable. Microsoft OTel Distro cannot configure this setting programmatically today.
Request: expose an enable_message_events option through the public instrumentation API so Microsoft OTel Distro can set enable_message_events=False during initialization.
This is the remaining MAF dependency needed to unblock Microsoft OTel Distro adoption by Foundry SDKs while preserving backward compatibility through an explicit opt-in/out setting.
Code Sample
Language/SDK
Both
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.