Home icon

Streamlining trace sampling behavior for AWS Lambda functions with AWS X-Ray

Compute Blog



The article discusses an important update to AWS Lambda's X-Ray tracing behavior, focusing on more predictable and flexible trace sampling configurations.

  • Lambda now offers two tracing modes: Active and PassThrough
  • In PassThrough mode, Lambda now propagates tracing context without creating trace segments
  • Previously, Lambda would automatically send traces even in PassThrough mode, which could create unexpected overhead
  • With Active tracing, Lambda samples requests at 1 per second and 5% of additional requests
  • The change provides developers more control over tracing configuration and cost management

This update helps developers optimize observability and performance monitoring for serverless applications by offering more granular tracing control.



Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

Sep 25
2025
AWS X-Ray introduces Adaptive Sampling for automatic optimized error detection
Mar 9
2026
Adaptive sampling with AWS X-Ray to capture critical spans
Apr 26
2024
Using the unified CloudWatch Agent to send traces to AWS X-Ray
Oct 17
2024
Simplifying Lambda function development using CloudWatch Logs Live Tail and Metrics Insights

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.