Class WebClientTracing

java.lang.Object
io.helidon.webclient.tracing.WebClientTracing
All Implemented Interfaces:
io.helidon.common.config.NamedService, io.helidon.webclient.spi.WebClientService

public class WebClientTracing extends Object implements io.helidon.webclient.spi.WebClientService
Client service for tracing propagation. This service adds appropriate headers to the outbound request to propagate trace across services, so the spans can form a hierarchy in a tracer, such as Jaeger.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.helidon.webclient.spi.WebClientService

    io.helidon.webclient.spi.WebClientService.Chain
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.helidon.webclient.spi.WebClientService
    Creates new instance of client tracing service.
    static io.helidon.webclient.spi.WebClientService
    create(Tracer tracer)
    Creates a new client tracing service for a specific tracer.
    io.helidon.webclient.api.WebClientServiceResponse
    handle(io.helidon.webclient.spi.WebClientService.Chain chain, io.helidon.webclient.api.WebClientServiceRequest request)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.helidon.webclient.spi.WebClientService

    name, type
  • Method Details

    • create

      public static io.helidon.webclient.spi.WebClientService create()
      Creates new instance of client tracing service.
      Returns:
      client tracing service
    • create

      public static io.helidon.webclient.spi.WebClientService create(Tracer tracer)
      Creates a new client tracing service for a specific tracer.
      Parameters:
      tracer - to create new spans
      Returns:
      client tracing service
    • handle

      public io.helidon.webclient.api.WebClientServiceResponse handle(io.helidon.webclient.spi.WebClientService.Chain chain, io.helidon.webclient.api.WebClientServiceRequest request)
      Specified by:
      handle in interface io.helidon.webclient.spi.WebClientService