Skip to content

Rename legacy ai.* attributes to gen_ai.* names. #4920

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

antonpirker
Copy link
Member

@antonpirker antonpirker commented Jul 8, 2025

This makes the names OTel compatible and also allows older SDKs that use the legazy names to send spans that will appear in the AI agents insights module.

We have checked if those attributes are used by customers in alerts, dashboards and saved queries. They are NOT used, so we can safely normalize them.

Fixes getsentry/sentry-python#4516

@antonpirker antonpirker marked this pull request as ready for review July 8, 2025 15:32
@antonpirker antonpirker requested a review from a team as a code owner July 8, 2025 15:32
@antonpirker
Copy link
Member Author

closing in favor of #4924

@antonpirker antonpirker closed this Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

If the attributes are NOT used, make relay to rename those span attributes
1 participant