Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.
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