Application Instrumentation

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.

Overview

To get started with Datadog APM, you need to follow these key steps:

  1. Install and configure the Datadog Agent.
  2. Instrument your application.
Simplify your setup! Install the Agent and instrument your application in one step with Single Step Instrumentation.

Instrumenting your application allows observability data to be sent to the Agent, which then passes data to the Datadog backend to display in the UI.

The APM pipeline

Instrumentation types

There are two main approaches to instrument your application: automatic or custom Instrumentation is the process of adding code to your application to capture and report observability data to Datadog, such as traces, metrics, and logs.Glossary.

Automatic instrumentation

Create spans for your application with minimal manual steps. To automatically instrument your application, you can use either of these options:

To learn more, see automatic instrumentation.

Custom instrumentation

Capture observability data from in-house code or complex functions that aren’t captured by automatic instrumentation. To custom instrument your application, you can use either of these options:

  • Datadog libraries: Use Datadog tracing libraries to add and customize observability within Datadog.
  • OpenTelemetry APIs: Use OpenTelemetry API support in Datadog libraries to have vendor-neutral instrumentation of your code.

To learn more, see custom instrumentation.

Service discovery is in Preview

Service discovery provides complete visibility into the current state of application monitoring, highlighting any major gaps or broken traces in your system.

Request Access

APM setup tutorials

The following tutorials guide you through setting up distributed tracing for a sample application on various infrastructure scenarios, with both automatic and custom instrumentation, using the Datadog tracing libraries:


Further reading

Documentation, liens et articles supplémentaires utiles: