Package 

Class DatadogPropagationHelper


  • 
    public final class DatadogPropagationHelper
    
                        

    For internal usage only. Helper class for handling Datadog context propagation.

    • Method Summary

      Modifier and Type Method Description
      final Boolean isExtractedContext(DatadogSpanContext context) Determines if the provided DatadogSpanContext represents an extracted context.
      final DatadogSpanContext createExtractedContext(String traceId, String spanId, Integer samplingPriority) Creates a DatadogSpanContext object that represents an extracted context from the given parameters.
      • Methods inherited from class java.lang.Object

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

      • isExtractedContext

         final Boolean isExtractedContext(DatadogSpanContext context)

        Determines if the provided DatadogSpanContext represents an extracted context.

        Parameters:
        context - The DatadogSpanContext to be evaluated.
      • createExtractedContext

         final DatadogSpanContext createExtractedContext(String traceId, String spanId, Integer samplingPriority)

        Creates a DatadogSpanContext object that represents an extracted context from the given parameters.

        Parameters:
        traceId - The unique identifier for the trace.
        spanId - The unique identifier for the span.
        samplingPriority - The sampling priority value for determining the trace's sampling behavior.