Welcome to the AWS X-Ray SDK for Python!

This project is open sourced in Github. Please see: https://github.com/aws/aws-xray-sdk-python.

The AWS X-Ray service accepts application information in the form of trace segments. A trace segment represents the work done by a single machine as a part of the entire task or request. A set of trace segments which share the same trace ID form a trace. A trace represents a full unit of work completed for a single task or request. Learn more about AWS X-Ray service: https://aws.amazon.com/xray/.

The AWS X-Ray SDK for Python (the SDK) enables Python developers to record and emit information from within their applications to the AWS X-Ray service. You can get started in minutes using pip or by downloading a zip file.

Currently supported web frameworks and libraries:

  • aioboto3/aiobotocore

  • aiohttp >=2.3

  • boto3/botocore

  • Bottle

  • Django >=1.10

  • Flask

  • httplib/http.client

  • mysql-connector

  • pg8000

  • psycopg2

  • pymongo

  • pymysql

  • pynamodb

  • requests

  • SQLAlchemy

  • sqlite3

You must have the X-Ray daemon running to use the SDK. For information about installing and configuring the daemon see: http://docs.aws.amazon.com/xray/latest/devguide/xray-daemon.html.

Contents:

Indices and tables