java.lang.Object
io.opentelemetry.instrumentation.api.server.ServerSpan

@Deprecated public final class ServerSpan extends Object
Deprecated.
Use LocalRootSpan instead.
This class encapsulates the context key for storing the current SpanKind.SERVER span in the Context.
  • Method Details

    • fromContextOrNull

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