public interface FeignSpanDecorator
Do not finish span or throw any exceptions!
| Modifier and Type | Interface and Description |
|---|---|
static class |
FeignSpanDecorator.StandardTags
This decorator adds set of standard tags to the span.
|
| Modifier and Type | Method and Description |
|---|---|
void |
onError(Exception exception,
feign.Request request,
io.opentracing.Span span)
Decorate span if exception is thrown during
Client.execute(Request, Request.Options). |
void |
onRequest(feign.Request request,
feign.Request.Options options,
io.opentracing.Span span)
Decorate span before
Client.execute(Request, Request.Options) is called on the delegating client. |
void |
onResponse(feign.Response response,
feign.Request.Options options,
io.opentracing.Span span)
Decorate span after
Client.execute(Request, Request.Options) is called on the delegating client. |
void onRequest(feign.Request request,
feign.Request.Options options,
io.opentracing.Span span)
Client.execute(Request, Request.Options) is called on the delegating client.request - requestoptions - request optionsspan - client spanvoid onResponse(feign.Response response,
feign.Request.Options options,
io.opentracing.Span span)
Client.execute(Request, Request.Options) is called on the delegating client.response - responseoptions - request optionsspan - client spanvoid onError(Exception exception, feign.Request request, io.opentracing.Span span)
Client.execute(Request, Request.Options).exception - exceptionrequest - requestspan - client spanCopyright © 2018. All rights reserved.