diff --git a/content/en/tracing/trace_collection/_index.md b/content/en/tracing/trace_collection/_index.md index 24146a34f67..071e4dcbdd7 100644 --- a/content/en/tracing/trace_collection/_index.md +++ b/content/en/tracing/trace_collection/_index.md @@ -28,112 +28,179 @@ algolia: --- ## Overview +Application {{< tooltip glossary="instrumentation" >}} with Datadog APM involves two steps: -To get started with Datadog APM, you need to follow these key steps: +1. **SDK setup**: Adding a Datadog SDK to your application. +2. **Span creation**: Capturing observability data as {{< tooltip glossary="span" >}}s. -1. Install and configure the Datadog Agent. -2. Instrument your application. +Spans are automatically generated by default as soon as the SDK is loaded. For most users, this automatic span creation provides sufficient visibility. If you need more control, you can optionally add custom spans. -
| - | - Automatic Instrumentation - | -- Custom Instrumentation - | -|||||
|---|---|---|---|---|---|---|---|
| - | Single Step Instrumentation | -Manually managed SDKs | -Code-based Custom Instrumentation | -Dynamic Instrumentation (UI-based Custom Instrumentation) |
+ + | Single Step Instrumentation | +Datadog SDKs |
| Description | -With a single command, Datadog automatically loads language SDKs to your application processes. You can also control which processes to instrument. | -Add Datadog language SDKs to your applications. The SDK handles instrumentation automatically. | -Add explicit tracing API calls or span logic in your application code. | -Add instrumentation rules in the Datadog UI. Rules are applied dynamically at runtime and do not require code changes. | +How it works | +Datadog automatically loads SDKs into your application processes with a single command. | +You install and configure SDKs directly in your application code or build process. |
| Code changes? | No | -No | Yes | -No | |||
| Environment config changes? | -No | -Yes | -Yes | -No | +Environment configuration | +Minimal | +Required |
| Setup complexity | Low | -Medium | -High | -Low | +Medium | +||
| Configuration control | +Standard defaults with optional overrides | +Full control through environment variables and code | |||||
| Best for | -SRE, admins, or central teams who want tracing across services without developer involvement. | -App dev teams who want to instrument applications individually with granular control over configuration through environment variables. | -Teams needing custom logic, specialized spans, or visibility into custom code paths. | -Teams wanting to add spans, logs, or metrics to specific code locations at runtime without redeploying or modifying source code. Configuration is managed through the Datadog UI. | +SREs, platform teams, and organizations wanting fast, consistent instrumentation across services. | +Development teams needing granular control over SDK behavior and configuration. | +|
| + | Code-based custom instrumentation | +Dynamic Instrumentation | +||||
|---|---|---|---|---|---|---|
| How it works | +Add explicit tracing API calls in your application code. | +Configure instrumentation rules in the Datadog UI; rules are applied at runtime. | +||||
| Code changes? | +Yes | +No | +||||
| Deployment required | +Yes (to add or modify spans) | +No | +||||
| Setup complexity | +Medium to high | +Low | ||||
| Use cases | -
-
+ |
-
- |
+ |
| ||
| Best for | +Teams with complex instrumentation needs who want spans defined in code. | +Teams wanting to add or modify spans without code changes or redeployments. | +||||