Skip to content

Vercel AI Integration not exported by @sentry/sveltekit #16494

Description

@agrattan0820

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/sveltekit

SDK Version

9.27.0

Framework Version

SvelteKit 2.21.2

Link to Sentry event

No response

Reproduction Example/SDK Setup

Sentry.init({
  dsn: YOUR_DSN,
  tracesSampleRate: 1,
  integrations: [
    Sentry.vercelAIIntegration(),
  ],
});

in hooks.server.ts

Steps to Reproduce

  1. Try calling Sentry.vercelAIIntegration within your hooks.server.ts Sentry.init.

Expected Result

Integration should capture Vercel AI spans, etc.

Actual Result

Results in the error when running the project:
TypeError: __vite_ssr_import_1__.vercelAIIntegration is not a function

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions