Trace Collection Through OpenTelemetry

이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

Overview

If your applications and services are instrumented with OpenTelemetry libraries, you can choose how to get the tracing data to the Datadog backend:

  1. Send traces to the OpenTelemetry collector, and use the Datadog exporter to forward them to Datadog, or

  2. Ingest traces with the Datadog Agent, which collects them for Datadog.

Read OpenTelemetry for more information.

Beta: Custom Instrumentation for Datadog Libraries
For some supported languages, you can configure OpenTelemetry instrumented applications to use the Datadog tracing library to process spans and traces. For more information, read Custom Instrumentation with the OpenTelemetry API.

Connect OpenTelemetry traces and logs

You can correlate OpenTelemetry traces and logs so that your application logs monitoring and analysis has the additional context provided by the OpenTelemetry traces. See Connect OpenTelemetry Traces and Logs for language specific instructions and example code.

OpenTracing

Datadog recommends you use the OpenTelemetry Collector Datadog exporter or the OTLP Ingest in the Datadog Agent in conjunction with OpenTelemetry tracing clients. However, if that doesn’t work for you, each of the supported languages also has support for sending OpenTracing data to Datadog. Read more about setting up OpenTracing for each supported language.

Set up your application to send traces using OpenTracing.


Further Reading