Skip to content

[MEAI] Update Aspire to recognize telemetry sources from both Experimental.Microsoft.Extensions.AI and Microsoft.Extensions.AI #6736

Description

@JamesNK

I think experimental can be removed from the default activity source and meter names: Experimental.Microsoft.Extensions.AI.

public const string DefaultSourceName = "Experimental.Microsoft.Extensions.AI";

I don't think the semantic conventions around AI will be stable anytime soon, and leaving experimental in the name forever just turns it into a defacto name that might not be able to be changed in the future because it's baked into libraries and apps that uses it. The longer it stays this name, the more pain there will be in changing it to Microsoft.Extensions.AI in the future. Instead, docs can mention that telemetry isn't stable yet and could change.

For example, imagine Aspire has MEAI integration that automatically enables Experimental.Microsoft.Extensions.AI sources. Telemetry collection will break if MEAI changes the default name in the future and people update MEAI without updating the Aspire integration.

Activity

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

Metadata

Metadata

Assignees

Labels

area-aiMicrosoft.Extensions.AI libraries

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions