public static class WebClientSpanDecorator.StandardTags extends Object implements WebClientSpanDecorator
WebClientSpanDecorator.StandardTags| Constructor and Description |
|---|
StandardTags() |
| Modifier and Type | Method and Description |
|---|---|
void |
onCancel(org.springframework.web.reactive.function.client.ClientRequest httpRequest,
io.opentracing.Span span)
Decorate span when the subscription is cancelled.
|
void |
onError(org.springframework.web.reactive.function.client.ClientRequest clientRequest,
Throwable throwable,
io.opentracing.Span span)
Decorate span when exception is thrown during clientRequest processing, e.g.
|
void |
onRequest(org.springframework.web.reactive.function.client.ClientRequest clientRequest,
io.opentracing.Span span)
Decorate span before before request is executed, e.g.
|
void |
onResponse(org.springframework.web.reactive.function.client.ClientRequest clientRequest,
org.springframework.web.reactive.function.client.ClientResponse clientResponse,
io.opentracing.Span span)
Decorate span after the clientRequest is done, e.g.
|
public void onRequest(org.springframework.web.reactive.function.client.ClientRequest clientRequest,
io.opentracing.Span span)
WebClientSpanDecorator.onSubscribe() is called.onRequest in interface WebClientSpanDecoratorclientRequest - requestspan - client spanpublic void onResponse(org.springframework.web.reactive.function.client.ClientRequest clientRequest,
org.springframework.web.reactive.function.client.ClientResponse clientResponse,
io.opentracing.Span span)
WebClientSpanDecorator.onNext() is called.onResponse in interface WebClientSpanDecoratorclientRequest - clientRequestclientResponse - clientResponsespan - spanpublic void onError(org.springframework.web.reactive.function.client.ClientRequest clientRequest,
Throwable throwable,
io.opentracing.Span span)
WebClientSpanDecorator.onError() is called.onError in interface WebClientSpanDecoratorclientRequest - clientRequestthrowable - exceptionspan - spanpublic void onCancel(org.springframework.web.reactive.function.client.ClientRequest httpRequest,
io.opentracing.Span span)
WebClientSpanDecoratoronCancel in interface WebClientSpanDecoratorhttpRequest - clientRequestspan - spanCopyright © 2016–2020. All rights reserved.