Spring Boot Web Request Context

The docs don’t seem to be specific here, but which (if any) Sentry objects are scopes to a Spring web request, assuming I’m using the Spring Boot integration? I have per-request data I want to add to any Sentry reports, but don’t want to have conflicts on the context.

The Spring Boot integration will push a scope for each incoming request already.

So if you do Sentry.configureScope(s -> { ... }) that will only affect events going out on the current request.

2 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.