- 필수 기능
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- 디지털 경험
- 소프트웨어 제공
- 보안
- 로그 관리
- 관리
- 인프라스트럭처
- ci
- containers
- csm
- ndm
- otel_guides
- overview
- slos
- synthetics
- tests
- 워크플로
This page details Datadog tracing library support for trace and span IDs.
128-bit trace IDs are generated and accepted by default in the latest versions of Datadog tracing libraries:
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 are limited to 64-bits in Datadog.
Language | Generated IDs | Valid, Accepted 64-bit int IDs |
---|---|---|
Node.js | Unsigned [0, $2^63$] | Signed or unsigned |
Java | Unsigned [1, $2^63-1$] | Unsigned |
Go | Unsigned [0, $2^63-1$] | Signed or unsigned |
Python | Unsigned [0, $2^64-1$] | Unsigned |
Ruby | Unsigned [1, $2^62-1$] | Unsigned |
.NET | Unsigned [0, $2^63-1$] | Unsigned |
PHP | Unsigned [1, $2^64-1$] | Unsigned |
C++ | Unsigned [0, $2^63-1$] | Unsigned |
Additional helpful documentation, links, and articles: