getsentry / getsentry/sentry-java
Detect async servlet mode and noop
未關閉
Feature
Java
- 主要語言
- Kotlin
- 星號
- 1.4k
- 分支
- 478
- 平均合併
- 3 天 4 小時
- 30 天內合併 PR
- 72
描述
### Problem Statement
The SDK is leaking memory (through scopes) if servlets are used in async mode.
### Solution Brainstorm
Detect that servlets are used in async mode and noop in SentryServletRequestListener.
Possibly suggest using our OTel integration: https://docs.sentry.io/platforms/java/guides/servlet/opentelemetry/
貢獻指南
研究方向
從 SentryServletRequestListener 開始,查看連結的 OpenTelemetry servlet 整合指南。確定如何偵測非同步 servlet 模式,以及應在哪裡讓請求處理變成 no-op;當使用非同步 servlet 不再洩漏 scopes,且相關測試涵蓋此行為時,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java
- 領域
- backend, observability
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100