Skip to content

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

Open
1 of 2 issues completed

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

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