Interface InMemoryTraceState

  • All Known Subinterfaces:
    InMemorySpan
    All Known Implementing Classes:
    DefaultInMemoryTraceState

    public interface InMemoryTraceState
    Utility for representing a Ziplin-like trace state.
    • Method Detail

      • traceIdHex

        java.lang.String traceIdHex()
        The hex representation of the traceId.
        Returns:
        hex representation of the traceId.
      • spanIdHex

        java.lang.String spanIdHex()
        The hex representation of the traceId.
        Returns:
        hex representation of the traceId.
      • parentSpanIdHex

        @Nullable
        java.lang.String parentSpanIdHex()
        The hex representation of the parent's spanId.
        Returns:
        hex representation of the parent's spanId, or null if there is no parent.
      • isSampled

        boolean isSampled()
        Determine if this state is sampled.
        Returns:
        true if this state is sampled.