-
Notifications
You must be signed in to change notification settings - Fork 147
Closed
Labels
Description
I have the following requirements:
Django==1.11.6
boto3==1.4.7
django-storages==1.6.5
aws-xray-sdk==0.93
I want to store media files in an S3 bucket. To trace that I do:
if 'aws_xray_sdk.ext.django' in settings.INSTALLED_APPS:
from aws_xray_sdk.core import patch_all
patch_all()After that, when I try to upload file to my site, a SegmentNotFoundException is raised.
If I do:
if 'aws_xray_sdk.ext.django' in settings.INSTALLED_APPS:
from aws_xray_sdk.core import patch
patch(['requests'])then all is good, but, obviously, there are no traces for boto3.
The xray middleware is in the list of middleware classes, and the xray app is in the INSTALLED_APPS list.