Class ClientSpan
- java.lang.Object
-
- io.opentelemetry.instrumentation.api.tracer.ClientSpan
-
public final class ClientSpan extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static @Nullable io.opentelemetry.api.trace.SpanfromContextOrNull(io.opentelemetry.context.Context context)Returns span of typeSpanKind.CLIENTfrom the given context ornullif not found.static io.opentelemetry.context.Contextwith(io.opentelemetry.context.Context context, io.opentelemetry.api.trace.Span clientSpan)
-
-
-
Method Detail
-
fromContextOrNull
public static @Nullable io.opentelemetry.api.trace.Span fromContextOrNull(io.opentelemetry.context.Context context)
Returns span of typeSpanKind.CLIENTfrom the given context ornullif not found.
-
with
public static io.opentelemetry.context.Context with(io.opentelemetry.context.Context context, io.opentelemetry.api.trace.Span clientSpan)
-
-