Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Next.js server actions #9458

Closed
Tracked by #6726 ...
lforst opened this issue Nov 6, 2023 · 2 comments · Fixed by #9553
Closed
Tracked by #6726 ...

Add support for Next.js server actions #9458

lforst opened this issue Nov 6, 2023 · 2 comments · Fixed by #9553
Assignees
Labels
Package: nextjs Issues related to the Sentry Nextjs SDK

Comments

@lforst
Copy link
Member

lforst commented Nov 6, 2023

Auto instrumentation is likely gonna be hard but we could provide a wrapper.

@lforst lforst added the Package: nextjs Issues related to the Sentry Nextjs SDK label Nov 6, 2023
@lforst lforst self-assigned this Nov 6, 2023
@lforst lforst changed the title Add support for Next.js server components Add support for Next.js server actions Nov 6, 2023
@elie222
Copy link

elie222 commented May 7, 2024

I take it the way to do this is with withServerActionInstrumentation? Or it's automatic now?

@lforst
Copy link
Member Author

lforst commented May 8, 2024

@elie222 Correct. Making it automatic requires applying very deep code transformation in your build and while Next.js is working on stabilizing Turbopack we don't want to invest in doing that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: nextjs Issues related to the Sentry Nextjs SDK
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants