public final class TraceWebFilter extends Object implements org.springframework.web.server.WebFilter, org.springframework.core.Ordered
WebFilter that creates / continues / closes and detaches spans
for a reactive web application.| Modifier and Type | Field and Description |
|---|---|
static int |
ORDER
If you register your filter before the
TraceWebFilter then you will not
have the tracing context passed for you out of the box. |
protected static String |
TRACE_REQUEST_ATTR |
| Modifier and Type | Method and Description |
|---|---|
static org.springframework.web.server.WebFilter |
create(org.springframework.beans.factory.BeanFactory beanFactory) |
reactor.core.publisher.Mono<Void> |
filter(org.springframework.web.server.ServerWebExchange exchange,
org.springframework.web.server.WebFilterChain chain) |
int |
getOrder() |
protected static final String TRACE_REQUEST_ATTR
public static final int ORDER
TraceWebFilter then you will not
have the tracing context passed for you out of the box. That means that e.g. your
logs will not get correlated.public static org.springframework.web.server.WebFilter create(org.springframework.beans.factory.BeanFactory beanFactory)
public reactor.core.publisher.Mono<Void> filter(org.springframework.web.server.ServerWebExchange exchange, org.springframework.web.server.WebFilterChain chain)
filter in interface org.springframework.web.server.WebFilterpublic int getOrder()
getOrder in interface org.springframework.core.OrderedCopyright © 2018 Pivotal Software, Inc.. All rights reserved.