aws / aws/aws-xray-sdk-python

S3 pre-signed url and post operations not traced

オープン
#79 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
Python
スター
338
フォーク
147
PR マージ指標
30日以内にマージされた PR はありません

説明

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)

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、xray_patch(['boto3']) を使って issue の Python 例を実行し、list_buckets、generate_presigned_url、generate_presigned_post の trace 出力を比較します。boto3 のパッチ適用のエントリーポイントを追跡し、両方の presigned 操作が期待される S3 trace データを生成し、既存の list_buckets の動作を変更していないことを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
aws, python
領域
observability-sre
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。