Package 

Interface AgentSpanLink


  • 
    public interface AgentSpanLink
    
                        

    This interface describes a link to another span. The linked span could be part of the same trace or not.

    • Method Summary

      Modifier and Type Method Description
      abstract DDTraceId traceId() Gets the trace identifier of the linked span.
      abstract long spanId() Gets the span identifier of the linked span.
      abstract byte traceFlags() Gets the 8-bit field that controls tracing flags such as sampling, trace level, etc.
      abstract String traceState() Gets the vendor-specific trace information as defined per W3C standard.
      abstract AgentSpanLink.Attributes attributes() Gets the link attributes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • traceId

         abstract DDTraceId traceId()

        Gets the trace identifier of the linked span.

      • spanId

         abstract long spanId()

        Gets the span identifier of the linked span.

      • traceFlags

         abstract byte traceFlags()

        Gets the 8-bit field that controls tracing flags such as sampling, trace level, etc.

      • traceState

         abstract String traceState()

        Gets the vendor-specific trace information as defined per W3C standard.