Interface InMemorySpanContext

  • All Superinterfaces:

    public interface InMemorySpanContext
    extends io.opentracing.SpanContext
    A span that allows reading values at runtime.
    • Method Detail

      • isSampled

        default boolean isSampled()
        Returns whether the span should be sampled.

        Note this may differ from InMemoryTraceState.isSampled() from traceState() if the value is overridden based upon some sampling policy.

        whether the span should be sampled
      • toTraceId

        default java.lang.String toTraceId()
        Specified by:
        toTraceId in interface io.opentracing.SpanContext
      • toSpanId

        default java.lang.String toSpanId()
        Specified by:
        toSpanId in interface io.opentracing.SpanContext