getsentry / getsentry/sentry-java
Support Local Variables in stack frames
- 主要語言
- Kotlin
- 星號
- 1.4k
- 分支
- 478
- 平均合併
- 3 天 4 小時
- 30 天內合併 PR
- 72
描述
### Problem Statement
I looked around fro local variable support in the Java integration but didn't find it.
I see there was some small level of support added recently at https://github.com/getsentry/sentry-java/pull/4686 but I don't see how to utilize that in a server-side Java/Kotlin process (in my case, a GRPC server in vanilla Kotlin on the AWS Corretto 17 JVM).
### Solution Brainstorm
Coming from Rollbar, they were able to get local variables from a stack trace using a [native agent](https://github.com/rollbar/rollbar-java/tree/6a72e7b9b8c697d6f235388582baa1e348b3207e/native-agent). That might be the best hook point for obtaining this data.
貢獻指南
研究方向
先閱讀 pull request 4686 中參照的 Java 整合支援,並檢視連結的 Rollbar native-agent 實作。判斷如何在 JVM 上擷取伺服器端 Java/Kotlin 堆疊框架的區域變數,然後透過實作與測試定義並驗證支援的行為。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- java, kotlin
- 領域
- observability
- Issue 類型
- 功能
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 20/100