Time not attributed to boto3
Opened this issue · 1 comments
daveisfera commented
New Relic profile incorrectly shows a few ms for the time to download/upload a file that takes several seconds
Description
boto3
was instrumented with the fix in #1178 but the time used by the download/upload of the file from/to S3 is attributed to the Python code that calls that rather than that function
Expected Behavior
Time would be correctly attributed to the boto3
code rather than the caller
Steps to Reproduce
- Run Python code that uses
boto3
to download/upload a file from/to S3 - View profile information in New Relic
- Observe that time show for the
GET
andHEAD
calls to S3 are very small rather than the multiple seconds it takes
Your Environment
Python 3.12.7 with Debian Bookworm