Skip to main content

Django AWS X-Ray

Project description

Leverage AWS X-Ray for your Django projects! This Django app instruments your code to send traces to the X-Ray daemon.

Installation

pip install django-aws-xray

Update your Django settings:

INSTALLED_APPS += [
    'django_aws_xray'
]

MIDDLEWARE.insert(0, 'django_aws_xray.middleware.XRayMiddleware')

Settings

Setting

Name

Default

AWS_XRAY_SAMPLING_RATE

Sampling rate

100

AWS_XRAY_EXCLUDED_PATHS

Exclude paths

[]

Credits

The database and cache instrumention code was based on the code from django-statsd

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-aws-xray-0.1.0.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

django_aws_xray-0.1.0-py2.py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page