-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)theme: observabilityAn issue related to observability and tracingAn issue related to observability and tracingtype: bugA general bugA general bug
Milestone
Description
Expected Behavior
I believe WebFilters should have auto context propagation regardless if error occurred or not.
Actual Behavior
Automatic context propagation enabled via Hooks.enableAutomaticContextPropagation();
stops working when error was being handled in WebFilter. Once error is caught, all further WebFilters are going to be stripped of MDC context.
Reproductor
I've prepared reproducer with tests describing positive and negative(failing) flow, here -> https://github.com/surmabck/spring-boot-3xx-micrometer-issues/tree/only-reactor
FYI, ticket was originally opened against reactor-core
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)theme: observabilityAn issue related to observability and tracingAn issue related to observability and tracingtype: bugA general bugA general bug