이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.
Mapping OpenTelemetry Semantic Conventions to Service-entry Spans is now in public beta, and includes improvements to trace metrics generated from OpenTelemetry spans.

Overview

APM metrics from OpenTelemetry

To send APM stats such as hits, errors, and duration, set up the Datadog Connector.

For more information, see the OpenTelemetry project documentation for the Datadog Connector.

Setup

Add the following lines to your Collector configuration:

processors:
  probabilistic_sampler:
    sampling_percentage: 20
connectors:
    # add the "datadog" connector definition and further configurations
    datadog/connector:
exporters:
  datadog:
    api:
      key: ${env:DD_API_KEY}
service:
  pipelines:
   traces:
     receivers: [otlp]
     processors: [batch]
     exporters: [datadog/connector]
   traces/2:
     receivers: [datadog/connector]
     processors: [batch, probabilistic_sampler]
     exporters: [datadog]
  metrics:
    receivers: [datadog/connector]
    processors: [batch]
    exporters: [datadog]

Data collected

See Trace Metrics.

Full example configuration

For a full working example configuration with the Datadog exporter, see trace-metrics.yaml.

Further reading