Class ClientSpan


  • public final class ClientSpan
    extends Object
    • Method Detail

      • fromContextOrNull

        public static @Nullable io.opentelemetry.api.trace.Span fromContextOrNull​(io.opentelemetry.context.Context context)
        Returns span of type SpanKind.CLIENT from the given context or null if not found.
      • with

        public static io.opentelemetry.context.Context with​(io.opentelemetry.context.Context context,
                                                            io.opentelemetry.api.trace.Span clientSpan)