Joins a Datadog trace id (low 64 bits in decimal, optional _dd.p.tid high half in hex) into a 32-character OpenTelemetry trace id. Without high64Hex the high half is zero.
_dd.p.tid
high64Hex
Optional
fromDatadogTraceId("1", "ffffffffffffffff") // "ffffffffffffffff0000000000000001"fromDatadogTraceId("42") // "0000000000000000000000000000002a" Copy
fromDatadogTraceId("1", "ffffffffffffffff") // "ffffffffffffffff0000000000000001"fromDatadogTraceId("42") // "0000000000000000000000000000002a"
Joins a Datadog trace id (low 64 bits in decimal, optional
_dd.p.tidhigh half in hex) into a 32-character OpenTelemetry trace id. Withouthigh64Hexthe high half is zero.