getsentry / getsentry/sentry-java
Support Local Variables in stack frames
- Linguagem predominante
- Kotlin
- Estrelas
- 1.4k
- Forks
- 478
- Merge médio
- 3d 4h
- PRs com merge (30d)
- 72
Descrição
### 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.
Guia de contribuição
Direção de pesquisa
Comece lendo o suporte à integração Java referenciado em pull request 4686 e inspecione a implementação vinculada do Rollbar native-agent. Determine como as variáveis locais poderiam ser capturadas para stack frames Java/Kotlin do lado do servidor na JVM e, em seguida, defina e valide o comportamento compatível por meio de uma implementação e de testes.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- java, kotlin
- Domínio
- observability
- Tipo de issue
- Funcionalidade
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 20/100