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:
Install and configure the Datadog Agent.
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.
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:
Single Step Instrumentation (Preview): Run a one-line install command to install the Datadog Agent, enable APM, and instrument all of your services on your Linux host, VM, or container.
Datadog libraries: Add Datadog tracing libraries to your application.
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.
Service discovery provides complete visibility into the current state of application monitoring, highlighting any major gaps or broken traces in your system.
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: