# Observability best practices for Lambda durable functions

DevFeed: [Observability best practices for Lambda durable functions](<https://devfeed.tech/articles/observability-best-practices-for-lambda-durable-functions-4670.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/compute/observability-best-practices-for-lambda-durable-functions-2/>)

Author: D Surya Sai

Published: 2026-08-14T12:49:49Z

Content type: tutorial

Language: en

Sources: [AWS Compute Blog](<https://devfeed.tech/sources/aws-compute-blog.md>)

Topics: [AWS Lambda](<https://devfeed.tech/topics/aws-lambda.md>), [observability](<https://devfeed.tech/topics/observability.md>), [Monitoring](<https://devfeed.tech/topics/monitoring.md>), [log management](<https://devfeed.tech/topics/log-management.md>), [tracing](<https://devfeed.tech/topics/tracing.md>), [Instrumentation](<https://devfeed.tech/topics/instrumentation.md>), [debugging](<https://devfeed.tech/topics/debugging.md>), [Amazon API Gateway](<https://devfeed.tech/topics/amazon-api-gateway.md>), [stripe](<https://devfeed.tech/topics/stripe.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [amazon-api-gateway](<https://devfeed.tech/tags/amazon-api-gateway.md>), [aws](<https://devfeed.tech/tags/aws.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [debugging](<https://devfeed.tech/tags/debugging.md>), [instrumentation](<https://devfeed.tech/tags/instrumentation.md>), [logging](<https://devfeed.tech/tags/logging.md>), [metrics](<https://devfeed.tech/tags/metrics.md>), [monitoring](<https://devfeed.tech/tags/monitoring.md>), [observability](<https://devfeed.tech/tags/observability.md>), [payment](<https://devfeed.tech/tags/payment.md>), [payment-processing](<https://devfeed.tech/tags/payment-processing.md>), [payments](<https://devfeed.tech/tags/payments.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>), [tracing](<https://devfeed.tech/tags/tracing.md>)

## AI overview

This tutorial presents an observability pattern for AWS Lambda durable functions using a Stripe payment-processing workflow. It covers durable-function metrics, custom business metrics, alarms, structured logging, AWS X-Ray tracing, instrumentation across suspension boundaries, and end-to-end debugging of callback timeouts.

## Source excerpt

Learn observability best practices for AWS Lambda durable functions, including CloudWatch metrics, custom alarms, structured logging, and X-Ray tracing for debugging callback timeouts end-to-end.