-
public final class DatadogPropagationHelperFor internal usage only. Helper class for handling Datadog context propagation.
-
-
Method Summary
Modifier and Type Method Description final BooleanisExtractedContext(DatadogSpanContext context)Determines if the provided DatadogSpanContext represents an extracted context. final DatadogSpanContextcreateExtractedContext(String traceId, String spanId, Integer samplingPriority)Creates a DatadogSpanContext object that represents an extracted context from the given parameters. -
-
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.
-
-
-
-