getsentry / getsentry/sentry-java
Attach request body for Spring WebFlux
- 主要語言
- Kotlin
- 星號
- 1.4k
- 分支
- 478
- 平均合併
- 3 天 4 小時
- 30 天內合併 PR
- 72
描述
### Integration
sentry-spring-boot-jakarta
### Java Version
17
### Version
6.28.0
### Steps to Reproduce
spring boot 3.0
application.properties
```
sentry.send-default-pii=true
sentry.max-request-body-size=always
```
### Expected Result
request body should be sent
### Actual Result
On `SentrySpringFilter`,
it seems like `CachedBodyHttpServletRequest` is created and request body is extracted by `RequestPayloadExtractor`
but on `SentryWebFilter`, i can't find such process.
Is there any way to send request body with `SentryWebFilter` ?
貢獻指南
研究方向
使用 Spring Boot 3.0、sentry.send-default-pii=true 和 sentry.max-request-body-size=always 進行重現,然後比較 SentryWebFilter 與 SentrySpringFilter。閱讀現有的 CachedBodyHttpServletRequest 和 RequestPayloadExtractor 流程;在所述設定下,WebFlux 請求主體包含在事件中即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java, spring-boot
- 領域
- backend
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100