Package datadog.trace.api
Class CorrelationIdentifier
java.lang.Object
datadog.trace.api.CorrelationIdentifier
Utility class to access the active trace and span ids.
Intended for use with MDC frameworks.
-
Constructor Details
-
CorrelationIdentifier
public CorrelationIdentifier()
-
-
Method Details
-
getTraceIdKey
- Returns:
- The trace-id key to use with datadog logs integration
-
getSpanIdKey
- Returns:
- The span-id key to use with datadog logs integration
-
getTraceId
-
getSpanId
-