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 and HEAD calls to S3 are very small rather than the multiple seconds it takes
Your Environment
Python 3.12.7 with Debian Bookworm
New Relic profile incorrectly shows a few ms for the time to download/upload a file that takes several seconds
Description
boto3was 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 functionExpected Behavior
Time would be correctly attributed to the
boto3code rather than the callerSteps to Reproduce
boto3to download/upload a file from/to S3GETandHEADcalls to S3 are very small rather than the multiple seconds it takesYour Environment
Python 3.12.7 with Debian Bookworm