public static class WebFluxSpanDecorator.WebFluxTags extends Object implements WebFluxSpanDecorator
WebFluxSpanDecorator.StandardTags, WebFluxSpanDecorator.WebFluxTags| Constructor and Description |
|---|
WebFluxTags() |
| Modifier and Type | Method and Description |
|---|---|
void |
onError(org.springframework.web.server.ServerWebExchange exchange,
Throwable exception,
io.opentracing.Span span)
Decorate span after completion in error.
|
void |
onRequest(org.springframework.web.server.ServerWebExchange exchange,
io.opentracing.Span span)
Decorate span before
.onSubscribe() is called. |
void |
onResponse(org.springframework.web.server.ServerWebExchange exchange,
io.opentracing.Span span)
Decorate span after successful completion.
|
public void onRequest(org.springframework.web.server.ServerWebExchange exchange,
io.opentracing.Span span)
WebFluxSpanDecorator.onSubscribe() is called. This is called right after span in created. Span
context is already present in request attributes with name TracingWebFilter.SERVER_SPAN_CONTEXT.onRequest in interface WebFluxSpanDecoratorexchange - web exchangespan - span to decoratepublic void onResponse(org.springframework.web.server.ServerWebExchange exchange,
io.opentracing.Span span)
WebFluxSpanDecoratoronResponse in interface WebFluxSpanDecoratorexchange - web exchangespan - span to decoratepublic void onError(org.springframework.web.server.ServerWebExchange exchange,
Throwable exception,
io.opentracing.Span span)
WebFluxSpanDecoratoronError in interface WebFluxSpanDecoratorexchange - web exchangeexception - exceptionspan - span to decorateCopyright © 2016–2020. All rights reserved.