microsoft / microsoft/agent-framework

[Feature]: Support enable_message_events parameter in enable_instrumentation() to allow Microsoft OTel Distro configuration

Open
#8,412 0 comments 0 reactions 1 assignee View on GitHub

@eavanvalkenburg is already working on this.

Since Sep 16, 2026.

agents foundry observability
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.