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.
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
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.