Deprecation Notes
- config: DD_TRACE_128_BIT_TRACEID_LOGGING_ENABLED is deprecated. Trace id logging format is now configured automatically.
- aioredis: Deprecates all modules in the
ddtrace.contrib.aioredis
package. Use attributes exposed inddtrace.contrib.aioredis.__all__
instead. - algoliasearch: Deprecates all modules in the
ddtrace.contrib.algoliasearch
package. Use attributes exposed inddtrace.contrib.algoliasearch.__all__
instead. - anthropic: Deprecates all modules in the
ddtrace.contrib.anthropic
package. Use attributes exposed inddtrace.contrib.anthropic.__all__
instead. - aredis: Deprecates all modules in the
ddtrace.contrib.aredis
package. Use attributes exposed inddtrace.contrib.aredis.__all__
instead. - asgi: Deprecates all modules in the
ddtrace.contrib.asgi
package. Use attributes exposed inddtrace.contrib.asgi.__all__
instead. - asyncpg: Deprecates all modules in the ddtrace.contrib.asyncpg package. Use attributes exposed in ddtrace.contrib.asyncpg.__all__ instead.
- aws_lambda: Deprecates all modules in the ddtrace.contrib.aws_lambda package. Use attributes exposed in ddtrace.contrib.aws_lambda.__all__ instead.
- boto: Deprecates all modules in the ddtrace.contrib.boto package. Use attributes exposed in ddtrace.contrib.boto.__all__ instead.
- botocore: Deprecates all modules in the ddtrace.contrib.botocore package. Use attributes exposed in ddtrace.contrib.botocore.__all__ instead.
- bottle: Deprecates all modules in the ddtrace.contrib.bottle package. Use attributes exposed in ddtrace.contrib.bottle.__all__ instead.
- cassandra: Deprecates all modules in the
ddtrace.contrib.cassandra
package. Use attributes exposed inddtrace.contrib.cassandra.__all__
instead. - celery: Deprecates all modules in the
ddtrace.contrib.celery
package. Use attributes exposed inddtrace.contrib.celery.__all__
instead. - cherrypy: Deprecates all modules in the
ddtrace.contrib.cherrypy
package. Use attributes exposed inddtrace.contrib.cherrypy.__all__
instead. - consul: Deprecates all modules in the
ddtrace.contrib.consul
package. Use attributes exposed inddtrace.contrib.consul.__all__
instead. - coverage: Deprecates all modules in the
ddtrace.contrib.coverage
package. Use attributes exposed inddtrace.contrib.coverage.__all__
instead. - django: Deprecates all modules in the
ddtrace.contrib.django
package. Use attributes exposed inddtrace.contrib.django.__all__
instead. - dogpile_cache: Deprecates all modules in the
ddtrace.contrib.dogpile_cache
package. Use attributes exposed inddtrace.contrib.dogpile_cache.__all__
instead. - dramatiq: Deprecates all modules in the
ddtrace.contrib.dramatiq
package. Use attributes exposed inddtrace.contrib.dramatiq.__all__
instead. - elasticsearch: Deprecates all modules in the
ddtrace.contrib.elasticsearch
package. Use attributes exposed inddtrace.contrib.elasticsearch.__all__
instead. - falcon: Deprecates all modules in the
ddtrace.contrib.falcon
package. Use attributes exposed inddtrace.contrib.falcon.__all__
instead. - fastapi: Deprecates all modules in the
ddtrace.contrib.fastapi
package. Use attributes exposed inddtrace.contrib.fastapi.__all__
instead. - flask: Deprecates all modules in the
ddtrace.contrib.flask
package. Use attributes exposed inddtrace.contrib.flask.__all__
instead. - flask_cache: Deprecates all modules in the
ddtrace.contrib.flask_cache
package. Use attributes exposed inddtrace.contrib.flask_cache.__all__
instead. - futures: Deprecates all modules in the
ddtrace.contrib.futures
package. Use attributes exposed inddtrace.contrib.futures.__all__
instead. - gevent: Deprecates all modules in the
ddtrace.contrib.gevent
package. Use attributes exposed inddtrace.contrib.gevent.__all__
instead. - graphql Deprecates all modules in the
ddtrace.contrib.graphql
package. Use attributes exposed inddtrace.contrib.graphql.__all__
instead. - grpc: Deprecates all modules in the
ddtrace.contrib.grpc
package. Use attributes exposed inddtrace.contrib.grpc.__all__
instead. - httplib: Deprecates all modules in the
ddtrace.contrib.httplib
package. Use attributes exposed inddtrace.contrib.httplib.__all__
instead. - httpx: Deprecates all modules in the
ddtrace.contrib.httpx
package. Use attributes exposed inddtrace.contrib.httpx.__all__
instead. - jinja2: Deprecates all modules in the
ddtrace.contrib.jinja2
package. Use attributes exposed inddtrace.contrib.jinja2.__all__
instead. - kafka: Deprecates all modules in the
ddtrace.contrib.kafka
package. Use attributes exposed inddtrace.contrib.kafka.__all__
instead. - kombu: Deprecates all modules in the
ddtrace.contrib.kombu
package. Use attributes exposed inddtrace.contrib.kombu.__all__
instead. - langchain: Deprecates all modules in the
ddtrace.contrib.langchain
package. Use attributes exposed inddtrace.contrib.langchain.__all__
instead. - logbook: Deprecates the
ddtrace.contrib.logbook
module. Useddtrace.contrib.langchain.logbook
instead. - logging: Deprecates the
ddtrace.contrib.logging
module. Useddtrace.contrib.langchain.logging
instead. - loguru: Deprecates the
ddtrace.contrib.loguru
module. Useddtrace.contrib.langchain.loguru
instead. - mako: Deprecates all modules in the
ddtrace.contrib.mako
package. Use attributes exposed inddtrace.contrib.mako.__all__
instead. - mariadb: Deprecates all modules in the
ddtrace.contrib.mariadb
package. Use attributes exposed inddtrace.contrib.mariadb.__all__
instead. - molten: Deprecates all modules in the
ddtrace.contrib.molten
package. Use attributes exposed inddtrace.contrib.molten.__all__
instead. - mongoengine: Deprecates all modules in the
ddtrace.contrib.mongoengine
package. Use attributes exposed inddtrace.contrib.mongoengine.__all__
instead. - mysql: Deprecates all modules in the
ddtrace.contrib.mysql
package. Use attributes exposed inddtrace.contrib.mysql.__all__
instead. - mysqldb: Deprecates all modules in the
ddtrace.contrib.mysqldb
package. Use attributes exposed inddtrace.contrib.mysqldb.__all__
instead. - openai: Deprecates all modules in the
ddtrace.contrib.openai
package. Use attributes exposed inddtrace.contrib.openai.__all__
instead. - psycopg: Deprecates all modules in the
ddtrace.contrib.psycopg
package. Use attributes exposed inddtrace.contrib.psycopg.__all__
instead. - pylibmc: Deprecates all modules in the
ddtrace.contrib.pylibmc
package. Use attributes exposed inddtrace.contrib.pylibmc.__all__
instead. - pymemcache: Deprecates all modules in the
ddtrace.contrib.pymemcache
package. Use attributes exposed inddtrace.contrib.pymemcache.__all__
instead. - pymongo: Deprecates all modules in the
ddtrace.contrib.pymongo
package. Use attributes exposed inddtrace.contrib.pymongo.__all__
instead. - pymysql: Deprecates all modules in the
ddtrace.contrib.pymysql
package. Use attributes exposed inddtrace.contrib.pymysql.__all__
instead. - pynamodb: Deprecates all modules in the
ddtrace.contrib.pynamodb
package. Use attributes exposed inddtrace.contrib.pynamodb.__all__
instead. - pyodbc: Deprecates all modules in the
ddtrace.contrib.pyodbc
package. Use attributes exposed inddtrace.contrib.pyodbc.__all__
instead. - pyramid: Deprecates all modules in the
ddtrace.contrib.pyramid
package. Use attributes exposed inddtrace.contrib.pyramid.__all__
instead. - redis: Deprecates all modules in the
ddtrace.contrib.redis
package. Use attributes exposed inddtrace.contrib.redis.__all__
instead. - rediscluster: Deprecates all modules in the
ddtrace.contrib.rediscluster
package. Use attributes exposed inddtrace.contrib.rediscluster.__all__
instead. - requests: Deprecates all modules in the
ddtrace.contrib.requests
package. Use attributes exposed inddtrace.contrib.requests.__all__
instead. - sanic: Deprecates all modules in the
ddtrace.contrib.sanic
package. Use attributes exposed inddtrace.contrib.sanic.__all__
instead. - snowflake: Deprecates the
ddtrace.contrib.snowflake
module. Use attributes exposed inddtrace.contrib.snowflake.__all__
instead. - sqlalchemy: Deprecates the
ddtrace.contrib.sqlalchemy
module. Use attributes exposed inddtrace.contrib.sqlalchemy.__all__
instead. - sqlite3: Deprecates the
ddtrace.contrib.sqlite3
module. Use attributes exposed inddtrace.contrib.sqlite3.__all__
instead. - starlette: Deprecates the
ddtrace.contrib.starlette
module. Use attributes exposed inddtrace.contrib.starlette.__all__
instead. - structlog: Deprecates the
ddtrace.contrib.structlog
module. Use attributes exposed inddtrace.contrib.structlog.__all__
instead. - subprocess: Deprecates the
ddtrace.contrib.subprocess
module. Use attributes exposed inddtrace.contrib.subprocess.__all__
instead. - tornado: Deprecates all modules in the
ddtrace.contrib.tornado
package. Use attributes exposed inddtrace.contrib.tornado.__all__
instead. - urllib: Deprecates the
ddtrace.contrib.urllib
module. Use attributes exposed inddtrace.contrib.urllib.__all__
instead. - urllib3: Deprecates the
ddtrace.contrib.urllib3
module. Use attributes exposed inddtrace.contrib.urllib3.__all__
instead. - vertica: Deprecates the
ddtrace.contrib.vertica
module. Use attributes exposed inddtrace.contrib.vertica.__all__
instead. - webbrowser: Deprecates the
ddtrace.contrib.webbrowser
module. Use attributes exposed inddtrace.contrib.webbrowser.__all__
instead. - wsgi: Deprecates the
ddtrace.contrib.wsgi
module. Use attributes exposed inddtrace.contrib.wsgi.__all__
instead. - yaaredis: Deprecates all modules in the
ddtrace.contrib.yaaredis
package. Use attributes exposed inddtrace.contrib.yaaredis.__all__
instead.
New Features
- database_clients: Adds
server.address
tag to all<database>.query
spans (ex: postgres.query). This tag stores the name of the database host. - database_clients: Adds
server.address
tag to all<database>.query
spans (ex: postgres.query). This tag stores the name of the database host. - LLM Observability: Flush the buffer of spans to be sent when the payload size would otherwise exceed the payload size limit for the event platform.
- LLM Observability: Span events that exceed the event platform event size limit (1 MB) will now have their inputs and outputs dropped.
Bug Fixes
- tracing: Adds
ddtrace.trace.Context
to the public api. This class can now be used to propagate context across execution boundaries (ex: threads). - aiobotocore: Fix an issue where the _make_api_call arguments were not captured correctly when using keyword arguments.
- tracing(django): This fix resolves a bug where ddtrace was exhausting a Django stream response before returning it to user.
- LLM Observability: Fixes an issue in the OpenAI integration where integration metrics would still be submitted even if
LLMObs.enable(agentless_enabled=True)
was set. - internal: Fix for
Already mutably borrowed
error when rate limiter is accessed across threads. - internal: Fix
Already mutably borrowed
error by reverting back to pure-python rate limiter. - Code Security: add null pointer checks when creating new objects ids.
- profiling: Fixes an issue where the profiler could erroneously try to load protobuf in autoinjected environments, where it is not available.
- Fixes an issue where crashtracking environment variables for Python were inconsistent with those used by other runtimes.
- profiling: Fixes endpoing profiling for stack v2, that is when
DD_PROFILING_STACK_V2_ENABLED
set. - profiling: Turns on the new native exporter when DD_PROFILING_TIMELINE_ENABLED=True is set.