Class JaxrsContextPath
- java.lang.Object
-
- io.opentelemetry.javaagent.instrumentation.api.jaxrs.JaxrsContextPath
-
public final class JaxrsContextPath extends Object
Helper container for storing context path for jax-rs requests. Jax-rs context path is the path where jax-rs servlet is mapped or the value of ApplicationPath annotation. Span name is built by combining servlet context path fromServletContextPathjax-rs context path and the Path annotation from called method or class.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable io.opentelemetry.context.Contextinit(io.opentelemetry.context.Context context, String path)static Stringprepend(io.opentelemetry.context.Context context, String spanName)
-