public interface WebFluxSpanDecorator
| Modifier and Type | Interface and Description |
|---|---|
static class |
WebFluxSpanDecorator.StandardTags
Adds standard tags to span.
|
static class |
WebFluxSpanDecorator.WebFluxTags
Adds tags from WebFlux handler to span.
|
| 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.
|
void onRequest(org.springframework.web.server.ServerWebExchange exchange,
io.opentracing.Span span)
.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.exchange - web exchangespan - span to decoratevoid onResponse(org.springframework.web.server.ServerWebExchange exchange,
io.opentracing.Span span)
exchange - web exchangespan - span to decoratevoid onError(org.springframework.web.server.ServerWebExchange exchange,
Throwable exception,
io.opentracing.Span span)
exchange - web exchangeexception - exceptionspan - span to decorateCopyright © 2016–2020. All rights reserved.