getsentry / getsentry/sentry-javascript
AI provider spans are suppressed globally when LangChain integration is active
Offen
Bug
javascript
- Vorherrschende Sprache
- TypeScript
- Sterne
- 8.7k
- Forks
- 1.8k
- Ø Merge
- 1 T. 17 Std.
- Gemergte PRs (30 T.)
- 515
Beschreibung
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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.