Connect Logs and Traces
Datadog の調査レポート: サーバーレスの状態 レポート: サーバーレスの状態

Connect Logs and Traces


The correlation between Datadog APM and Datadog Log Management is improved by automatically adding dd.trace_id and dd.span_id attributes in your logs with the Tracing Libraries. This can then be used in the platform to show you the exact logs correlated to the observed trace.

Before correlating traces with logs, ensure your logs are either sent as JSON, or parsed by the proper language level log processor.

Your language level logs must be turned into Datadog attributes in order for traces and logs correlation to work. Select your language below to learn how to automatically or manually connect your logs to your traces:

On this Page