Datadog APM & Distributed Tracing Fundamentals key terms
Datadog APM & Distributed Tracing Fundamentals · Get comfortable with the vocabulary.
- Distributed trace
- Related: Span, Trace ID, Service Map
A record of a single request as it travels through multiple services, composed of spans linked by shared trace identifiers so the full end-to-end path can be reconstructed and timed.
- Span
- Related: Distributed trace, Parent span, Span tag
A timed unit of work inside a trace, such as one HTTP request or database call, carrying a name, resource, service, start time, duration, and tags.
- Trace ID
- Related: Span ID, Context propagation, Distributed trace
A 64- or 128-bit identifier generated at the entry point of a request and propagated to every downstream service so all related spans group into one distributed trace.
- Span ID
- Related: Trace ID, Parent span
A unique identifier assigned to an individual span, used together with the parent span ID to rebuild the call hierarchy within a trace.
- Parent span
- Related: Span ID, Span
The span that directly caused another span to be created, establishing the nesting relationship that turns flat span records into a call tree.
- Context propagation
- Related: Trace ID, Trace header injection, Datadog tracing library
The mechanism of passing trace and span identifiers across process and network boundaries, typically through HTTP headers, message attributes, or gRPC metadata, so downstream work joins the same trace.
- Trace header injection
- Related: Context propagation, W3C Trace Context
The act of writing trace identifiers into outgoing request headers, such as x-datadog-trace-id and x-datadog-parent-id, or the W3C traceparent header, before a call leaves the service.
- W3C Trace Context
- Related: Trace header injection, Context propagation
An open standard using the traceparent and tracestate headers to carry trace identity between systems, supported by Datadog alongside its native propagation styles for cross-vendor interoperability.
- Datadog tracing library
- Related: Automatic instrumentation, Manual instrumentation, DD_TRACE_AGENT_URL
A language-specific package, such as dd-trace for Java, Python, Node.js, Go, or .NET, that instruments applications, collects spans, and ships them to the Datadog Agent.
- Automatic instrumentation
- Related: Manual instrumentation, Datadog tracing library, Integration
Out-of-the-box library integrations that create spans for common frameworks, HTTP clients, and database drivers without code changes, enabled by default or through configuration in the tracing library.
- Manual instrumentation
- Related: Automatic instrumentation, Custom span, Span tag
Adding custom spans or tags in application code, using the tracing library API, to capture business logic or internal operations that automatic instrumentation does not cover.
- Custom span
- Related: Manual instrumentation, Span tag
A span created explicitly by the developer, for example with a tracer's trace or startSpan method, to represent an operation such as order validation or report generation.
- Span tag
- Related: Custom span, Reserved attribute, Unified service tagging
A key-value attribute attached to a span, such as http.status_code or a business identifier, which enriches traces and enables filtering, grouping, and analytics in the APM UI.
- Unified service tagging
- Related: Span tag, Service, Version tag
The practice of setting env, service, and version on all telemetry so traces, logs, metrics, and profiles correlate; the version tag also powers deployment tracking and error tracking.
- Service
- Related: Resource, Service Map, Unified service tagging
A named group of traces and spans produced by one application or component, defined by the service tag and used as the primary unit for APM dashboards, monitors, and the Service Catalog.
- Resource
- Related: Service, Span, Trace metrics
The specific operation a span represents, such as an HTTP route, SQL statement, or queue topic, used to break down a service's performance by endpoint or query.
- Trace metrics
- Related: Retention filter, Latency distribution, Error rate
Precomputed metrics derived from all ingested spans, including request count, error rate, and latency distributions, retained for fifteen months and queryable regardless of whether individual traces were kept.
- Retention filter
- Related: Trace metrics, Ingestion sampling, Trace search
A rule that decides which traces are kept for full inspection versus only contributing to trace metrics, controlling storage cost and sampling of retained spans.
- Ingestion sampling
- Related: Retention filter, Trace metrics
Client-side or Agent-side rate limiting that reduces the volume of spans sent to Datadog, applied after trace metrics are generated so aggregate statistics stay accurate.
- Service Map
- Related: Service, Distributed trace, Service dependency
A visual graph of services and their dependencies, showing request rates, error rates, and latency on each edge, generated automatically from observed traces and their parent-child relationships.
- Service dependency
- Related: Service Map, Parent span
A directional relationship where one service calls another, inferred from spans whose parent belongs to a different service, and displayed as an edge on the Service Map.
- Flame graph
- Related: Span, Trace view, Waterfall view
A visualization of a trace where span bars are stacked by depth and width represents duration, making it easy to spot the slowest or most frequently repeated operations in a request.
- Waterfall view
- Related: Flame graph, Span, Trace view
A trace visualization that lists spans chronologically with horizontal bars showing start time and duration, revealing sequential waits and parallel work across services.
- Trace search
- Related: Retention filter, Span tag, Trace view
Querying individual retained traces by service, resource, status, duration, or tag using the APM search syntax, used to find concrete examples of an error or slow request.
- Error rate
- Related: Trace metrics, Error tracking, Latency distribution
The share of requests for a service or resource that produced an error span, computed from trace metrics and often displayed alongside request throughput and latency percentiles.
- Latency distribution
- Related: Trace metrics, Error rate, Percentile
A histogram of request durations for a service or resource, used to read percentiles such as p50, p95, and p99 rather than relying on averages that hide tail latency.
- Percentile
- Related: Latency distribution, Trace metrics
A value below which a given share of measurements fall, for example p99 latency being the duration that 99 percent of requests finish within, useful for exposing tail latency.
- Error tracking
- Related: Error rate, Version tag, Span tag
The Datadog feature that groups similar errors from traces and logs into issues, tracks their frequency across versions, and links each issue to example traces and stack traces.
- Version tag
- Related: Unified service tagging, Error tracking, Deployment tracking
The deployment version attached to telemetry; comparing versions in APM reveals whether a new release changed error rates or latency, and enables deployment tracking and rollback decisions.
- Deployment tracking
- Related: Version tag, Error tracking
Overlaying version change events on APM graphs so performance shifts can be tied to specific releases, helping confirm or rule out a deploy as the cause of an incident.
- Trace view
- Related: Flame graph, Waterfall view, Trace search
The detailed page for a single trace showing its spans, durations, tags, host information, and related logs, used to inspect exactly where time was spent or an error originated.
- Reserved attribute
- Related: Span tag, Resource, Service
A span or trace attribute with special meaning to Datadog, such as service, resource, or http.status_code, which drives built-in facets, metrics, and UI behavior and should not be repurposed.
- DD_TRACE_AGENT_URL
- Related: Datadog tracing library, Trace Agent
The environment variable that tells a tracing library where to send spans, typically the local Datadog Agent's trace intake endpoint, and the first thing to check when traces never appear.
- Trace Agent
- Related: DD_TRACE_AGENT_URL, Trace metrics, Ingestion sampling
The component of the Datadog Agent that receives spans from tracing libraries, computes trace metrics, applies sampling and filtering, and forwards retained traces to Datadog.
- Integration
- Related: Automatic instrumentation, Datadog tracing library
A named instrumentation module in a tracing library that wraps a specific framework, client, or driver, and can be enabled, disabled, or configured individually.
- Log correlation
- Related: Trace ID, Span ID, Trace view
Injecting trace and span identifiers into application logs so a log line can be linked directly to the trace that produced it, speeding root-cause analysis during incidents.
- Continuous Profiler
- Related: Trace view, Span
A Datadog product that samples code-level CPU and memory usage in production and links profiles to traces, showing which functions consumed resources during a slow request.
- APM monitor
- Related: Trace metrics, Error rate, Latency distribution
An alert configured on trace metrics, such as error rate or p95 latency for a service, that notifies teams when performance crosses a defined threshold.