aws / aws/aws-xray-sdk-python

AWS-Xray is not getting disable in Python

Open
#241 4 comments 0 reactions 0 assignees View on GitHub
stale
Dominant language
Python
Stars
338
Forks
147
PR merge metrics
No merged PRs in 30d

Description

I have a XRAY_RECORDER dict in the setting.py file of Django. Where I have different settings for AWS Xrays like Daemon address, tracing name etc. In the same dict I also mentioned 'AWS_XRAY_SDK_ENABLED': False. In short, I want to disable AWS Xray SDK for my application. But it still sends traces in spite of setting it to False. Although I can turn it off using global_sdk_config.set_sdk_enabled(False) but due to requirements constraint, I have to enable or disable it via environment variables. But it still send traces in spite of setting to False.

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.