-
public interface DatadogTraceIdRepresents a Datadog trace ID, which is a unique identifier for a specific trace.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classDatadogTraceId.Companion
-
Method Summary
Modifier and Type Method Description abstract StringtoHexStringPadded(Integer size)Returns the lower-case zero-padded hexadecimal String representation of the trace ID. abstract StringtoHexString()Converts the current trace ID into its hexadecimal string representation. abstract LongtoLong()Converts the Datadog trace ID to its numeric representation as a Long.-
-
Method Detail
-
toHexStringPadded
abstract String toHexStringPadded(Integer size)
Returns the lower-case zero-padded hexadecimal String representation of the trace ID. The size will be rounded up to 16 or 32 characters.
- Parameters:
size- The size in characters of the zero-padded String (rounded up to 16 or 32)
-
toHexString
abstract String toHexString()
Converts the current trace ID into its hexadecimal string representation.
-
-
-
-