Interface ServerSpanDecorator
-
public interface ServerSpanDecorator- Author:
- Pavol Loffay
-
-
Field Summary
Fields Modifier and Type Field Description static ServerSpanDecoratorSTANDARD_TAGSAdds standard tags:Tags.SPAN_KIND,Tags.HTTP_METHOD,Tags.HTTP_URLandTags.HTTP_STATUS
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddecorateRequest(jakarta.ws.rs.container.ContainerRequestContext requestContext, io.opentracing.Span span)Decorate span by incoming object.voiddecorateResponse(jakarta.ws.rs.container.ContainerResponseContext responseContext, io.opentracing.Span span)Decorate spans by outgoing object.
-
-
-
Field Detail
-
STANDARD_TAGS
static final ServerSpanDecorator STANDARD_TAGS
Adds standard tags:Tags.SPAN_KIND,Tags.HTTP_METHOD,Tags.HTTP_URLandTags.HTTP_STATUS
-
-
Method Detail
-
decorateRequest
void decorateRequest(jakarta.ws.rs.container.ContainerRequestContext requestContext, io.opentracing.Span span)Decorate span by incoming object.- Parameters:
requestContext-span-
-
decorateResponse
void decorateResponse(jakarta.ws.rs.container.ContainerResponseContext responseContext, io.opentracing.Span span)Decorate spans by outgoing object.- Parameters:
responseContext-span-
-
-