iopipe / iopipe-python

Python agent for AWS Lambda metrics, tracing, profiling & analytics
https://www.iopipe.com
Apache License 2.0
79 stars 17 forks source link

boto3 requests not being auto traced in 3.7 #319

Closed austinhuminski closed 5 years ago

austinhuminski commented 5 years ago

Description

When using python3.7 runtime, requests made via boto3 are not being auto traced. When changing the runtime to 3.6 it started tracing

Steps to reproduce the issue:

client = boto3.client('s3')
client.list_buckets()

Describe the results you received: Nothing showing up in the tracing tab

Describe the results you expected: The s3 call to list all buckets be auto traced

kolanos commented 5 years ago

It looks like botocore is no longer using requests and implements it's own HTTP wrapper now. Will need to reimplement/revise the monkey patching for newer versions.