Package 

Class ParentContextSource


  • 
    public class ParentContextSource
    
                        

    For internal usage only. Represents the origin of a parent context extracted for a network request.

    Distinguishing the source allows callers to apply different policies — e.g. ignoring a dropped tag-attached parent (explicit developer intent) while always honoring a header-propagated parent (upstream service intent, required for head-based sampling).

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final DatadogSpanContext context
    • Method Summary

      Modifier and Type Method Description
      abstract DatadogSpanContext getContext() The parent DatadogSpanContext.
      • Methods inherited from class java.lang.Object

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

      • getContext

         abstract DatadogSpanContext getContext()

        The parent DatadogSpanContext.