getsentry / getsentry/sentry-javascript
Emit more breadcrumbs in `@sentry/node`
- 主要語言
- TypeScript
- 星號
- 8.7k
- 分支
- 1.8k
- 平均合併
- 1 天 18 小時
- 30 天內合併 PR
- 541
描述
### Description
We should check all our existing Node instrumentation to see if we can easily emit breadcrumbs as well.
It is important not to tie this to spans, as these have no data when not sampled. Instead, where possible we need to use hooks in instrumentation to create breadcrumbs.
```[tasklist]
### Tasks
- [ ] genericPool
- [ ] kafka
- [ ] mongo
- [ ] mongoose
- [ ] mysql
- [ ] mysql2
- [ ] postgres
- [ ] prisma
- [ ] redis
- [ ] fs
```
貢獻指南
研究方向
首先檢視現有的 @sentry/node instrumentation,涵蓋 genericPool、kafka、mongo、mongoose、mysql、mysql2、postgres、prisma、redis 與 fs。找出可用的 instrumentation hooks,而不是依賴 spans,接著確認每個適用的 integration 在未取樣時都會發出 breadcrumbs。完成的標準是任務清單已處理完畢,且 breadcrumbs 的產生獨立於 span 資料。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- kafka, mongodb, mysql, node.js, postgres, redis, typescript
- 領域
- backend, observability
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 35/100