aws / aws/aws-xray-sdk-node

captureAWSClient adding significant latency to lambda invocations

Open
#476 4 comments 3 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
280
Forks
157
PR merge metrics
No merged PRs in 30d

Description

When testing the durations of our lambda invocations we are noticing a difference of close to a second in duration time when the lambda clients are wrapped with `captureAWSClient`. We are using version 3.3.1 of `aws-xray-sdk-core`

Contributor guide

Open the contributing guide

Research direction

Start by reproducing Lambda invocation timings with and without captureAWSClient using aws-xray-sdk-core version 3.3.1. Compare the wrapped and unwrapped paths to isolate the source of the nearly one-second difference. Done means the overhead is explained and a fix or documented limitation is established.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, javascript
Domain
observability
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.