Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency ddtrace to v2.5.0 #289

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 20, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
ddtrace (changelog) 2.4.1 -> 2.5.0 age adoption passing confidence

Release Notes

DataDog/dd-trace-py (ddtrace)

v2.5.0: 2.5.0rc3

Compare Source

New Features
  • aiohttp: add split_by_domain config to split service name by domain
  • CI Visibility: Adds code coverage lines covered tag for pytest and unittest.
  • aiohttp: Adds http.route tag to aiohttp.request spans.
  • bottle: Adds http.route tag to bottle.request spans.
  • falcon: Adds http.route tag to falcon.request spans.
  • molten: Adds http.route tag to molten.request spans.
  • Adds distributed tracing for confluent-kafka integration. Distributed tracing connects Kafka consumer spans with Kafka producer spans within the same trace if a message is valid. To enable distributed tracing, set the configuration: DD_KAFKA_DISTRIBUTED_TRACING_ENABLED=True for both the consumer and producer service.
  • ASM: This introduces (experimental) api security support for fastAPI. Flask and Django were already supported in 2.4.0. Support schema computation on all addresses (requests and responses) and scanner support for pii, credentials and payment data.
  • CI Visibility: introduces a CI visibility-specific logger (enabled for the pytest plugin), enabled by setting the DD_CIVISIBILITY_LOG_LEVEL environment variable (with the same level names as Python logging levels).
  • CI Visibility: allows for waiting for the git metadata upload to complete before deciding whether or not to enable coverage (based on API response).
  • Further lazy loads telemetry_writer so that it is not running when explicitly disabled. Users must explicitly set "DD_INSTRUMENTATION_TELEMETRY_ENABLED=false".
  • tracer: Add support for remotely configuring trace tags.
Bug Fixes
  • loguru: Ensures log correlation is enabled when the root logger is initialized. Previously, log correlation was only enabled when a new sink was added.

  • Fix compatibility with other tools that try to infer the type of a Python object at runtime.

  • tracing: Fixes a bug that prevents span links from being visualized in the Datadog UI.

  • tracing: Resolves span encoding errors raised when span links do not contain expected types

  • ASM: This fix resolves an issue where custom event boolean properties were not reported as true and false like other tracers but as True and False.

  • Vulnerability Management for Code-level (IAST): Ensure that Cookies vulnerabilities report only the cookie name.

  • langchain: This fix resolves an get_openai_token_cost_for_model import error in langhcain version 0.0.351 or later.

  • ASM: This fix resolves an issue where IAST could cause circular dependency at startup.

  • tracing: Ensures all fields in ddtrace.context.Context are picklable.

  • pytest: This fix resolves an issue where the --no-cov flag did not take precedence over the --cov flag when deciding whether to report code coverage on spans.

  • rq: Fixed a bug where the RQ integration would emit a warning when setting job.status span tag.

  • IAST: Don't split AST Assign nodes since it's not needed for propagation to work.

  • Fix an issue that caused an exception to be raised when trying to access resource files via pkg_resources.

  • Fix for an import issue that caused the pytest plugin to fail to properly initialize a test session and exit with an import exception.

  • opentelemetry: Ensures that span links are serialized in a json-compatible representation.

  • otel: Ensures all otel sampling decisions are consistent with Datadog Spans. This prevents otel spans in a distrbuted trace from being sampled differently than Datadog spans in the same trace.

  • tracing: Fix an issue where remote configuration values would not be reverted when unset in the UI.

  • openai: This fix resolves an issue where an internal OpenAI method SyncAPIClient._process_response
    was not being patched correctly and led to to an AttributeError while patching.

  • tracing: Ensures span links are serialized with the expected traceflag when DD_TRACE_API_VERSION=v0.4

v2.4.2: 2.4.2

Compare Source

Bug Fixes
  • openai: This fix resolves an issue where an internal OpenAI method SyncAPIClient._process_response
    was not being patched correctly and led to to an AttributeError while patching.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from kiloreven as a code owner January 20, 2024 01:26
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Jan 20, 2024
@renovate renovate bot requested a review from gbbirkisson as a code owner January 20, 2024 01:26
@gbbirkisson gbbirkisson merged commit 0c36465 into main Jan 24, 2024
5 checks passed
@gbbirkisson gbbirkisson deleted the renovate/ddtrace-2.x-lockfile branch January 24, 2024 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant