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
Having a few problems trying to trace a component, such as TransferManager, which manages its own thread pool. My guess would be to write your own extends of ExecutorService and then use the setExecutor(). This seems invasive and I think that integration between TransferManager and Xray should be provided more easily.
This issue/feature is similar to the one raised in the python library; python github issue 52
Currently we have pulled the use of Transfer Manager and have reverted to just serially calling it for each part of our multipart upload, due to S3 Segment Not Found which results when the threads try to execute the upload.
Ideally Transfer Manager would be enhanced to be more compatible with Xray by enabling the TransferManagerBuilder to take a .withTraceEntity(Entity segment), which could then be injected into the new threads within that threadpool. Injecting Trace Entity
The text was updated successfully, but these errors were encountered:
Hi @willvk the SDK team has reviewed the feature request list for V1, and since they're concentrating efforts on V2 new features they decided to not implement this one in V1. It's still being considered for the TransferManager refactor in V2, see the referenced issue above. I'll go ahead and close this.
Please feel free to comment on the V2 issue with your use case, and reach out if you have further questions.
Having a few problems trying to trace a component, such as TransferManager, which manages its own thread pool. My guess would be to write your own extends of ExecutorService and then use the setExecutor(). This seems invasive and I think that integration between TransferManager and Xray should be provided more easily.
This issue/feature is similar to the one raised in the python library;
python github issue 52
Currently we have pulled the use of Transfer Manager and have reverted to just serially calling it for each part of our multipart upload, due to S3 Segment Not Found which results when the threads try to execute the upload.
Ideally Transfer Manager would be enhanced to be more compatible with Xray by enabling the TransferManagerBuilder to take a .withTraceEntity(Entity segment), which could then be injected into the new threads within that threadpool.
Injecting Trace Entity
The text was updated successfully, but these errors were encountered: