Interface ServerSpanDecorator


  • public interface ServerSpanDecorator
    Author:
    Pavol Loffay
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static ServerSpanDecorator STANDARD_TAGS
      Adds standard tags: Tags.SPAN_KIND, Tags.HTTP_METHOD, Tags.HTTP_URL and Tags.HTTP_STATUS
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void decorateRequest​(jakarta.ws.rs.container.ContainerRequestContext requestContext, io.opentracing.Span span)
      Decorate span by incoming object.
      void decorateResponse​(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_URL and Tags.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 -