java.lang.Object
io.helidon.webclient.tracing.WebClientTracing
- All Implemented Interfaces:
io.helidon.common.config.NamedService,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 TypeMethodDescriptionstatic io.helidon.webclient.spi.WebClientServicecreate()Creates new instance of client tracing service.static io.helidon.webclient.spi.WebClientServicecreate(io.helidon.tracing.Tracer tracer) Creates a new client tracing service for a specific tracer.io.helidon.webclient.api.WebClientServiceResponsehandle(io.helidon.webclient.spi.WebClientService.Chain chain, io.helidon.webclient.api.WebClientServiceRequest request) type()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.helidon.webclient.spi.WebClientService
name
-
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(io.helidon.tracing.Tracer tracer) Creates a new client tracing service for a specific tracer.- Parameters:
tracer- to create new spans- Returns:
- client tracing service
-
type
- Specified by:
typein interfaceio.helidon.common.config.NamedService- Specified by:
typein interfaceio.helidon.webclient.spi.WebClientService
-
handle
public io.helidon.webclient.api.WebClientServiceResponse handle(io.helidon.webclient.spi.WebClientService.Chain chain, io.helidon.webclient.api.WebClientServiceRequest request) - Specified by:
handlein interfaceio.helidon.webclient.spi.WebClientService
-