getsentry / getsentry/sentry-javascript

vercel-edge No AI integrations in the default set

未关闭
#24,044 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
javascript Task
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
523

描述

`vercel-edge/src/sdk.ts:36` returns eight integrations, none of them AI. Next.js edge routes are a common place to call an LLM. `@sentry/vercel-edge` already depends on `@sentry/server-utils` and re-exports the manual `instrument*Client` helpers, so the pieces are there.

**Work item.** Investigate whether `vercelAIIntegration` can be added to the edge defaults. It may need channel injection that the edge runtime cannot do, in which case the answer is documentation, not code.

**Prior art **getsentry/sentry-javascript#22964 moved the Vercel AI integration into `@sentry/server-utils`, which is the dependency `@sentry/vercel-edge` already has. Nothing followed up on the edge defaults.

贡献指南

打开贡献指南

调研方向

Start at vercel-edge/src/sdk.ts:36 and inspect the eight default integrations, then read the vercelAIIntegration implementation in @sentry/server-utils and the re-exported manual instrument*Client helpers. Determine whether channel injection works in the edge runtime; done means either adding the integration to the defaults with coverage or documenting why it cannot be added.

由索引模型根据 Issue 内容生成。

评估

技术栈
nextjs, typescript
领域
api, backend
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。