- 필수 기능
- 앱 내
- 서비스 관리
- 인프라스트럭처
- 애플리케이션 성능
- 디지털 경험
- 소프트웨어 제공
- 보안
- 로그 관리
- 관리
- 인프라스트럭처
- ci
- containers
- csm
- ndm
- otel_guides
- overview
- slos
- synthetics
- tests
- 워크플로
The Datadog APM Tracer supports B3 and W3C Trace Context header extraction and injection for distributed tracing.
You can configure injection and extraction styles for distributed headers.
The Java Tracer supports the following styles:
datadog
b3multi
(b3
alias is deprecated)tracecontext
(Available since 1.11.0)b3 single header
(b3single
)Injection styles can be configured using:
-Ddd.trace.propagation.style.inject=datadog,b3multi
DD_TRACE_PROPAGATION_STYLE_INJECT=datadog,b3multi
The value of the property or environment variable is a comma (or space) separated list of header styles that are enabled for injection. The default setting is datadog,tracecontext
injection styles.
Extraction styles can be configured using:
-Ddd.trace.propagation.style.extract=datadog,b3multi
DD_TRACE_PROPAGATION_STYLE_EXTRACT=datadog,b3multi
The value of the property or environment variable is a comma (or space) separated list of header styles that are enabled for extraction. By default, the datadog
and tracecontext
extraction styles are enabled using the datadog,tracecontext
setting, meaning the datadog
style has higher priority than the tracecontext
style.
When multiple extraction styles are enabled, the extraction attempt is done on the order those styles are configured, using the first successful extracted value. If later valid trace contexts are found, they are terminated and appended as span links. Moreover, if the tracecontext
style is enabled, W3C Tracestate is propagated if W3C Traceparent matches the extracted context.
For reference details about the context propagation settings and other configuration, read Java Tracing Library Configuration.
Additional helpful documentation, links, and articles: