Trace AWS Lambda durable functions with Datadog
Blog post from Datadog
Datadog now provides tracing for AWS Lambda durable functions, which support long-running, multi-step workflows that can pause, resume, retry, and maintain state across multiple Lambda invocations. Its Node.js and Python tracers automatically instrument durable operations including steps, waits, callbacks, parallel tasks, maps, invokes, and child contexts, combining their telemetry into a single trace and flame graph rather than separate invocation-level traces. Cross-invocation context is stored in an additional Datadog checkpoint that preserves the trace ID without modifying user checkpoint data, enabling users to move from the AWS console to the associated Datadog trace. The integration helps investigate errors, retries, and replayed operations through span tags, attached error details, execution-level operation summaries, and filtering by execution ARN or status. No workflow code changes are required for Lambda functions already using the Datadog Lambda Library and Extension, although retention filters are recommended for very long-running executions. Datadog also offers Serverless View dashboards and metrics to monitor durable execution status, duration, utilization, failures, timeouts, and other behavior across workflows.
| Trend | Post Mentions | Total Month Mentions | Posts | Companies | MoM |
|---|---|---|---|---|---|
| Serverless | 21 | 783 | 217 | 99 | +1% |
| Observability | 10 | 3,175 | 737 | 186 | -24% |
Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.