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
fix(core): Set conversation_id only on gen_ai spans (#20274)
We should only set the `conversation_id` for `gen_ai` spans. These are
the only spans for which this attribute is relevant and setting it on
other spans can lead to unnecessarily slow queries in the product.
This works fine for all our AI integrations except Vercel. This is
because the Vercel ai integration also registers a `spanStart` hook that
transforms Vercel spans to sentry `gen_ai` spans. The conversation id
integration fires before that happens, so we have to special case the
Vercel ai spans here for this to work properly.
Closes#20272
0 commit comments