Releases: DataDog/dd-trace-py
Releases · DataDog/dd-trace-py
2.11.4
Bug Fixes
- CI Visibility: Resolves an issue where exceptions other than timeouts and connection errors raised while fetching the list of skippable tests for ITR were not being handled correctly and caused the tracer to crash.
- CI Visibility: Fixes a bug where
.gitwas incorrectly being stripped from repository URLs when extracting service names, resulting ing,i, ortbeing removed (eg:test-environment.gitincorrectly becomingtest-environmen) - LLM Observability: Resolves an issue where custom trace filters were being overwritten in forked processes.
- tracing: Fixes a side-effect issue with module import callbacks that could cause a runtime exception.
- LLM Observability: Resolves an issue where
session_idwas being defaulted totrace_idwhich was causing unexpected UI behavior.
2.10.7
Bug Fixes
- CI Visibility: Resolves an issue where exceptions other than timeouts and connection errors raised while fetching the list of skippable tests for ITR were not being handled correctly and caused the tracer to crash.
- CI Visibility: Fixes a bug where
.gitwas incorrectly being stripped from repository URLs when extracting service names, resulting ing,i, ortbeing removed (eg:test-environment.gitincorrectly becomingtest-environmen) - openai: Fixes a bug where
asyncio.TimeoutErrors were not being propagated correctly from canceled OpenAI API requests. - profiling: Fixes endpoing profiling for stack v2 when
DD_PROFILING_STACK_V2_ENABLEDis set.
2.9.6
Bug Fixes
- CI Visibility: Resolves an issue where exceptions other than timeouts and connection errors raised while fetching the list of skippable tests for ITR were not being handled correctly and caused the tracer to crash.
- CI Visibility: Fixes a bug where
.gitwas incorrectly being stripped from repository URLs when extracting service names, resulting ing,i, ortbeing removed (eg:test-environment.gitincorrectly becomingtest-environmen) - SSI: Fixes incorrect file permissions on lib-injection images.
- Code Security: Adds null pointer checks when creating new objects ids.
- profiling: Fixes endpoing profiling for stack v2 when
DD_PROFILING_STACK_V2_ENABLEDis set.
2.11.3
Bug Fixes
- ASM: Improves internal stability for the new fingerprinting feature.
2.11.2
New Features
- openai: Introduces
modeltag for openai integration metrics for consistency with the OpenAI SaaS Integration. It has the same value asopenai.request.model.
Bug Fixes
- LLM Observability: Resolves an issue where LLM Observability spans were not being submitted in forked processes, such as when using
celeryorgunicornworkers. The LLM Observability writer thread now automatically restarts when a forked process is detected. - openai: Fixes a bug where
asyncio.TimeoutErrors were not being propagated correctly from canceled OpenAI API requests.
2.12.0rc2
Bug Fixes
- LLM Observability: This fix resolves an issue where LLM Observability spans were not being submitted in forked processes, such as when using
celeryorgunicornworkers. The LLM Observability writer thread now automatically restarts when a forked process is detected. - Fixed an issue with some module imports with native specs that don't support attribute assignments, resulting in a
TypeErrorexception at runtime. - This fix resolves an issue where
ddtracepackage files were published with incorrect file attributes. - tracer: This fix resolves an issue where django db instrumentation could fail.
- openai: Fixes a bug where `asyncio.TimeoutError`s were not being propagated correctly from canceled OpenAI API requests.
2.11.1
Bug Fixes
- tracing(django): This fix resolves a bug where ddtrace was exhausting a Django stream response before returning it to user.
- Fixed an issue with some module imports with native specs that don't support attribute assignments, resulting in a
TypeErrorexception at runtime. - internal: Fix
Already mutably borrowederror by reverting back to pure-python rate limiter. - This fix resolves an issue where
ddtracepackage files were published with incorrect file attributes. - 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_ENABLEDset.
2.12.0rc1
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.aioredispackage. Use attributes exposed inddtrace.contrib.aioredis.__all__instead. - algoliasearch: Deprecates all modules in the
ddtrace.contrib.algoliasearchpackage. Use attributes exposed inddtrace.contrib.algoliasearch.__all__instead. - anthropic: Deprecates all modules in the
ddtrace.contrib.anthropicpackage. Use attributes exposed inddtrace.contrib.anthropic.__all__instead. - aredis: Deprecates all modules in the
ddtrace.contrib.aredispackage. Use attributes exposed inddtrace.contrib.aredis.__all__instead. - asgi: Deprecates all modules in the
ddtrace.contrib.asgipackage. 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.cassandrapackage. Use attributes exposed inddtrace.contrib.cassandra.__all__instead. - celery: Deprecates all modules in the
ddtrace.contrib.celerypackage. Use attributes exposed inddtrace.contrib.celery.__all__instead. - cherrypy: Deprecates all modules in the
ddtrace.contrib.cherrypypackage. Use attributes exposed inddtrace.contrib.cherrypy.__all__instead. - consul: Deprecates all modules in the
ddtrace.contrib.consulpackage. Use attributes exposed inddtrace.contrib.consul.__all__instead. - coverage: Deprecates all modules in the
ddtrace.contrib.coveragepackage. Use attributes exposed inddtrace.contrib.coverage.__all__instead. - django: Deprecates all modules in the
ddtrace.contrib.djangopackage. Use attributes exposed inddtrace.contrib.django.__all__instead. - dogpile_cache: Deprecates all modules in the
ddtrace.contrib.dogpile_cachepackage. Use attributes exposed inddtrace.contrib.dogpile_cache.__all__instead. - dramatiq: Deprecates all modules in the
ddtrace.contrib.dramatiqpackage. Use attributes exposed inddtrace.contrib.dramatiq.__all__instead. - elasticsearch: Deprecates all modules in the
ddtrace.contrib.elasticsearchpackage. Use attributes exposed inddtrace.contrib.elasticsearch.__all__instead. - falcon: Deprecates all modules in the
ddtrace.contrib.falconpackage. Use attributes exposed inddtrace.contrib.falcon.__all__instead. - fastapi: Deprecates all modules in the
ddtrace.contrib.fastapipackage. Use attributes exposed inddtrace.contrib.fastapi.__all__instead. - flask: Deprecates all modules in the
ddtrace.contrib.flaskpackage. Use attributes exposed inddtrace.contrib.flask.__all__instead. - flask_cache: Deprecates all modules in the
ddtrace.contrib.flask_cachepackage. Use attributes exposed inddtrace.contrib.flask_cache.__all__instead. - futures: Deprecates all modules in the
ddtrace.contrib.futurespackage. Use attributes exposed inddtrace.contrib.futures.__all__instead. - gevent: Deprecates all modules in the
ddtrace.contrib.geventpackage. Use attributes exposed inddtrace.contrib.gevent.__all__instead. - graphql Deprecates all modules in the
ddtrace.contrib.graphqlpackage. Use attributes exposed inddtrace.contrib.graphql.__all__instead. - grpc: Deprecates all modules in the
ddtrace.contrib.grpcpackage. Use attributes exposed inddtrace.contrib.grpc.__all__instead. - httplib: Deprecates all modules in the
ddtrace.contrib.httplibpackage. Use attributes exposed inddtrace.contrib.httplib.__all__instead. - httpx: Deprecates all modules in the
ddtrace.contrib.httpxpackage. Use attributes exposed inddtrace.contrib.httpx.__all__instead. - jinja2: Deprecates all modules in the
ddtrace.contrib.jinja2package. Use attributes exposed inddtrace.contrib.jinja2.__all__instead. - kafka: Deprecates all modules in the
ddtrace.contrib.kafkapackage. Use attributes exposed inddtrace.contrib.kafka.__all__instead. - kombu: Deprecates all modules in the
ddtrace.contrib.kombupackage. Use attributes exposed inddtrace.contrib.kombu.__all__instead. - langchain: Deprecates all modules in the
ddtrace.contrib.langchainpackage. Use attributes exposed inddtrace.contrib.langchain.__all__instead. - logbook: Deprecates the
ddtrace.contrib.logbookmodule. Useddtrace.contrib.langchain.logbookinstead. - logging: Deprecates the
ddtrace.contrib.loggingmodule. Useddtrace.contrib.langchain.logginginstead. - loguru: Deprecates the
ddtrace.contrib.logurumodule. Useddtrace.contrib.langchain.loguruinstead. - mako: Deprecates all modules in the
ddtrace.contrib.makopackage. Use attributes exposed inddtrace.contrib.mako.__all__instead. - mariadb: Deprecates all modules in the
ddtrace.contrib.mariadbpackage. Use attributes exposed inddtrace.contrib.mariadb.__all__instead. - molten: Deprecates all modules in the
ddtrace.contrib.moltenpackage. Use attributes exposed inddtrace.contrib.molten.__all__instead. - mongoengine: Deprecates all modules in the
ddtrace.contrib.mongoenginepackage. Use attributes exposed inddtrace.contrib.mongoengine.__all__instead. - mysql: Deprecates all modules in the
ddtrace.contrib.mysqlpackage. Use attributes exposed inddtrace.contrib.mysql.__all__instead. - mysqldb: Deprecates all modules in the
ddtrace.contrib.mysqldbpackage. Use attributes exposed inddtrace.contrib.mysqldb.__all__instead. - openai: Deprecates all modules in the
ddtrace.contrib.openaipackage. Use attributes exposed inddtrace.contrib.openai.__all__instead. - psycopg: Deprecates all modules in the
ddtrace.contrib.psycopgpackage. Use attributes exposed inddtrace.contrib.psycopg.__all__instead. - pylibmc: Deprecates all modules in the
ddtrace.contrib.pylibmcpackage. Use attributes exposed inddtrace.contrib.pylibmc.__all__instead. - pymemcache: Deprecates all modules in the
ddtrace.contrib.pymemcachepackage. Use attributes exposed inddtrace.contrib.pymemcache.__all__instead. - pymongo: Deprecates all modules in the
ddtrace.contrib.pymongopackage. Use attributes exposed inddtrace.contrib.pymongo.__all__instead. - pymysql: Deprecates all modules in the
ddtrace.contrib.pymysqlpackage. Use attributes exposed inddtrace.contrib.pymysql.__all__instead. - pynamodb: Deprecates all modules in the
ddtrace.contrib.pynamodbpackage. Use attributes exposed inddtrace.contrib.pynamodb.__all__instead. - pyodbc: Deprecates all modules in the
ddtrace.contrib.pyodbcpackage. Use attributes exposed inddtrace.contrib.pyodbc.__all__instead. - pyramid: Deprecates all modules in the
ddtrace.contrib.pyramidpackage. Use attributes exposed inddtrace.contrib.pyramid.__all__instead. - redis: Deprecates all modules in the
ddtrace.contrib.redispackage. Use attributes exposed inddtrace.contrib.redis.__all__instead. - rediscluster: Deprecates all modules in the
ddtrace.contrib.redisclusterpackage. Use attributes exposed inddtrace.contrib.rediscluster.__all__instead. - requests: Deprecates all modules in the
ddtrace.contrib.requestspackage. Use attributes exposed inddtrace.contrib.requests.__all__instead. - sanic: Deprecates all modules in the
ddtrace.contrib.sanicpackage. Use attributes exposed inddtrace.contrib.sanic.__all__instead. - snowflake: Deprecates the
ddtrace.contrib.snowflakemodule. Use attributes exposed inddtrace.contrib.snowflake.__all__instead. - sqlalchemy: Deprecates the
ddtrace.contrib.sqlalchemymodule. Use attributes exposed inddtrace.contrib.sqlalchemy.__all__instead. - sqlite3: Deprecates the
ddtrace.contrib.sqlite3module. Use attributes exposed inddtrace.contrib.sqlite3.__all__instead. - starlette: Deprecates the
ddtrace.contrib.starlettemodule. Use attributes exposed inddtrace.contrib.starlette.__all__instead. - structlog: Deprecates the
ddtrace.contrib.structlogmodule. Use attributes exposed inddtrace.contrib.structlog.__all__instead. - subprocess: Deprecates the
ddtrace.contrib.subprocessmodule. Use attributes exposed inddtrace.contrib.subprocess.__all__instead. - tornado: Deprecates all modules in the
ddtrace.contrib.tornadopackage. Use attributes exposed inddtrace.contrib.tornado.__all__instead. - urllib: Deprecates the
ddtrace.contrib.urllibmodule. Use attributes exposed inddtrace.contrib.urllib.__all__instead. - urllib3: Deprecates the
ddtrace.contrib.urllib3module. Use attributes exposed inddtrace.contrib.urllib3.__all__instead. - vertica: Deprecates the
ddtrace.contrib.verticamodule. Use attributes exposed inddtrace.contrib.vertica.__all__instead. - webbrowser: Deprecates the
ddtrace.contrib.webbrowsermodule. Use attributes exposed inddtrace.contrib.webbrowser.__all__instead. - wsgi: Deprecates the
ddtrace.contrib.wsgimodule. Use attributes exposed inddtrace.contrib.wsgi.__all__instead. - yaaredis: Deprecates all modules in the
ddtrace.contrib.yaaredispackage. Use attributes exposed inddtrace.contrib.yaaredis.__all__instead.
New Features
- database_clients: Adds
server.addresstag to all<database>.queryspans (ex: postgres.query). This tag st...
2.10.6
Bug Fixes
- tracing(django): Resolves a bug where
ddtracewas exhausting a Django stream response before returning it to user. - internal: Fixes
Already mutably borrowederror by reverting back to pure-python rate limiter.
2.10.5
Bug Fixes
- internal: Fix for
Already mutably borrowederror when rate limiter is accessed across threads. - Code Security: add null pointer checks when creating new objects ids.
- profiling: turns on the new native exporter when DD_PROFILING_TIMELINE_ENABLED is set.