aws / aws/aws-xray-sdk-python

S3 pre-signed url and post operations not traced

Open
#79 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
338
Forks
147
PR merge metrics
No merged PRs in 30d

Description

The X-Ray SDK for Python doesn't seem to properly trace S3 pre-signed url and post operations. Check out the following example:

```python
import boto3
from aws_xray_sdk.core import patch as xray_patch

def handler(event, context):
xray_patch(['boto3'])

client = boto3.client('s3')
client.list_buckets()
client.generate_presigned_url(ClientMethod='get_object',
Params={'Bucket': 'my-bucket',
'Key': 'foo'})
client.generate_presigned_post(Bucket='my-bucket'', Key='bar')
client.list_buckets()
```

![xray-s3-presigned-missing](https://user-images.githubusercontent.com/1735355/44647438-5d6c1b80-a9de-11e8-8c30-fc10db389593.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.