init: agent tracing setup does not track conversations or users
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- node.js, typescript
- Área
- developer-experience
Línea de trabajo
Start from where sentry init decides to add Sentry.vercelAIIntegration() to the generated server config when agent tracing is selected, and how the wizard inspects the installed @sentry/* SDK version (it must skip the line for SDK >= 11). Then find the code that emits chat/thread request handlers and the success output text; done means those handlers (or at minimum the success output) wire Sentry.setConversationId() and Sentry.setUser() per the Tracking Conversations docs, and the redundant integration is omitted on modern SDKs.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
When agent tracing is selected for an app that uses the Vercel AI SDK, sentry init adds Sentry.vercelAIIntegration() but does not set a conversation ID or the user. AI spans arrive, but every chat turn is its own row in Agent Tracing → Conversations, with no user attached.
The platform docs cover this under Tracking Conversations: call Sentry.setConversationId() with a stable ID and Sentry.setUser() on each request that makes AI calls.
Observed (getsentry/sentry-devex#91, @sentry/nextjs 11.x, ai 7)
vercelAIIntegration()added to the server config. On JavaScript SDK 11 this integration is already enabled automatically on Node when tracing is on, so the line is redundant.- No
setConversationId/setUserin either chat route.
Suggested
When agent tracing is selected and the app has request handlers that call an AI library:
- set the conversation ID and user in those handlers (the app's own chat/thread ID and the authenticated user), or at minimum point to the Tracking Conversations section in the success output;
- skip
vercelAIIntegration()on SDK ≥ 11 server runtimes, where it is a default.
For comparison, the sentry-for-ai sentry-instrument skill now wires both calls when AI monitoring is requested (getsentry/sentry-for-ai#361).
Created with Claude Code
- Lenguaje dominante
- TypeScript
- Estrellas
- 124
- Forks
- 14
- Merge medio
- 21 h 48 min
- PR fusionados (30 d)
- 64
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de getsentry/cli
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Evaluate Twinkleplop for terminal code highlightingPosiblemente ocupada @MathurAditya724 la tomó hace 15 días. Abiertojared
getsentry/cli#1633 · 1 comentario · 2 reacciones · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Evaluate Twinkleplop for local UI JSON highlightingPosiblemente ocupada @MathurAditya724 la tomó hace 15 días. Abiertojared
getsentry/cli#1632 · 1 comentario · 2 reacciones · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de getsentry/cli
Issues similares
-
Mondriaan
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
knaw-huc/textannoviz#709 ·
Los mantenedores suelen responder en 1 día
-
Add: YRF Music NepalAbiertostreams:add
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
Los mantenedores suelen responder en 1 día
-
About page content is also published as an unstyled duplicate at /about/about/Posiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
walletbeat/walletbeat#1558 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
hawk-digital-environments/HAWKI#438 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
OktoLabsAI/okto-pulse#114 ·
Los mantenedores suelen responder en 1 día