Class ErrorStackSpanDecorator
- java.lang.Object
-
- org.zalando.opentracing.spring.webflux.extension.ErrorStackSpanDecorator
-
- All Implemented Interfaces:
io.opentracing.contrib.spring.web.webfilter.WebFluxSpanDecorator
@API(status=EXPERIMENTAL) public final class ErrorStackSpanDecorator extends Object
-
-
Constructor Summary
Constructors Constructor Description ErrorStackSpanDecorator()
-
Method Summary
All Methods Instance Methods Concrete Methods Default Methods Modifier and Type Method Description voidonError(org.springframework.web.server.ServerWebExchange exchange, Throwable error, io.opentracing.Span span)default voidonRequest(org.springframework.web.server.ServerWebExchange exchange, io.opentracing.Span span)default voidonResponse(org.springframework.web.server.ServerWebExchange exchange, io.opentracing.Span span)
-
-
-
Method Detail
-
onError
public void onError(org.springframework.web.server.ServerWebExchange exchange, Throwable error, io.opentracing.Span span)- Specified by:
onErrorin interfaceio.opentracing.contrib.spring.web.webfilter.WebFluxSpanDecorator
-
onRequest
public default void onRequest(org.springframework.web.server.ServerWebExchange exchange, io.opentracing.Span span)- Specified by:
onRequestin interfaceio.opentracing.contrib.spring.web.webfilter.WebFluxSpanDecorator
-
onResponse
public default void onResponse(org.springframework.web.server.ServerWebExchange exchange, io.opentracing.Span span)- Specified by:
onResponsein interfaceio.opentracing.contrib.spring.web.webfilter.WebFluxSpanDecorator
-
-