You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Tracer: "failed to send data to X-Ray daemon" #283
Use sqs batch utility with 10 records and Tracer at the same time without losing traces.
Current Behavior
@pcolazurdo discovered an issue when using Batch processing utility when you have multiple exceptions or multiple records, where X-Ray fails silently and doesn't send the trace data via UDP as expected.
Need to experiment whether that has any negative perf impact when enabled
Steps to Reproduce (for bugs)
Initialize a new project sam init --location https://github.com/aws-samples/cookiecutter-aws-sam-python
Could confirm the issue with a minimal reproduction where the record handler would send back ~100K of data. Changing the streaming_threshold to 0 for the xray_recorder solved the issue.
There is a small performance penalty (96ms vs 93ms @ p90, 62ms vs 58ms @ p50 in my tests) to implement this change. In itself, this is not a big impact, but we need to balance this out with the probability that someone will be impacted by this issue.
Activity
nmoutschen commentedon Feb 4, 2021
Could confirm the issue with a minimal reproduction where the record handler would send back ~100K of data. Changing the
streaming_thresholdto 0 for the xray_recorder solved the issue.There is a small performance penalty (96ms vs 93ms @ p90, 62ms vs 58ms @ p50 in my tests) to implement this change. In itself, this is not a big impact, but we need to balance this out with the probability that someone will be impacted by this issue.
heitorlessa commentedon Feb 12, 2021
This is now available in 1.10.3 - Big thanks for reporting it @pcolazurdo and @nmoutschen for fixing it ;)