Skip to content

feat(dbm): add dynamic_service propagation mode#8592

Merged
amarziali merged 8 commits into
masterfrom
andrea.marziali/dbm-dynamic-service
May 27, 2026
Merged

feat(dbm): add dynamic_service propagation mode#8592
amarziali merged 8 commits into
masterfrom
andrea.marziali/dbm-dynamic-service

Conversation

@amarziali
Copy link
Copy Markdown
Contributor

What does this PR do?

Introduces a new value for DD_DBM_PROPAGATION_MODE: dynamic_service.

Setting DD_DBM_PROPAGATION_MODE=dynamic_service is a convenience shorthand that combines the behavior of two separate settings:

  • DD_DBM_PROPAGATION_MODE=service — injects a DBM SQL comment with service-level tags (dddb, dddbs, dde, ddh, ddps, ddpv)
  • DD_DBM_INJECT_SQL_BASEHASH=true — additionally injects the propagation hash (ddsh) when process tags are enabled

With dynamic_service, users get hash injection automatically without needing to set DD_DBM_INJECT_SQL_BASEHASH=true alongside the propagation mode.

Motivation

Additional Notes

System tests are provided in this PR: DataDog/system-tests#6997

@amarziali amarziali requested review from a team as code owners May 21, 2026 10:50
@amarziali amarziali requested review from crysmags and raphaelgavache and removed request for a team May 21, 2026 10:50
@dd-octo-sts
Copy link
Copy Markdown
Contributor

dd-octo-sts Bot commented May 21, 2026

Overall package size

Self size: 5.87 MB
Deduped: 6.9 MB
No deduping: 6.9 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.0.1 | 82.56 kB | 817.39 kB | | opentracing | 0.14.7 | 194.81 kB | 194.81 kB | | dc-polyfill | 0.1.11 | 25.74 kB | 25.74 kB |

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@datadog-datadog-prod-us1
Copy link
Copy Markdown

datadog-datadog-prod-us1 Bot commented May 21, 2026

Tests

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 86.24% (-0.13%)

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 4dfb204 | Docs | Datadog PR Page | Give us feedback!

@codecov
Copy link
Copy Markdown

codecov Bot commented May 21, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.42%. Comparing base (e0b94ec) to head (4dfb204).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8592      +/-   ##
==========================================
- Coverage   93.00%   91.42%   -1.59%     
==========================================
  Files         847      848       +1     
  Lines       47193    47333     +140     
  Branches     8519     8540      +21     
==========================================
- Hits        43890    43272     -618     
- Misses       3303     4061     +758     
Flag Coverage Δ
aiguard-integration-active 41.24% <ø> (-0.02%) ⬇️
aiguard-integration-latest 41.19% <ø> (-0.02%) ⬇️
aiguard-integration-maintenance 41.24% <ø> (-0.02%) ⬇️
aiguard-macos 33.55% <ø> (-0.10%) ⬇️
aiguard-ubuntu 33.63% <ø> (-0.10%) ⬇️
aiguard-windows 33.36% <ø> (-0.10%) ⬇️
apm-capabilities-tracing-macos ?
apm-capabilities-tracing-ubuntu-active 48.17% <100.00%> (+0.17%) ⬆️
apm-capabilities-tracing-ubuntu-latest 47.96% <100.00%> (-0.20%) ⬇️
apm-capabilities-tracing-ubuntu-maintenance 47.99% <100.00%> (-0.20%) ⬇️
apm-capabilities-tracing-ubuntu-oldest ?
apm-capabilities-tracing-windows 47.94% <100.00%> (+0.16%) ⬆️
apm-integrations-aerospike-18-gte.5.2.0 33.25% <0.00%> (-0.10%) ⬇️
apm-integrations-aerospike-20-gte.5.5.0 33.27% <0.00%> (-0.10%) ⬇️
apm-integrations-aerospike-22-gte.5.12.1 33.28% <0.00%> (-0.10%) ⬇️
apm-integrations-aerospike-22-gte.6.0.0 33.28% <0.00%> (-0.10%) ⬇️
apm-integrations-aerospike-eol- 33.18% <0.00%> (-0.10%) ⬇️
apm-integrations-child-process 34.12% <ø> (-0.10%) ⬇️
apm-integrations-confluentinc-kafka-javascript-18 40.34% <ø> (-0.10%) ⬇️
apm-integrations-confluentinc-kafka-javascript-20 40.35% <ø> (-0.10%) ⬇️
apm-integrations-confluentinc-kafka-javascript-22 40.36% <ø> (-0.10%) ⬇️
apm-integrations-confluentinc-kafka-javascript-24 40.30% <ø> (-0.10%) ⬇️
apm-integrations-couchbase-18 33.55% <ø> (+0.19%) ⬆️
apm-integrations-couchbase-eol 33.27% <ø> (-0.10%) ⬇️
apm-integrations-dns 32.98% <ø> (-0.10%) ⬇️
apm-integrations-elasticsearch 34.18% <0.00%> (-0.09%) ⬇️
apm-integrations-http-latest 41.45% <ø> (-0.09%) ⬇️
apm-integrations-http-maintenance 41.50% <ø> (-0.09%) ⬇️
apm-integrations-http-oldest 41.50% <ø> (-0.09%) ⬇️
apm-integrations-http2 38.72% <ø> (+0.07%) ⬆️
apm-integrations-kafkajs-latest 40.21% <ø> (-0.10%) ⬇️
apm-integrations-kafkajs-oldest 40.25% <ø> (+<0.01%) ⬆️
apm-integrations-net 33.89% <ø> (-0.10%) ⬇️
apm-integrations-next-11.1.4 27.89% <ø> (-0.08%) ⬇️
apm-integrations-next-12.3.7 29.45% <ø> (-0.09%) ⬇️
apm-integrations-next-13.0.0 29.45% <ø> (-0.09%) ⬇️
apm-integrations-next-13.2.0 29.45% <ø> (-0.09%) ⬇️
apm-integrations-next-13.5.11 29.59% <ø> (-0.13%) ⬇️
apm-integrations-next-14.0.0 29.52% <ø> (-0.09%) ⬇️
apm-integrations-next-14.2.35 29.56% <ø> (-0.05%) ⬇️
apm-integrations-next-14.2.6 29.52% <ø> (-0.13%) ⬇️
apm-integrations-next-14.2.7 29.52% <ø> (-0.13%) ⬇️
apm-integrations-next-15.0.0 29.52% <ø> (-0.13%) ⬇️
apm-integrations-next-15.4.0 29.59% <ø> (-0.09%) ⬇️
apm-integrations-oracledb 33.65% <0.00%> (-0.09%) ⬇️
apm-integrations-prisma-18-gte.6.16.0.and.lt.7.0.0 35.65% <0.00%> (-0.09%) ⬇️
apm-integrations-prisma-latest-all ?
apm-integrations-restify 35.41% <ø> (-0.10%) ⬇️
apm-integrations-sharedb 32.64% <ø> (-0.10%) ⬇️
apm-integrations-tedious 33.47% <0.00%> (-0.09%) ⬇️
appsec-express 51.56% <ø> (-0.09%) ⬇️
appsec-fastify 48.21% <0.00%> (?)
appsec-graphql 48.22% <ø> (-0.08%) ⬇️
appsec-integration-active 36.98% <ø> (-0.11%) ⬇️
appsec-integration-latest 36.95% <ø> (-0.11%) ⬇️
appsec-integration-maintenance 36.98% <ø> (-0.11%) ⬇️
appsec-integration-oldest 36.98% <ø> (-0.11%) ⬇️
appsec-kafka 40.83% <ø> (-0.14%) ⬇️
appsec-ldapjs 40.01% <ø> (-0.09%) ⬇️
appsec-lodash 40.11% <ø> (-0.09%) ⬇️
appsec-macos 57.67% <ø> (-0.09%) ⬇️
appsec-mongodb-core ?
appsec-mongoose 45.58% <0.00%> (-0.07%) ⬇️
appsec-mysql 47.57% <0.00%> (-0.02%) ⬇️
appsec-next-latest-11.1.4 27.96% <ø> (-0.07%) ⬇️
appsec-next-latest-12.3.7 29.50% <ø> (-0.09%) ⬇️
appsec-next-latest-13.0.0 29.50% <ø> (-0.09%) ⬇️
appsec-next-latest-13.2.0 29.53% <ø> (-0.09%) ⬇️
appsec-next-latest-13.5.11 ?
appsec-next-latest-14.0.0 ?
appsec-next-latest-14.2.35 ?
appsec-next-latest-14.2.6 29.55% <ø> (-0.09%) ⬇️
appsec-next-latest-14.2.7 29.55% <ø> (-0.09%) ⬇️
appsec-next-latest-15.0.0 29.55% <ø> (-0.09%) ⬇️
appsec-next-latest-latest 29.56% <ø> (-0.09%) ⬇️
appsec-next-oldest-11.1.4 27.94% <ø> (-0.09%) ⬇️
appsec-next-oldest-12.3.7 29.50% <ø> (-0.09%) ⬇️
appsec-next-oldest-13.0.0 29.50% <ø> (-0.09%) ⬇️
appsec-next-oldest-13.2.0 29.78% <ø> (-0.09%) ⬇️
appsec-next-oldest-13.5.11 29.88% <ø> (-0.09%) ⬇️
appsec-next-oldest-14.0.0 29.81% <ø> (-0.09%) ⬇️
appsec-next-oldest-14.2.35 29.81% <ø> (-0.09%) ⬇️
appsec-next-oldest-14.2.6 29.81% <ø> (-0.09%) ⬇️
appsec-next-oldest-14.2.7 29.81% <ø> (-0.09%) ⬇️
appsec-next-oldest-15.0.0 29.81% <ø> (-0.09%) ⬇️
appsec-next-oldest-latest 27.80% <ø> (+0.02%) ⬆️
appsec-node-serialize 39.33% <ø> (-0.09%) ⬇️
appsec-passport 43.06% <ø> (-0.09%) ⬇️
appsec-postgres 47.18% <0.00%> (-0.08%) ⬇️
appsec-sourcing 38.73% <ø> (-0.09%) ⬇️
appsec-stripe 40.79% <ø> (-0.09%) ⬇️
appsec-template 39.57% <ø> (-0.09%) ⬇️
appsec-ubuntu 57.74% <ø> (-0.09%) ⬇️
appsec-windows 57.57% <ø> (-0.03%) ⬇️
debugger-ubuntu-active 43.91% <ø> (-0.02%) ⬇️
debugger-ubuntu-latest ?
debugger-ubuntu-maintenance 43.93% <ø> (-0.02%) ⬇️
debugger-ubuntu-oldest 44.37% <ø> (-0.03%) ⬇️
instrumentations-instrumentation-ai 36.33% <ø> (+0.09%) ⬆️
instrumentations-instrumentation-aws-sdk 35.30% <ø> (+0.10%) ⬆️
instrumentations-instrumentation-bluebird 27.81% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-body-parser ?
instrumentations-instrumentation-child_process 33.50% <ø> (?)
instrumentations-instrumentation-cookie-parser 29.81% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-couchbase-18 36.52% <ø> (+0.11%) ⬆️
instrumentations-instrumentation-couchbase-eol 36.52% <ø> (+0.11%) ⬆️
instrumentations-instrumentation-crypto 27.89% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-express 30.00% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-express-mongo-sanitize 29.92% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-express-multi-version 21.17% <ø> (ø)
instrumentations-instrumentation-express-session 35.71% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-fetch 33.27% <ø> (ø)
instrumentations-instrumentation-fs 27.53% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-generic-pool 27.42% <ø> (-0.02%) ⬇️
instrumentations-instrumentation-hono 28.95% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-http 35.24% <ø> (-0.10%) ⬇️
instrumentations-instrumentation-http-client-options 37.74% <ø> (-0.10%) ⬇️
instrumentations-instrumentation-knex ?
instrumentations-instrumentation-light-my-request 35.54% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-mongoose 29.15% <0.00%> (-0.09%) ⬇️
instrumentations-instrumentation-multer 35.66% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-mysql2 33.57% <0.00%> (-0.10%) ⬇️
instrumentations-instrumentation-otel-sdk-trace 25.33% <ø> (-0.02%) ⬇️
instrumentations-instrumentation-passport 39.46% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-passport-http 39.16% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-passport-local 39.62% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-pg 33.15% <0.00%> (-0.10%) ⬇️
instrumentations-instrumentation-promise 27.76% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-promise-js 27.76% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-q 27.79% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-stripe 28.30% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-url 27.72% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-when 27.77% <ø> (-0.09%) ⬇️
instrumentations-instrumentation-zlib 27.77% <ø> (-0.09%) ⬇️
instrumentations-integration-esbuild-0.16.12-active 19.21% <ø> (-0.03%) ⬇️
instrumentations-integration-esbuild-0.16.12-latest 19.20% <ø> (-0.03%) ⬇️
instrumentations-integration-esbuild-0.16.12-maintenance 19.21% <ø> (-0.03%) ⬇️
instrumentations-integration-esbuild-0.16.12-oldest 19.20% <ø> (-0.03%) ⬇️
instrumentations-integration-esbuild-latest-active 19.21% <ø> (-0.03%) ⬇️
instrumentations-integration-esbuild-latest-latest ?
instrumentations-integration-esbuild-latest-maintenance 19.21% <ø> (-0.03%) ⬇️
instrumentations-integration-esbuild-latest-oldest ?
llmobs-ai ?
llmobs-anthropic 36.68% <ø> (-0.09%) ⬇️
llmobs-bedrock 35.41% <ø> (-0.09%) ⬇️
llmobs-google-genai 35.75% <ø> (-0.09%) ⬇️
llmobs-langchain 36.74% <ø> (-0.08%) ⬇️
llmobs-openai-latest ?
llmobs-openai-oldest 39.69% <ø> (-0.09%) ⬇️
llmobs-sdk-active 43.75% <ø> (-0.11%) ⬇️
llmobs-sdk-latest 43.69% <ø> (-0.11%) ⬇️
llmobs-sdk-maintenance 43.74% <ø> (-0.11%) ⬇️
llmobs-sdk-oldest ?
llmobs-vertex-ai 35.76% <ø> (-0.09%) ⬇️
master-coverage 91.42% <100.00%> (?)
openfeature-macos 38.07% <ø> (-0.03%) ⬇️
openfeature-ubuntu 38.15% <ø> (-0.02%) ⬇️
openfeature-unit-active 47.81% <ø> (ø)
openfeature-unit-latest 47.68% <ø> (ø)
openfeature-unit-maintenance 47.81% <ø> (ø)
openfeature-unit-oldest 47.81% <ø> (ø)
openfeature-windows 37.94% <ø> (-0.02%) ⬇️
platform-core 32.21% <ø> (ø)
platform-esbuild 36.77% <ø> (ø)
platform-instrumentations-misc 30.22% <ø> (+0.04%) ⬆️
platform-integration-active 47.22% <ø> (+0.02%) ⬆️
platform-integration-latest 47.19% <ø> (-0.03%) ⬇️
platform-integration-maintenance 47.24% <ø> (+0.02%) ⬆️
platform-integration-oldest 47.40% <ø> (-0.03%) ⬇️
platform-shimmer 39.58% <ø> (ø)
platform-unit-guardrails 32.99% <ø> (ø)
platform-webpack 18.71% <ø> (-0.03%) ⬇️
plugins-axios 35.53% <ø> (-0.02%) ⬇️
plugins-azure-cosmos 35.94% <0.00%> (-0.10%) ⬇️
plugins-azure-event-hubs 34.86% <ø> (-0.02%) ⬇️
plugins-azure-service-bus 35.35% <ø> (-0.02%) ⬇️
plugins-body-parser 36.70% <ø> (-0.02%) ⬇️
plugins-bullmq 39.17% <ø> (-0.10%) ⬇️
plugins-cassandra 33.68% <0.00%> (-0.09%) ⬇️
plugins-cookie 25.33% <ø> (+0.12%) ⬆️
plugins-cookie-parser 25.08% <ø> (+0.12%) ⬆️
plugins-crypto 24.94% <ø> (ø)
plugins-dd-trace-api ?
plugins-express-mongo-sanitize 25.32% <ø> (+0.12%) ⬆️
plugins-express-session 25.00% <ø> (+0.12%) ⬆️
plugins-fastify 37.81% <ø> (-0.09%) ⬇️
plugins-fetch 34.17% <ø> (-0.09%) ⬇️
plugins-fs 33.85% <ø> (-0.10%) ⬇️
plugins-generic-pool 24.01% <ø> (+0.12%) ⬆️
plugins-google-cloud-pubsub ?
plugins-grpc 36.69% <ø> (-0.09%) ⬇️
plugins-handlebars 25.28% <ø> (+0.12%) ⬆️
plugins-hapi 35.69% <ø> (-0.10%) ⬇️
plugins-hono 35.97% <ø> (-0.09%) ⬇️
plugins-ioredis 34.26% <ø> (-0.10%) ⬇️
plugins-jest 28.09% <ø> (ø)
plugins-knex 25.00% <ø> (+0.11%) ⬆️
plugins-langgraph 33.10% <ø> (-0.10%) ⬇️
plugins-ldapjs 22.60% <ø> (+0.12%) ⬆️
plugins-light-my-request 24.72% <ø> (+0.12%) ⬆️
plugins-limitd-client 28.13% <ø> (-0.09%) ⬇️
plugins-lodash 24.21% <ø> (+0.12%) ⬆️
plugins-mariadb 35.16% <0.00%> (-0.10%) ⬇️
plugins-memcached 33.75% <ø> (-0.10%) ⬇️
plugins-microgateway-core 34.78% <ø> (-0.10%) ⬇️
plugins-modelcontextprotocol-sdk 32.42% <ø> (-0.10%) ⬇️
plugins-moleculer 36.71% <ø> (-0.10%) ⬇️
plugins-mongodb 35.16% <100.00%> (-0.19%) ⬇️
plugins-mongodb-core 34.83% <100.00%> (-0.10%) ⬇️
plugins-mongoose 34.59% <0.00%> (-0.09%) ⬇️
plugins-multer 25.04% <ø> (+0.12%) ⬆️
plugins-mysql 34.50% <100.00%> (-0.10%) ⬇️
plugins-mysql2 34.88% <100.00%> (-0.10%) ⬇️
plugins-node-serialize 25.37% <ø> (+0.12%) ⬆️
plugins-opensearch 33.62% <0.00%> (-0.09%) ⬇️
plugins-passport-http 24.95% <ø> (+0.12%) ⬆️
plugins-pino 30.06% <ø> (-0.10%) ⬇️
plugins-postgres 34.47% <100.00%> (-0.10%) ⬇️
plugins-process 24.94% <ø> (ø)
plugins-pug 25.33% <ø> (+0.12%) ⬆️
plugins-redis 34.25% <ø> (-0.10%) ⬇️
plugins-router 38.33% <ø> (-0.10%) ⬇️
plugins-sequelize 23.89% <ø> (+0.12%) ⬆️
plugins-test-and-upstream-amqp10 33.73% <ø> (-0.10%) ⬇️
plugins-test-and-upstream-amqplib 39.19% <ø> (-0.10%) ⬇️
plugins-test-and-upstream-apollo 34.94% <ø> (-0.09%) ⬇️
plugins-test-and-upstream-avsc 33.95% <ø> (-0.10%) ⬇️
plugins-test-and-upstream-bunyan 29.38% <ø> (-0.10%) ⬇️
plugins-test-and-upstream-connect 36.36% <ø> (-0.10%) ⬇️
plugins-test-and-upstream-graphql 35.98% <ø> (-0.10%) ⬇️
plugins-test-and-upstream-koa 35.91% <ø> (-0.10%) ⬇️
plugins-test-and-upstream-protobufjs 34.16% <ø> (-0.10%) ⬇️
plugins-test-and-upstream-rhea 39.29% <ø> (-0.10%) ⬇️
plugins-undici ?
plugins-url 24.94% <ø> (ø)
plugins-valkey 33.73% <ø> (-0.25%) ⬇️
plugins-vm 24.94% <ø> (ø)
plugins-winston 29.93% <ø> (-0.09%) ⬇️
plugins-ws 37.20% <ø> (-0.10%) ⬇️
profiling-macos 43.45% <ø> (-0.04%) ⬇️
profiling-ubuntu 43.78% <ø> (-0.09%) ⬇️
profiling-windows 41.16% <ø> (-0.09%) ⬇️
serverless-aws-sdk-latest-aws-sdk 33.52% <ø> (-0.09%) ⬇️
serverless-aws-sdk-latest-bedrockruntime 31.79% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-client 20.31% <ø> (+0.10%) ⬆️
serverless-aws-sdk-latest-dynamodb 34.28% <ø> (-0.09%) ⬇️
serverless-aws-sdk-latest-eventbridge 27.42% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-kinesis 37.51% <ø> (-0.09%) ⬇️
serverless-aws-sdk-latest-lambda 34.91% <ø> (-0.09%) ⬇️
serverless-aws-sdk-latest-s3 32.73% <ø> (-0.08%) ⬇️
serverless-aws-sdk-latest-serverless-peer-service 39.76% <ø> (-0.10%) ⬇️
serverless-aws-sdk-latest-sns 38.66% <ø> (-0.09%) ⬇️
serverless-aws-sdk-latest-sqs 38.21% <ø> (-0.09%) ⬇️
serverless-aws-sdk-latest-stepfunctions 33.47% <ø> (-0.09%) ⬇️
serverless-aws-sdk-latest-util 47.12% <ø> (ø)
serverless-aws-sdk-oldest-aws-sdk 33.61% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-bedrockruntime 32.06% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-client 20.71% <ø> (+0.10%) ⬆️
serverless-aws-sdk-oldest-dynamodb 34.34% <ø> (-0.14%) ⬇️
serverless-aws-sdk-oldest-eventbridge 27.45% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-kinesis 37.65% <ø> (-0.09%) ⬇️
serverless-aws-sdk-oldest-lambda 34.97% <ø> (-0.09%) ⬇️
serverless-aws-sdk-oldest-s3 32.77% <ø> (-0.08%) ⬇️
serverless-aws-sdk-oldest-serverless-peer-service 39.80% <ø> (-0.10%) ⬇️
serverless-aws-sdk-oldest-sns 38.72% <ø> (-0.09%) ⬇️
serverless-aws-sdk-oldest-sqs 38.05% <ø> (-0.09%) ⬇️
serverless-aws-sdk-oldest-stepfunctions 33.53% <ø> (-0.09%) ⬇️
serverless-aws-sdk-oldest-util 47.38% <ø> (ø)
serverless-azure-durable-functions 36.87% <ø> (-0.02%) ⬇️
serverless-azure-functions-eventhubs 38.50% <ø> (-0.02%) ⬇️
serverless-azure-functions-servicebus ?
serverless-lambda 34.81% <ø> (-0.12%) ⬇️
test-optimization-cucumber-latest-7.0.0 50.30% <ø> (-0.02%) ⬇️
test-optimization-cucumber-latest-latest 53.16% <ø> (-0.02%) ⬇️
test-optimization-cucumber-oldest-7.0.0 50.33% <ø> (+0.09%) ⬆️
test-optimization-cypress-latest-12.0.0-commonJS 45.41% <ø> (-3.31%) ⬇️
test-optimization-cypress-latest-12.0.0-esm 48.80% <ø> (+0.05%) ⬆️
test-optimization-cypress-latest-14.5.4-commonJS 48.09% <ø> (-0.47%) ⬇️
test-optimization-cypress-latest-14.5.4-esm 48.64% <ø> (+0.05%) ⬆️
test-optimization-cypress-latest-latest-commonJS 49.10% <ø> (-0.07%) ⬇️
test-optimization-cypress-latest-latest-esm 49.13% <ø> (+0.05%) ⬆️
test-optimization-cypress-oldest-12.0.0-commonJS 48.80% <ø> (+0.05%) ⬆️
test-optimization-cypress-oldest-12.0.0-esm 48.83% <ø> (+0.05%) ⬆️
test-optimization-cypress-oldest-14.5.4-commonJS 48.65% <ø> (+0.05%) ⬆️
test-optimization-cypress-oldest-14.5.4-esm 48.68% <ø> (+0.05%) ⬆️
test-optimization-jest-latest-latest 54.74% <ø> (+0.05%) ⬆️
test-optimization-jest-latest-oldest 53.58% <ø> (+0.02%) ⬆️
test-optimization-jest-oldest-latest 54.75% <ø> (+0.05%) ⬆️
test-optimization-jest-oldest-oldest 51.35% <ø> (-2.15%) ⬇️
test-optimization-mocha-latest-latest 53.59% <ø> (+0.06%) ⬆️
test-optimization-mocha-latest-oldest 51.25% <ø> (+0.08%) ⬆️
test-optimization-mocha-oldest-latest 53.65% <ø> (+0.03%) ⬆️
test-optimization-mocha-oldest-oldest 51.20% <ø> (+0.06%) ⬆️
test-optimization-playwright-latest-latest-playwright-active-test-span ?
test-optimization-playwright-latest-latest-playwright-atr 43.37% <ø> (?)
test-optimization-playwright-latest-latest-playwright-efd 43.79% <ø> (+0.34%) ⬆️
test-optimization-playwright-latest-latest-playwright-final-status 43.86% <ø> (+0.36%) ⬆️
test-optimization-playwright-latest-latest-playwright-impacted-tests 43.31% <ø> (+0.25%) ⬆️
test-optimization-playwright-latest-latest-playwright-reporting 43.40% <ø> (+0.48%) ⬆️
test-optimization-playwright-latest-latest-playwright-test-management 45.02% <ø> (+0.34%) ⬆️
test-optimization-playwright-latest-oldest-playwright-active-test-span 44.51% <ø> (+0.38%) ⬆️
test-optimization-playwright-latest-oldest-playwright-atr 43.45% <ø> (+0.23%) ⬆️
test-optimization-playwright-latest-oldest-playwright-efd 43.71% <ø> (+0.21%) ⬆️
test-optimization-playwright-latest-oldest-playwright-final-status 43.76% <ø> (+0.23%) ⬆️
test-optimization-playwright-latest-oldest-playwright-impacted-tests 43.22% <ø> (+0.12%) ⬆️
test-optimization-playwright-latest-oldest-playwright-reporting 43.20% <ø> (+0.20%) ⬆️
test-optimization-playwright-latest-oldest-playwright-test-management 44.97% <ø> (+0.21%) ⬆️
test-optimization-playwright-oldest-latest-playwright-active-test-span 44.73% <ø> (?)
test-optimization-playwright-oldest-latest-playwright-atr 43.40% <ø> (+0.35%) ⬆️
test-optimization-playwright-oldest-latest-playwright-efd 43.80% <ø> (+0.33%) ⬆️
test-optimization-playwright-oldest-latest-playwright-final-status 43.86% <ø> (+0.35%) ⬆️
test-optimization-playwright-oldest-latest-playwright-impacted-tests 43.34% <ø> (+0.24%) ⬆️
test-optimization-playwright-oldest-latest-playwright-reporting 43.41% <ø> (+0.47%) ⬆️
test-optimization-playwright-oldest-latest-playwright-test-management 45.03% <ø> (+0.34%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-active-test-span 44.55% <ø> (+0.38%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-atr 43.49% <ø> (+0.23%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-efd 43.73% <ø> (+0.21%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-final-status 43.79% <ø> (+0.23%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-impacted-tests 43.26% <ø> (+0.12%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-reporting 43.21% <ø> (+0.20%) ⬆️
test-optimization-playwright-oldest-oldest-playwright-test-management 44.98% <ø> (+0.21%) ⬆️
test-optimization-selenium-latest 45.52% <ø> (+0.05%) ⬆️
test-optimization-selenium-oldest 45.08% <ø> (+0.05%) ⬆️
test-optimization-testopt-active 47.08% <ø> (+0.27%) ⬆️
test-optimization-testopt-latest 47.04% <ø> (+0.27%) ⬆️
test-optimization-testopt-maintenance 47.08% <ø> (+0.27%) ⬆️
test-optimization-testopt-oldest 47.96% <ø> (+0.29%) ⬆️
test-optimization-vitest-latest 51.16% <ø> (+0.08%) ⬆️
test-optimization-vitest-oldest 48.26% <ø> (+0.30%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

raphaelgavache
raphaelgavache previously approved these changes May 21, 2026
@pr-commenter
Copy link
Copy Markdown

pr-commenter Bot commented May 22, 2026

Benchmarks

Benchmark execution time: 2026-05-26 10:30:57

Comparing candidate commit 4dfb204 in PR branch andrea.marziali/dbm-dynamic-service with baseline commit e0b94ec in branch master.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 1491 metrics, 102 unstable metrics.

Comment thread index.d.ts
* Programmatic configuration takes precedence over the environment variables listed above.
*/
dbmPropagationMode?: 'disabled' | 'service' | 'full'
dbmPropagationMode?: 'disabled' | 'service' | 'full' | 'dynamic_service'
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Would you mind adding a description for the functionality here in the documentation? It would otherwise be difficult to understand how to use what mode as user.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

added more details in 53b18e0

Copy link
Copy Markdown
Member

@BridgeAR BridgeAR left a comment

Choose a reason for hiding this comment

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

Adding the shorthand is probably fine, while I personally mostly rather have a single option that does something.

Is it intended to remove the DD_DBM_INJECT_SQL_BASEHASH env at some point?

That aside: if we do this, please add an allowed entry to DD_DBM_PROPAGATION_MODE to validate the input for the users appropriately.

@amarziali amarziali requested a review from a team as a code owner May 26, 2026 10:15
@amarziali amarziali requested review from BridgeAR and removed request for a team May 26, 2026 10:15
Comment thread packages/dd-trace/src/config/supported-configurations.json Outdated
Co-authored-by: Ruben Bridgewater <ruben@bridgewater.de>
BridgeAR
BridgeAR previously approved these changes May 26, 2026
Copy link
Copy Markdown
Member

@BridgeAR BridgeAR left a comment

Choose a reason for hiding this comment

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

LGTM

@amarziali
Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351
Copy link
Copy Markdown

gh-worker-devflow-routing-ef8351 Bot commented May 26, 2026

View all feedbacks in Devflow UI.

2026-05-26 12:56:20 UTC ℹ️ Start processing command /merge


2026-05-26 12:56:26 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 0s (p90).


2026-05-26 13:03:34 UTC ℹ️ MergeQueue: Retrying because an high priority merge request needed to be processed first. No action is needed from your side.


2026-05-26 13:03:48 UTC ⚠️ MergeQueue: This merge request build was cancelled

andrea.marziali@datadoghq.com cancelled this merge request build

@amarziali
Copy link
Copy Markdown
Contributor Author

/merge -c

@gh-worker-devflow-routing-ef8351
Copy link
Copy Markdown

gh-worker-devflow-routing-ef8351 Bot commented May 26, 2026

View all feedbacks in Devflow UI.

2026-05-26 13:03:15 UTC ℹ️ Start processing command /merge -c

@amarziali
Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351
Copy link
Copy Markdown

gh-worker-devflow-routing-ef8351 Bot commented May 26, 2026

View all feedbacks in Devflow UI.

2026-05-26 14:36:52 UTC ℹ️ Start processing command /merge


2026-05-26 14:36:57 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 0s (p90).


2026-05-26 14:57:27 UTCMergeQueue: The checks failed on this merge request

Tests failed on this commit b156466:

What to do next?

  • Investigate the failures and when ready, re-add your pull request to the queue!
  • If your PR checks are green, try to rebase/merge. It might be because the CI run is a bit old.
  • Any question, go check the FAQ.

@amarziali
Copy link
Copy Markdown
Contributor Author

/merge

@gh-worker-devflow-routing-ef8351
Copy link
Copy Markdown

gh-worker-devflow-routing-ef8351 Bot commented May 26, 2026

View all feedbacks in Devflow UI.

2026-05-26 15:09:08 UTC ℹ️ Start processing command /merge


2026-05-26 15:09:13 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in master is approximately 0s (p90).


2026-05-26 15:25:35 UTCMergeQueue: The checks failed on this merge request

Tests failed on this commit 05ff975:

What to do next?

  • Investigate the failures and when ready, re-add your pull request to the queue!
  • If your PR checks are green, try to rebase/merge. It might be because the CI run is a bit old.
  • Any question, go check the FAQ.

@amarziali amarziali merged commit e6e0689 into master May 27, 2026
785 of 786 checks passed
@amarziali amarziali deleted the andrea.marziali/dbm-dynamic-service branch May 27, 2026 06:30
ZStriker19 pushed a commit that referenced this pull request May 27, 2026
* feat(dbm): add dynamic_service propagation mode

* Add doc

* add allowed section

* Update packages/dd-trace/src/config/supported-configurations.json

Co-authored-by: Ruben Bridgewater <ruben@bridgewater.de>

* rerun generate config

---------

Co-authored-by: Ruben Bridgewater <ruben@bridgewater.de>
@dd-octo-sts dd-octo-sts Bot mentioned this pull request May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants