Trace and Span ID Formats

이 페이지는 아직 영어로 제공되지 않습니다. 번역 작업 중입니다.
현재 번역 프로젝트에 대한 질문이나 피드백이 있으신 경우 언제든지 연락주시기 바랍니다.

This page details Datadog tracing library support for trace and 스팬 IDs.

  • Generated IDs: By default, all tracing libraries generate 128-bit trace IDs and 64-bit span IDs.
  • Accepted IDs: Datadog accepts 128-bit or 64-bit trace IDs, and 64-bit span IDs.

128-bit trace IDs

128-bit trace IDs are generated and accepted by default in the latest versions of Datadog tracing libraries:

64-bit trace and span IDs

Trace IDs

Trace IDs are generated as 128-bit by default, and they are accepted as either 128-bit or 64-bit integers. To generate 64-bit trace IDs, set the environment variable DD_TRACE_128_BIT_TRACEID_GENERATION_ENABLED to false.

Span IDs

Span IDs are limited to 64-bits in Datadog.

LanguageGenerated IDsValid, Accepted 64-bit int IDs
Node.jsUnsigned [0, $2^63$]Signed or unsigned
JavaUnsigned [1, $2^63-1$]Unsigned
GoUnsigned [0, $2^63-1$]Signed or unsigned
PythonUnsigned [0, $2^64-1$]Unsigned
RubyUnsigned [1, $2^62-1$]Unsigned
.NETUnsigned [0, $2^63-1$]Unsigned
PHPUnsigned [1, $2^64-1$]Unsigned
C++Unsigned [0, $2^63-1$]Unsigned

Further reading

추가 유용한 문서, 링크 및 기사:

PREVIEWING: dgreen15/github-error-fix