{"id":16889987,"url":"https://github.com/mvantellingen/django-aws-xray","last_synced_at":"2025-08-08T21:15:53.299Z","repository":{"id":48637351,"uuid":"98684695","full_name":"mvantellingen/django-aws-xray","owner":"mvantellingen","description":"Unofficial Django app for AWS X-Ray","archived":false,"fork":false,"pushed_at":"2021-07-16T13:57:36.000Z","size":130,"stargazers_count":23,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T14:41:32.537Z","etag":null,"topics":["aws","django","xray"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mvantellingen.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGES","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-28T20:16:15.000Z","updated_at":"2024-09-03T13:43:26.000Z","dependencies_parsed_at":"2022-09-05T15:41:29.144Z","dependency_job_id":null,"html_url":"https://github.com/mvantellingen/django-aws-xray","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvantellingen%2Fdjango-aws-xray","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvantellingen%2Fdjango-aws-xray/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvantellingen%2Fdjango-aws-xray/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mvantellingen%2Fdjango-aws-xray/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mvantellingen","download_url":"https://codeload.github.com/mvantellingen/django-aws-xray/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244198386,"owners_count":20414443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","django","xray"],"created_at":"2024-10-13T17:00:04.373Z","updated_at":"2025-03-22T08:31:06.979Z","avatar_url":"https://github.com/mvantellingen.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":".. start-no-pypi\n\n.. image:: https://travis-ci.org/mvantellingen/django-aws-xray.svg?branch=master\n    :target: https://travis-ci.org/mvantellingen/django-aws-xray\n\n.. image:: http://codecov.io/github/mvantellingen/django-aws-xray/coverage.svg?branch=master\n    :target: http://codecov.io/github/mvantellingen/django-aws-xray?branch=master\n\n.. image:: https://img.shields.io/pypi/v/django-aws-xray.svg\n    :target: https://pypi.python.org/pypi/django-aws-xray/\n\n.. end-no-pypi\n\n===============\ndjango-aws-xray\n===============\n\n**N.B.**: AWS have released a beta version of their official X-Ray Python SDK which supports\nDjango, you might want to consider using that:\nhttps://aws.amazon.com/about-aws/whats-new/2017/08/aws-x-ray-sdk-for-python-beta/\n\nLeverage AWS X-Ray for your Django projects! This Django app instruments your code\nto send traces to the `X-Ray daemon`_.\n\n.. _`X-Ray daemon`: http://docs.aws.amazon.com/xray/latest/devguide/xray-daemon.html\n\n.. image:: docs/_static/aws-xray-dashboard.png\n\n\nInstallation\n============\n\n.. code-block:: shell\n\n   pip install django-aws-xray\n\n\n\nUpdate your Django settings:\n\n.. code-block:: python\n\n\n    INSTALLED_APPS += [\n        'django_aws_xray'\n    ]\n\n    MIDDLEWARE.insert(0, 'django_aws_xray.middleware.XRayMiddleware')\n\n    # Enable various instrumentation monkeypatches\n    AWS_XRAY_PATCHES = [\n        'django_aws_xray.patches.cache',\n        'django_aws_xray.patches.redis',\n        'django_aws_xray.patches.db',\n        'django_aws_xray.patches.requests',\n        'django_aws_xray.patches.templates',\n    ]\n\n\nSettings\n========\n\n=========================   =====================  ==========\nSetting                     Name                   Default\n=========================   =====================  ==========\n`AWS_XRAY_SAMPLING_RATE`    Sampling rate          100\n`AWS_XRAY_EXCLUDED_PATHS`   Exclude paths          `[]`\n`AWS_XRAY_HOST`             IP of X-Ray Daemon     127.0.0.1\n`AWS_XRAY_PORT`             Port of X-Ray Daemon   2000\n`AWS_XRAY_PATCHES`          Patches                ``[]``\n=========================   =====================  ==========\n\n\nCredits\n=======\nThe database and cache instrumention code was based on the code from django-statsd\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvantellingen%2Fdjango-aws-xray","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmvantellingen%2Fdjango-aws-xray","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmvantellingen%2Fdjango-aws-xray/lists"}