Skip to content

Revisit Next.js Manual Setup: Remove/move APIs content #13289

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

Closed
inventarSarah opened this issue Apr 8, 2025 · 0 comments · Fixed by #13327
Closed

Revisit Next.js Manual Setup: Remove/move APIs content #13289

inventarSarah opened this issue Apr 8, 2025 · 0 comments · Fixed by #13327

Comments

@inventarSarah
Copy link
Collaborator

inventarSarah commented Apr 8, 2025

SDK

JavaScript SDK

Description

Now that we have the APIs page, we can revisit our Next.js Quick Start guide (manual setup) and remove/move API-related content that we decided should not be included in it.

Suggested Solution

Remove the following content from the Next.js manual setup page:

  • Instrument Next.js Server Actions
  • Configure Server-side Auto-instrumentation
    • wrapApiHandlerWithSentry, wrapGetInitialPropsWithSentry, wrapGetServerSidePropsWithSentry, wrapGetStaticPropsWithSentry , wrapErrorGetInitialPropsWithSentry, wrapAppGetInitialPropsWithSentry, wrapDocumentGetInitialPropsWithSentry

Update the Next Steps list to include links to APIs page for server-side auto-instrumentation and instrumenting server actions

We need to make sure not to lose content. This means we need to update the APIs page with content from the current manual setup page if it's missing.

Related: #12487

@inventarSarah inventarSarah self-assigned this Apr 8, 2025
@stephanie-anderson stephanie-anderson added the SDK label Apr 9, 2025 — with Linear
inventarSarah added a commit that referenced this issue Apr 29, 2025
…3327)

<!-- Use this checklist to make sure your PR is ready for merge. You may
delete any sections you don't need. -->

## DESCRIBE YOUR PR
Added the APIs mentioned from our Next.js manual setup QS guide to the
APIs page.
Removed content from Next.js manual setup QS guide we no longer need
there (and have documented elsewhere).

Closes: #13289
## IS YOUR CHANGE URGENT?  

Help us prioritize incoming PRs by letting us know when the change needs
to go live.
- [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE -->
- [ ] Other deadline: <!-- ENTER DATE HERE -->
- [x] None: Not urgent, can wait up to 1 week+

## SLA

- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
added an urgent due date to it.
Thanks in advance for your help!

## PRE-MERGE CHECKLIST

*Make sure you've checked the following before merging your changes:*

- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)

## LEGAL BOILERPLATE

<!-- Sentry employees and contractors can delete or ignore this section.
-->

Look, I get it. The entity doing business as "Sentry" was incorporated
in the State of Delaware in 2015 as Functional Software, Inc. and is
gonna need some rights from me in order to utilize my contributions in
this here PR. So here's the deal: I retain all rights, title and
interest in and to my contributions, and by keeping this boilerplate
intact I confirm that Sentry can use, modify, copy, and redistribute my
contributions, under Sentry's choice of terms.

## EXTRA RESOURCES

- [Sentry Docs contributor guide](https://docs.sentry.io/contributing/)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants