Skip to content

chore: bump ddtrace from 4.8.2 to 4.17.0rc1 in /examples/datadog/flask/lambda-asset/src in the security group across 1 directory - #912

Merged
bnusunny merged 1 commit into
mainfrom
dependabot/pip/examples/datadog/flask/lambda-asset/src/security-594fcb9757
Nov 13, 2026
Merged

bnusunny merged 1 commit into
mainfrom
dependabot/pip/examples/datadog/flask/lambda-asset/src/security-594fcb9757

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the security group with 1 update in the /examples/datadog/flask/lambda-asset/src directory: ddtrace.

Updates ddtrace from 4.8.2 to 4.17.0rc1

Release notes

Sourced from ddtrace's releases.

4.17.0rc1

Estimated end-of-life date, accurate to within three months: 05-2027 See the support level definitions for more information.

Upgrade Notes

  • CI Visibility
    • Removes the legacy pytest plugin. The DD_PYTEST_USE_NEW_PLUGIN and DD_PYTEST_USE_NEW_PLUGIN_BETA environment variables no longer have any effect; the pytest plugin is always used. Remove these environment variables from your configuration to silence the deprecation warning emitted while they are set.
  • dd-trace-py 4.17 adds support for Python 3.15. Most of the library is tested and ready on 3.15. Some products and integrations are not yet validated on Python 3.15. You can track progress in #17809.

New Features

  • AAP
    • Adds Server-Side Request Forgery (SSRF) exploit prevention and downstream request analysis for outgoing requests made with the aiohttp client.
    • Adds threat detection and request blocking for aiohttp web applications traced with ddtrace.contrib.aiohttp.trace_app. Request bodies sent with chunked transfer encoding or compression, or larger than the application's client_max_size, are not inspected.
    • Adds SQL injection protection for byte queries, including bytearray and memoryview queries, in SQL integrations and Django MySQL backends. Queries are inspected using the connection's encoding, with UTF-8 inspection for PostgreSQL SQL_ASCII connections.
  • AI Guard
    • Adds an optional tags argument to AIGuardClient.evaluate(). Each key/value pair in the dictionary is set as a tag on the AI Guard span, so evaluations can be filtered by custom fields in queries, e.g. client.evaluate(messages, tags={"tenant": "acme"}). Keys starting with ai_guard. are reserved and ignored.
    • Introduces filters and callbacks through middlewares in ddtrace.aiguard.middleware, to control which requests AI Guard evaluates and to run custom logic around each evaluation. See the AI Guard documentation for how to use them.
  • algoliasearch
    • This introduces tracing support for algoliasearch 3.x.
  • elevenlabs
    • Adds LLM Observability support for Python Agents conversations over WebSocket, including conversation audio, transcripts, and client tools. Set DD_TRACE_ELEVENLABS_ENABLED=false to disable automatic instrumentation. For improved user-speaking colors, enable vad_score in the agent's Advanced settings under Client Events. Audio playback remains available without this optional event.
  • pymongo
    • Adds support for PyMongo v4.18
    • Adds Python 3.15 test coverage for current PyMongo releases.
  • LLM Observability
    • The agent version set through LLMObs.agent(version=...), @agent(version=...), LLMObs.annotate(agent={"version": ...}) or LLMObs.annotation_context(agent={"version": ...}) is now also reported as an agent_version tag on child spans of that agent within the same process.
    • The root LLMObs span now includes http.client_ip and network.client.ip tags when AppSec or DD_TRACE_CLIENT_IP_ENABLED is active and the web framework instruments the request. No additional LLMObs configuration is required.
    • add Amazon Nova 2 Sonic support for the asynchronous AWS SDK for Bedrock Runtime. Conversations include per-turn traces, transcripts, text and audio token usage, tool calls, and playable audio, with speech phases for conversation playback and response-latency measurement.
    • The OpenAI integration now reports ephemeral_30m_input_tokens and ephemeral_12h_input_tokens metrics for Responses API calls.
    • Adds support for tracing OpenAI Decisions API calls (client.decisions.create), capturing the input, questions, answers, and token usage.
    • Adds LLMObs.routing_context(), a context manager that sends LLM Observability spans and evaluation metrics created within it to other Datadog organizations instead of the configured one. Pass dd_api_key (and optionally dd_site) to route to one organization, or targets to send the same data to several. Routed data is sent directly to the LLM Observability intake; APM spans are not routed.
    • The OpenAI and Anthropic integrations now track server-side tool usage on LLM spans. This includes web_search_count for OpenAI Responses API and Anthropic web searches, and storage_search_count for OpenAI file searches.
    • Adds support for submitting LLM Observability spans for TypeSafe system_one calls, capturing the request and response bodies and token usage. Images are recorded by reference, not by content.
    • OpenAI Decisions API spans and typesafe-sdk System One spans are now tagged with decision_provider (openai and typesafe respectively) to identify decision model spans.
  • AWS Bedrock Runtime
    • Adds reported input and output text token counts to Nova Sonic 2 spans in LLM Observability alongside audio token counts.
  • OpenAI
    • Adds reported audio, text, image, and cached token counts to Realtime spans in LLM Observability for detailed token breakdowns.
  • mcp
    • LLM Observability MCP server spans, including tool call spans, now include the calling client's self-reported name, title, and version as the mcp_client_name, mcp_client_title, and mcp_client_version tags. Tool call spans are not tagged for servers on mcp<2 using stateless streamable HTTP, where the client's identity is unavailable.
    • Adds support for mcp 2.x, including clients and servers using the stateless 2026-07-28 MCP protocol. Previously, no APM or Agent Observability spans were created for MCP clients or servers when mcp 2.x was installed.
  • tracing
    • Adds DD_TRACE_HTTP_CLIENT_ERROR_STATUSES to configure which HTTP client response status codes mark a span as an error when DD_TRACE_OTEL_SEMANTICS_ENABLED=true. When it is not set, client status codes of 400 and above are errors.
    • Adds support for OpenTelemetry HTTP semantic conventions on HTTP client spans, enabled with DD_TRACE_OTEL_SEMANTICS_ENABLED=true. When enabled, client spans use OpenTelemetry attribute names and low-cardinality resource names; the default remains the existing Datadog behavior.
    • Adds support for OpenTelemetry HTTP semantic conventions on HTTP server spans when DD_TRACE_OTEL_SEMANTICS_ENABLED=true.
    • Adds shared OpenTelemetry HTTP span behavior for upcoming client and server integrations, enabled with DD_TRACE_OTEL_SEMANTICS_ENABLED. See the OpenTelemetry API docs for details.
    • Adds gRPC support for OTLP trace export. Set OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=grpc or OTEL_EXPORTER_OTLP_PROTOCOL=grpc to use gRPC; http/protobuf remains the default for traces. Applications that use the global gRPC setting but require HTTP trace export must set OTEL_EXPORTER_OTLP_TRACES_PROTOCOL=http/protobuf. gRPC trace export currently supports plaintext http:// endpoints only.
  • profiling

... (truncated)

Commits
  • 5f0f5c0 ci: update system-tests pin to 37382f45 (#21384)
  • c17ee0b fix(compat): singledispatchmethod.register raises for CPython <3.9.8 (#21379)
  • e8629fb refactor(llmobs): abstract llmobs from llama_index integration code (#20860)
  • bc7b458 feat(llmobs): tag decision model spans with decision_provider (#21337)
  • 33cb8d8 fix(aiopg): preserve connection and cursor context managers (#21301)
  • 1bb117f test(graphql): fix pytest-asyncio compatibility for the Python 3.15 graphql l...
  • 1336b80 test(snapshot): isolate test-agent sessions (#21235)
  • 4bd94aa docs(releasenotes): refresh Python 3.15 unsupported list for 4.17 (#21372)
  • 42381db refactor(profiling): preliminary support for remote configuration (#20622)
  • e09a1a0 ci(py-315): run all (most) suites on Python 3.15 (#21192)
  • Additional commits viewable in compare view

@dependabot
dependabot Bot requested a review from a team as a code owner November 1, 2026 22:05
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 1, 2026
@bnusunny

Copy link
Copy Markdown
Contributor

@dependabot rebase

Bumps the security group with 1 update in the /examples/datadog/flask/lambda-asset/src directory: [ddtrace](https://github.com/DataDog/dd-trace-py).


Updates `ddtrace` from 4.8.2 to 4.17.0rc1
- [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@v4.8.2...v4.17.0rc1)

---
updated-dependencies:
- dependency-name: ddtrace
  dependency-version: 4.15.6
  dependency-type: direct:production
  dependency-group: security
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore: bump ddtrace from 4.8.2 to 4.15.6 in /examples/datadog/flask/lambda-asset/src in the security group across 1 directory chore: bump ddtrace from 4.8.2 to 4.17.0rc1 in /examples/datadog/flask/lambda-asset/src in the security group across 1 directory Nov 13, 2026
@dependabot
dependabot Bot force-pushed the dependabot/pip/examples/datadog/flask/lambda-asset/src/security-594fcb9757 branch from 6e4c38c to 6f91ac5 Compare November 13, 2026 01:13

@bnusunny bnusunny left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Security update for an example; CI green after rebase on the #917 fix.

@bnusunny
bnusunny merged commit a49956e into main Nov 13, 2026
9 checks passed
@bnusunny
bnusunny deleted the dependabot/pip/examples/datadog/flask/lambda-asset/src/security-594fcb9757 branch November 13, 2026 01:22
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 python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant