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

Bump ddtrace from 2.13.0 to 2.14.0 #219

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 30, 2024

Bumps ddtrace from 2.13.0 to 2.14.0.

Release notes

Sourced from ddtrace's releases.

2.14.0

Deprecation Notes

  • Tracing
    • Deprecates the DD_TRACE_SPAN_AGGREGATOR_RLOCK environment variable. It will be removed in v3.0.0.
    • Deprecates support for APM Legacy App Analytics. This feature and its associated configuration options are deprecated and will be removed in v3.0.0.
    • DD_HTTP_CLIENT_TAG_QUERY_STRING configuration is deprecated and will be removed in v3.0.0. Use DD_TRACE_HTTP_CLIENT_TAG_QUERY_STRING instead.

New Features

  • DSM

    • Introduces new tracing and datastreams monitoring functionality for Avro Schemas.
    • Introduces new tracing and datastreams monitoring functionality for Google Protobuf.
  • LLM Observability

    • Adds support to automatically submit Gemini Python SDK calls to LLM Observability.
    • The OpenAI integration now captures tool calls returned from streamed responses when making calls to the chat completions endpoint.
    • The LangChain integration now submits tool spans to LLM Observability.
    • LLM Observability spans generated by the OpenAI integration now have updated span name and model_provider values. Span names are now prefixed with the OpenAI client name (possible values: OpenAI/AzureOpenAI) instead of the default openai prefix to better differentiate whether the request was made to Azure OpenAI or OpenAI. The model_provider field also now corresponds to openai or azure_openai based on the OpenAI client.
    • The OpenAI integration now ensures accurate token data from streamed OpenAI completions and chat completions, if provided in the streamed response. To ensure accurate token data in the traced streamed operation, ensure that the stream_options={"include_usage": True} option is set on the completion or chat completion call.
    • Introduces the LLMObs.annotation_context() context manager method, which allows modifying the tags of integration generated LLM Observability spans created while the context manager is active.
    • Introduces prompt template annotation, which can be passed as an argument to LLMObs.annotate(prompt={...}) for LLM span kinds. For more information on prompt annotations, see the docs.
    • google_generativeai: Introduces tracing support for Google Gemini API generate_content calls.
      See the docs for more information.
    • openai: The OpenAI integration now includes a new openai.request.client tag with the possible values OpenAI/AzureOpenAI to help differentiate whether the request was made to Azure OpenAI or OpenAI.
    • openai: The OpenAI integration now captures token data from streamed completions and chat completions, if provided in the streamed response. To ensure accurate token data in the traced streamed operation, ensure that the stream_options={"include_usage": True} option is set on the completion or chat completion call.
  • Profiling

    • Captures asyncio.Lock usages with with context managers.
  • Other

    • botocore: Adds span pointers to some successful AWS botocore spans. Currently only supports S3 PutObject.
    • pymongo: Adds support for pymongo>=4.9.0

Bug Fixes

  • Code Security (ASM)

    • Fixes a bug in the IAST patching process where AttributeError exceptions were being caught, interfering with the proper application cycle.
    • Resolves an issue where exploit prevention was not properly blocking requests with custom redirection actions.
  • LLM Observability

    • Fixes an issue where the OpenAI and LangChain integrations would still submit integration metrics even in agentless mode. Integration metrics are now disabled if using agentless mode via LLMObs.enable(agentless_enabled=True) or setting DD_LLMOBS_AGENTLESS_ENABLED=1.
    • Resolves an issue in the LLMObs.annotate() method where non-JSON serializable arguments were discarded entirely. Now, the LLMObs.annotate() method safely handles non-JSON-serializable arguments by defaulting to a placeholder text.
    • Resolves an issue where attempting to tag non-JSON serializable request/response parameters resulted in a TypeError in the OpenAI, LangChain, Bedrock, and Anthropic integrations.
    • anthropic: Resolves an issue where attempting to tag non-JSON serializable request arguments caused a TypeError. The Anthropic integration now safely tags non-JSON serializable arguments with a default placeholder text.
    • langchain: Resolves an issue where attempting to tag non-JSON serializable tool config arguments resulted in a TypeError. The LangChain integration now safely tags non-JSON serializable arguments with a default placeholder text.
  • Other

    • SSI: This fix ensures injection denylist is included in published OCI package.
    • postgres: Fixes circular imports raised when psycopg automatic instrumentation is enabled.
    • pymongo: Ensures instances of the pymongo.MongoClient can be patch after pymongo is imported.

... (truncated)

Commits
  • d4a7535 chore(iast): add re.match with an index to the leak testing script (#10742)
  • 41b9975 feat(tracer): [SVLS-5262] Botocore Success Span Pointers (#10690)
  • a1417cb feat(pymongo): add support for v4.9 (#10718)
  • 0a9453b chore(tracing): deprecate DD_TRACE_SPAN_AGGREGATOR_RLOCK (#10725)
  • 219ecbd ci: move PyPI artifact uploading to GitLab (#10760)
  • 5546c23 fix(botocore): account for None data_obj case in Kinesis (#10628)
  • 33daba9 fix(kafka): cast topic to str since it can return None (#10691)
  • baac738 chore: system-tests integrations and messaging tests (#10670)
  • 6c8aadd feat(llmobs): support annotating primitive prompt templates (#10677)
  • 0d44103 chore(iast): re.match getitem aspect (#10593)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [ddtrace](https://github.com/DataDog/dd-trace-py) from 2.13.0 to 2.14.0.
- [Release notes](https://github.com/DataDog/dd-trace-py/releases)
- [Changelog](https://github.com/DataDog/dd-trace-py/blob/main/CHANGELOG.md)
- [Commits](DataDog/dd-trace-py@v2.13.0...v2.14.0)

---
updated-dependencies:
- dependency-name: ddtrace
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Sep 30, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 7, 2024

Superseded by #221.

@dependabot dependabot bot closed this Oct 7, 2024
@dependabot dependabot bot deleted the dependabot/pip/ddtrace-2.14.0 branch October 7, 2024 19:30
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.

0 participants