getsentry / getsentry/sentry-javascript

vercel-edge No AI integrations in the default set

Offen
#24,044 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
javascript Task
Vorherrschende Sprache
TypeScript
Sterne
8.7k
Forks
1.8k
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
523

Beschreibung

`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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
nextjs, typescript
Bereich
api, backend
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
52/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.