-
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)type: enhancementA general enhancementA general enhancement
Milestone
Description
Hey 👋
I'm currently working with a spring based project that wraps certain WebFilters in an instrumentation decorator. Because of this, the checkpoint in DefaultWebFilterChain
outputs the class name of the wrapper rather than the underlying filter.
Lines 112 to 115 in c4e25a1
private Mono<Void> invokeFilter(WebFilter current, DefaultWebFilterChain chain, ServerWebExchange exchange) { | |
String currentName = current.getClass().getName(); | |
return current.filter(exchange, chain).checkpoint(currentName + " [DefaultWebFilterChain]"); | |
} |
eg. DefaultWebFilterChain -> InstrumentationDecorator -> ConcreteWebFilter
will checkpoint the name as "InstrumentationDecorator [DefaultWebFilterChain]". Our ideal is "ConcreteWebFilter [DefaultWebFilterChain]", or even just "ConcreteWebFilter".
I'm hoping that we could either:
- Disable the checkpoint in DefaultWebFilterChain
OR - Provide the name of each WebFilter explicitly
Thanks for your help!
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancementA general enhancement