getsentry / getsentry/sentry-javascript
bun: `Bun.serve` spans lack client address and protocol attributes
オープン
Bug
Bun
javascript
Spans
- 主要言語
- TypeScript
- スター
- 8.7k
- フォーク
- 1.8k
- 平均マージ
- 1日 17時間
- マージ済み PR(30日)
- 523
説明
Deno sets `client.address`, `client.port` (honoring `x-forwarded-for`) and `network.protocol.name`. Bun sets none. Bun exposes the peer through `server.requestIP(request)`.
**Work item.** Thread the `Server` instance into `wrapRequestHandler` and set the three attributes, gated on `dataCollection.userInfo` the way Deno does.
コントリビューションガイド
調査の方向性
Start at Bun.serve's wrapRequestHandler and compare the existing Deno implementation for client address, port, and network protocol attributes. Inspect Server.requestIP(request) and dataCollection.userInfo, then verify that the three attributes are present only under the same gate used by Deno.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- bun, typescript
- 領域
- observability
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 72/100