Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Instrument Remix 3 server requests via fetch-router

Aperta
#24,663 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@chargome ci sta già lavorando.

Dal 23/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Remix

Add the orchestrion config and server middleware that produce spans for Remix 3 requests.

  • Patch createRouter in @remix-run/fetch-router and prepend the Sentry middleware. Supply the matcher too, since the router does not expose the matched route pattern on the request context.
  • Resolve the route at middleware entry, so errors thrown downstream already carry it.
  • Set http.route, response status and a low cardinality span name. router.mount() prefixes must be included.
  • Ship the --import @sentry/remix/v3/node entry, which registers Remix's TypeScript loader and Sentry's module hook together, so the start command keeps one flag.

The middleware does not open a span. It enriches the one @sentry/node already opened for node:http. That is what keeps it working on other runtimes later.

Channel subscription happens in the --import entry, not in Sentry.init(). createRouter() runs while app modules are being imported, which is before any init() call in the server entry.

Done when e2e covers parameterised routes, mounted routes and response status, and the raw id never appears in a span name.

Lingua principale
TypeScript
Stelle
8.7k
Fork
1.9k
Merge medio
1g 16h
PR unite (30g)
576

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di getsentry/sentry-javascript

Tutte le issue di getsentry/sentry-javascript

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.