Skip to content

Detect async servlet mode and noop #4807

@adinauer

Description

@adinauer

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/

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions