Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Instrument Remix 3 server requests via fetch-router

オープン
#24,663 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

@chargome がすでに取り組んでいます。

2026年9月23日 から。

評価

この issue はまだ評価されていません。

説明

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.

主要言語
TypeScript
スター
8.7k
フォーク
1.9k
平均マージ
1日 16時間
マージ済み PR(30日)
576

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

getsentry/sentry-javascript のほかの issue

getsentry/sentry-javascript の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。