getsentry / getsentry/sentry-java
Detect async servlet mode and noop
Open
Feature
Java
- Dominant language
- Kotlin
- Stars
- 1.4k
- Forks
- 478
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 67
Description
### 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/
Contributor guide
Assessment
This issue has not been assessed yet.