getsentry / getsentry/sentry-javascript
AI provider spans are suppressed globally when LangChain integration is active
Đang mở
Bug
javascript
- Ngôn ngữ chính
- TypeScript
- Star
- 8.7k
- Fork
- 1.8k
- Merge trung bình
- 1 ngày 17 giờ
- Pull request đã merge (30 ngày)
- 515
Mô tả
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.
Hướng dẫn đóng góp
Đánh giá
Issue này chưa được đánh giá.