public static class FeignSpanDecorator.StandardTags extends Object implements FeignSpanDecorator
FeignSpanDecorator.StandardTags| Constructor and Description |
|---|
StandardTags() |
| Modifier and Type | Method and Description |
|---|---|
static Map<String,Object> |
errorLogs(Exception ex) |
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. |
public void onRequest(feign.Request request,
feign.Request.Options options,
io.opentracing.Span span)
FeignSpanDecoratorClient.execute(Request, Request.Options) is called on the delegating client.onRequest in interface FeignSpanDecoratorrequest - requestoptions - request optionsspan - client spanpublic void onResponse(feign.Response response,
feign.Request.Options options,
io.opentracing.Span span)
FeignSpanDecoratorClient.execute(Request, Request.Options) is called on the delegating client.onResponse in interface FeignSpanDecoratorresponse - responseoptions - request optionsspan - client spanpublic void onError(Exception exception, feign.Request request, io.opentracing.Span span)
FeignSpanDecoratorClient.execute(Request, Request.Options).onError in interface FeignSpanDecoratorexception - exceptionrequest - requestspan - client spanCopyright © 2018. All rights reserved.