Class OpenTelemetryPreInvocationInterceptor
- java.lang.Object
-
- fish.payara.microprofile.telemetry.tracing.jaxrs.client.OpenTelemetryPreInvocationInterceptor
-
- All Implemented Interfaces:
org.glassfish.jersey.client.spi.PreInvocationInterceptor
public class OpenTelemetryPreInvocationInterceptor extends Object implements org.glassfish.jersey.client.spi.PreInvocationInterceptor
This class is an implementation of the PreInvocationInterceptor interface that propagates telemetry span context to client request context before invocation.This is the key to enable async client request
-
-
Constructor Summary
Constructors Constructor Description OpenTelemetryPreInvocationInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeRequest(jakarta.ws.rs.client.ClientRequestContext clientRequestContext)
-