Closed phillipuniverse closed 3 months ago
Hi @phillipuniverse
I understand you would like to output the trace and span IDs in the OpenTelemetry format (hex strings) instead of the current Datadog format (decimal representation). Can you confirm?
@dmehala yes that is right.
Reading the variables section of the docs, we can access
datadog_trace_id
anddatadog_span_id
which are integers. It would be great to be able to instead output the OpenTelemetry version of trace and span ids based on a hex string instead.This would be similar to how
traceparent
works just with the ability to write those variables to logs.Thanks!