Python Compatibility Requirements

Python Compatibility Requirements

このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

The Python Datadog Trace library is open source. View the Github repository for more information.

Python versions 2.7+ and 3.5+ are supported in the latest version of the tracer. Python 3.4 is supported in versions 0.35.x and below of the Python tracer.

Integrations

To request support for additional libraries, contact our awesome support team.

Web framework compatibility

The ddtrace library includes support for a number of web frameworks, including:

FrameworkSupported VersionLibrary Documentation
asgi>= 2.0https://ddtrace.readthedocs.io/en/stable/integrations.html#asgi
aiohttp>= 1.2https://ddtrace.readthedocs.io/en/stable/integrations.html#aiohttp
Bottle>= 0.11https://ddtrace.readthedocs.io/en/stable/integrations.html#bottle
CherryPy>= 11.2.0https://ddtrace.readthedocs.io/en/stable/integrations.html#cherrypy
Django>= 1.8https://ddtrace.readthedocs.io/en/stable/integrations.html#django
djangorestframework>= 3.4https://ddtrace.readthedocs.io/en/stable/integrations.html#django
Falcon>= 1.0https://ddtrace.readthedocs.io/en/stable/integrations.html#falcon
Flask>= 0.10https://ddtrace.readthedocs.io/en/stable/integrations.html#flask
FastAPI>= 0.51https://ddtrace.readthedocs.io/en/stable/integrations.html#fastapi
Molten>= 0.7.0https://ddtrace.readthedocs.io/en/stable/integrations.html#molten
Pylons>= 0.9.6https://ddtrace.readthedocs.io/en/stable/integrations.html#pylons
Pyramid>= 1.7https://ddtrace.readthedocs.io/en/stable/integrations.html#pyramid
pytest>= 3.0https://ddtrace.readthedocs.io/en/stable/integrations.html#pytest
Sanic>= 19.6.0https://ddtrace.readthedocs.io/en/stable/integrations.html#sanic
Starlette>= 0.13.0https://ddtrace.readthedocs.io/en/stable/integrations.html#starlette
Tornado>= 4.0https://ddtrace.readthedocs.io/en/stable/integrations.html#tornado

Datastore compatibility

The ddtrace library includes support for the following data stores:

DatastoreSupported VersionLibrary Documentation
algoliasearch>= 1.20.0https://ddtrace.readthedocs.io/en/stable/integrations.html#algoliasearch
Cassandra>= 3.5https://ddtrace.readthedocs.io/en/stable/integrations.html#cassandra
Elasticsearch>= 1.6https://ddtrace.readthedocs.io/en/stable/integrations.html#elasticsearch
Flask Cache>= 0.12https://ddtrace.readthedocs.io/en/stable/integrations.html#flask-cache
Memcached pylibmc>= 1.4https://ddtrace.readthedocs.io/en/stable/integrations.html#pylibmc
Memcached pymemcache>= 1.3https://ddtrace.readthedocs.io/en/stable/integrations.html#pymemcache
MongoDB Mongoengine>= 0.11https://ddtrace.readthedocs.io/en/stable/integrations.html#mongoengine
MongoDB Pymongo>= 3.0https://ddtrace.readthedocs.io/en/stable/integrations.html#pymongo
MySQL MySQL-python>= 1.2.3https://ddtrace.readthedocs.io/en/stable/integrations.html#module-ddtrace.contrib.mysqldb
MySQL mysqlclient>= 1.3https://ddtrace.readthedocs.io/en/stable/integrations.html#module-ddtrace.contrib.mysqldb
MySQL mysql-connector>= 2.1https://ddtrace.readthedocs.io/en/stable/integrations.html#mysql-connector
Postgres aiopg>= 0.12.0https://ddtrace.readthedocs.io/en/stable/integrations.html#aiopg
Postgres psycopg>= 2.4https://ddtrace.readthedocs.io/en/stable/integrations.html#module-ddtrace.contrib.psycopg
PynamoDB>= 4.0https://ddtrace.readthedocs.io/en/stable/integrations.html#pynamodb
PyODBC>= 4.0https://ddtrace.readthedocs.io/en/stable/integrations.html#pyodbc
Redis>= 2.6https://ddtrace.readthedocs.io/en/stable/integrations.html#redis
Redis redis-py-cluster>= 1.3.5https://ddtrace.readthedocs.io/en/stable/integrations.html#module-ddtrace.contrib.rediscluster
SQLAlchemy>= 1.0https://ddtrace.readthedocs.io/en/stable/integrations.html#sqlalchemy
SQLite3Fully Supportedhttps://ddtrace.readthedocs.io/en/stable/integrations.html#sqlite
Vertica>= 0.6https://ddtrace.readthedocs.io/en/stable/integrations.html#vertica

Library compatibility

The ddtrace library includes support for the following libraries:

LibrarySupported VersionLibrary Documentation
aiobotocore>= 0.2.3https://ddtrace.readthedocs.io/en/stable/integrations.html#aiobotocore
asyncioFully Supportedhttps://ddtrace.readthedocs.io/en/stable/integrations.html#asyncio
Botocore>= 1.4.51https://ddtrace.readthedocs.io/en/stable/integrations.html#botocore
Boto2>= 2.29.0https://ddtrace.readthedocs.io/en/stable/integrations.html#boto2
Celery>= 3.1https://ddtrace.readthedocs.io/en/stable/integrations.html#celery
Consul>= 0.7https://ddtrace.readthedocs.io/en/stable/integrations.html#consul
FuturesFully Supportedhttps://ddtrace.readthedocs.io/en/stable/integrations.html#futures
gevent>= 1.0https://ddtrace.readthedocs.io/en/stable/integrations.html#gevent
Grpc>= 1.8.0https://ddtrace.readthedocs.io/en/stable/integrations.html#grpc
httplibFully Supportedhttps://ddtrace.readthedocs.io/en/stable/integrations.html#httplib
Jinja2>= 2.7https://ddtrace.readthedocs.io/en/stable/integrations.html#jinja2
Kombu>= 4.0https://ddtrace.readthedocs.io/en/stable/integrations.html#kombu
Mako>= 0.1.0https://ddtrace.readthedocs.io/en/stable/integrations.html#mako
Requests>= 2.08https://ddtrace.readthedocs.io/en/stable/integrations.html#requests
urllib3>= 1.22https://ddtrace.readthedocs.io/en/stable/integrations.html#urllib3

Further Reading

お役に立つドキュメント、リンクや記事: