Skip to content

Conversation

@Dav1dde
Copy link
Member

@Dav1dde Dav1dde commented Jan 20, 2026

As discussed a while ago, moves the ai operation type mapping into Relay. It turns out the mapping is somewhat stable and updated not as often as anticipated. This also solves a problem with the current mappings where overlapping matches aren't handled correctly, e.g. ai.toolCall* was overlapping with the * mapping without ordering guarantees.

Also a preparation to implement the operation type mapping for the span streaming pipeline.

Current mappings in Sentry: https://github.com/getsentry/sentry/blob/master/src/sentry/relay/config/ai_operation_type_map.py

@Dav1dde Dav1dde requested a review from a team as a code owner January 20, 2026 09:58
@Dav1dde Dav1dde force-pushed the dav1d/spanv2-ai-op-type branch from b7cf1fe to dc8ee98 Compare January 20, 2026 09:59
@Dav1dde Dav1dde force-pushed the dav1d/spanv2-ai-op-type branch from dc8ee98 to 008ec7e Compare January 20, 2026 10:01
@Dav1dde Dav1dde requested a review from vgrozdanic January 20, 2026 10:01
Copy link
Member

@vgrozdanic vgrozdanic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Danke! 🙏

@Dav1dde Dav1dde self-assigned this Jan 20, 2026
@Dav1dde Dav1dde added this pull request to the merge queue Jan 20, 2026
Merged via the queue into master with commit d1563ab Jan 20, 2026
29 checks passed
@Dav1dde Dav1dde deleted the dav1d/spanv2-ai-op-type branch January 20, 2026 10:53
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.

4 participants