You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 9, 2026. It is now read-only.
This PR - microsoft/aspire#11237 - changes Aspire's AI model integrations to use Microsoft.Extensions.AI for telemetry instead of using telemetry built into underlying libraries, e.g. OpenAI, Azure Interference.
Documentation should be updated to reflect new behavior:
An important note is telemetry will only be recorded if used via Microsoft.Extension.AI's IChatClient
Changes to make:
Show how to configure integration to return IChatClient and have sample calls of using IChatClient
Add UseChatClient() to configuration
Inject IChatClient
Call chat client method
Discuss that telemetry is only enabled by default when IChatClient is used. MEAI records telemetry to Experimental.Microsoft.Extensions.AI activity source and meter.
Mention the new EnableSensitiveTelemetryData setting which can be used to include sensitive message content in telemetry
Discuss that underlying library's telemetry can still be manually by adding activity and meter to OTEL configuration
This PR - microsoft/aspire#11237 - changes Aspire's AI model integrations to use Microsoft.Extensions.AI for telemetry instead of using telemetry built into underlying libraries, e.g. OpenAI, Azure Interference.
Documentation should be updated to reflect new behavior:
An important note is telemetry will only be recorded if used via Microsoft.Extension.AI's
IChatClientChanges to make:
IChatClientUseChatClient()to configurationIChatClientExperimental.Microsoft.Extensions.AIactivity source and meter.EnableSensitiveTelemetryDatasetting which can be used to include sensitive message content in telemetrycc @eerhardt @sebastienros
Associated WorkItem - 487970