Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

agentsUsage: [Issues, PRs], Target: Single agentfoundryUsage: [Issues, PRs], Target: all Foundry integrationsobservabilityUsage: [Issues, PRs], Target: observability related features

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions