getsentry / getsentry/sentry-javascript

AI provider spans are suppressed globally when LangChain integration is active

Aperta
#19,687 2 commenti 0 reazioni 1 assegnatario Assegnata a @nicohrubec Vedi su GitHub
Bug javascript
Lingua principale
TypeScript
Stelle
8.7k
Fork
1.8k
Merge medio
1g 17h
PR unite (30g)
515

Descrizione

When both LangChain and an AI provider integration (e.g. OpenAI) are active, we globally disable provider instrumentation to avoid duplicate spans. This means direct provider SDK calls that aren't related to LangChain also lose their spans. We should suppress provider spans only within the context of a LangChain call, not globally.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.