Skip to content

v5.85.0 proposal - #7399

Merged
BridgeAR merged 53 commits into
v5.xfrom
v5.85.0-proposal
Feb 5, 2026
Merged

v5.85.0 proposal#7399
BridgeAR merged 53 commits into
v5.xfrom
v5.85.0-proposal

Conversation

@dd-octo-sts

@dd-octo-sts dd-octo-sts Bot commented Jan 31, 2026

Copy link
Copy Markdown
Contributor
  • [1630815773] - (SEMVER-PATCH) refactor(prisma): Prisma instrumentation rewrite (Bowen Brooks) #7447
  • [de724d0a73] - (SEMVER-PATCH) chore: update pr template to not show warning in pr (Roch Devost) #7428
  • [80571e0927] - (SEMVER-PATCH) fix(ts): added filter into ts definition file (Pablo Erhard) #7368
  • [93f7c4b262] - (SEMVER-PATCH) Upgrade pprof-nodejs to 5.13.3 (Attila Szegedi) #7449
  • [d86c16b52f] - (SEMVER-PATCH) chore(tests): added varySandbox for bullmq ESM tests (Pablo Erhard) #7448
  • [c195ee802f] - (SEMVER-PATCH) fix: reduce memory allocation and use transparent instrumentation (Ruben Bridgewater) #7422
  • [d5e899b9d1] - (SEMVER-PATCH) [test optimization] Fix quarantined tests being skipped rather than ignored in cypress (Juan Antonio Fernández de Alba) #7442
  • [61ead8491c] - (SEMVER-PATCH) fix: add container id to dogstatsd metrics (Roch Devost) #7435
  • [c5e98c0a86] - (SEMVER-PATCH) test: fix assertion transform regression (Juan Antonio Fernández de Alba) #7443
  • [fe7175a117] - (SEMVER-PATCH) refactor(esbuild): extract logging into module (Thomas Watson) #7439
  • [3c1cd8aefd] - (SEMVER-PATCH) chore(types): fix TypeScript errors in the esbuild package (Thomas Watson) #7438
  • [33297e0eb0] - (SEMVER-PATCH) chore(lint): run linting on the root of package folders (Thomas Watson) #7437
  • [4afd74ae7a] - (SEMVER-PATCH) ci: sign commits created by bots (Ruben Bridgewater) #7397
  • [313fe22142] - (SEMVER-PATCH) fix: fix minor azure-function and mariadb bugs (simon-id) #7007
  • [da07fea5f8] - (SEMVER-PATCH) chore(tests): added ESM test for light-my-request (Pablo Erhard) #7433
  • [09945cd21f] - (SEMVER-PATCH) chore(debugger): add name to worker thread (Thomas Watson) #7432
  • [ff416e6ff1] - (SEMVER-PATCH) chore(deps-dev): bump p-limit from 3.1.0 to 7.2.0 (dependabot[bot]) #7425
  • [5e2f01325c] - (SEMVER-PATCH) chore(deps): bump the gh-actions-packages group across 4 directories with 3 updates (dependabot[bot]) #7426
  • [3acebd003e] - (SEMVER-PATCH) chore(deps-dev): bump the dev-minor-and-patch-dependencies group across 1 directory with 4 updates (dependabot[bot]) #7424
  • [a679e827c0] - (SEMVER-PATCH) chore: update iitm and fix initialize (Ruben Bridgewater) #7387
  • [76e93d7934] - (SEMVER-PATCH) fix(ws): handle removing untracked event listeners (Crystal Luc-Magloire) #7419
  • [d308b93ad0] - (SEMVER-PATCH) chore: activate unicorn/no-array-for-each eslint rule (Ruben Bridgewater) #7403
  • [9ea0f34154] - (SEMVER-PATCH) fix: update vendoring to keep class names and function names (Roch Devost) #7416
  • [41c8ca6162] - (SEMVER-PATCH) refactor(debugger): add JSDoc types for CDP getProperties (Thomas Watson) #7418
  • [e19ce95452] - (SEMVER-PATCH) test: added sqlite3 into knex externals and add process.exit patch (Pablo Erhard) #7413
  • [68206c0dbb] - (SEMVER-PATCH) chore: fix flakiness report, lint scripts, and fix appsec test (Ruben Bridgewater) #7396
  • [2e337bd1be] - (SEMVER-PATCH) refactor(logging): use printf-style formatting (Thomas Watson) #7409
  • [627ba54479] - (SEMVER-PATCH) move bun cache to under node_modules (Roch Devost) #7407
  • [3eb1d7a879] - (SEMVER-PATCH) chore(ci) update one-pipeline (campaigner-prod[bot]) #7411
  • [60565f1c6e] - (SEMVER-PATCH) Fix: Update Opentelemety Active Functionality (Bowen Brooks) #7319
  • [d399d0f641] - (SEMVER-MINOR) feat(test-optimization): create final_status tag on test event for jest (Calvin Bayer) #7356
  • [0b299bca72] - (SEMVER-MINOR) feat(debugger): add support for v2 input endpoint detection (Thomas Watson) #7308
  • [0ac57880dc] - (SEMVER-PATCH) refactor(config): modernize Config class structure and extract stateless methods (Thomas Watson) #7408
  • [c80bbc29c0] - (SEMVER-PATCH) chore(deps): bump the test-versions group across 1 directory with 2 updates (dependabot[bot]) #7405
  • [657b4f922d] - (SEMVER-PATCH) ci: fix coverage reports and prevent detecting fixture files (Ruben Bridgewater) #7391
  • [d19c433535] - (SEMVER-PATCH) fix(debugger): don't expect probe config to contain capture object (Thomas Watson) #6807
  • [75b67c268a] - (SEMVER-PATCH) perf: cache serverless environment detection at startup (Thomas Watson) #7404
  • [4a8a494c6e] - (SEMVER-PATCH) chore: activate comma-dangle eslint rule (Ruben Bridgewater) #7402
  • [a894629556] - (SEMVER-PATCH) ci: fix added commits breaking CI validation (Ruben Bridgewater) #7393
  • [1f1a5024a8] - (SEMVER-MINOR) Emit the number of loaded source maps in the profile metadata (Attila Szegedi) #7382
  • [f8c43343e7] - (SEMVER-PATCH) fix(debugger): apply source maps to probe stack traces (Thomas Watson) #7336
  • [62d6580053] - (SEMVER-PATCH) perf(tests): cache dd-trace tarball for sandbox creation (Thomas Watson) #7351
  • [38b60f7e9f] - (SEMVER-PATCH) test(debugger): fix race condition in test helpers (Thomas Watson) #7394
  • [99aba5a361] - (SEMVER-MINOR) [test optimization][SDTEST-3004] Upload code coverage reports automatically (Juan Antonio Fernández de Alba) #7335
  • [b42c5f3da3] - (SEMVER-PATCH) fix: maximum attempts on running uppon bun-js (Everton Segur) #7284
  • [3523cd6828] - (SEMVER-PATCH) ci: fix workflow name conflicts (Ruben Bridgewater) #7388
  • [c273d49ba1] - (SEMVER-PATCH) ci: debug flakiness report (Ruben Bridgewater) #7380
  • [905f387f4b] - (SEMVER-PATCH) ci: fix github rate limit (Ruben Bridgewater) #7389
  • [7d6c9f0e66] - (SEMVER-PATCH) chore(deps-dev): bump the dev-minor-and-patch-dependencies group across 1 directory with 3 updates (dependabot[bot]) #7392
  • [237283029b] - (SEMVER-PATCH) ci: fix yarn deduping working for any PR (Ruben Bridgewater) #7364
  • [d0c5b45957] - (SEMVER-PATCH) ci: commit vendored files with octo-sts (Ruben Bridgewater) #7381
  • [bdb76d3219] - (SEMVER-PATCH) chore(test): Fix iast overhead controller flaky test (Ugaitz Urien) #7384

Ugaitz Urien and others added 14 commits January 31, 2026 05:19
Otherwise the CI jobs would not trigger anymore. This happens if
commits use the former GITHUB_TOKEN.
This adds a new CI job to sign deduping commits and that commit is
added to any opened PR.

In addition, husky is added with a manual install to install a
pre-commit hook to run dedupe while committing locally.
…ss 1 directory with 3 updates (#7392)

Bumps the dev-minor-and-patch-dependencies group with 3 updates in the / directory: [@stylistic/eslint-plugin](https://github.com/eslint-stylistic/eslint-stylistic/tree/HEAD/packages/eslint-plugin), [eslint-plugin-jsdoc](https://github.com/gajus/eslint-plugin-jsdoc) and [globals](https://github.com/sindresorhus/globals).


Updates `@stylistic/eslint-plugin` from 5.7.0 to 5.7.1
- [Release notes](https://github.com/eslint-stylistic/eslint-stylistic/releases)
- [Changelog](https://github.com/eslint-stylistic/eslint-stylistic/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint-stylistic/eslint-stylistic/commits/v5.7.1/packages/eslint-plugin)

Updates `eslint-plugin-jsdoc` from 62.0.0 to 62.4.1
- [Release notes](https://github.com/gajus/eslint-plugin-jsdoc/releases)
- [Commits](gajus/eslint-plugin-jsdoc@v62.0.0...v62.4.1)

Updates `globals` from 17.0.0 to 17.1.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](sindresorhus/globals@v17.0.0...v17.1.0)

---
updated-dependencies:
- dependency-name: "@stylistic/eslint-plugin"
  dependency-version: 5.7.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-minor-and-patch-dependencies
- dependency-name: eslint-plugin-jsdoc
  dependency-version: 62.4.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-minor-and-patch-dependencies
- dependency-name: globals
  dependency-version: 17.1.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-minor-and-patch-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
It is unclear why this is failing.
This could cause the all green check to believe everything passed
while some checks did not pass due to former name conflicts.

To verify this is not causing issues in the future, a CI check is
added that tests against duplicate names.
Bun does not emit the same events as Node.js does. This
fixes it by adding additional listeners that might indicate
the end as well as only counting down once, no matter how
many listeners indicate an end.

---------

Co-authored-by: Ruben Bridgewater <ruben@bridgewater.de>
Prevent event listeners in setupAssertionListeners from firing
multiple times and overwriting trace IDs. The 'message' listener
now removes itself after capturing the first valid span, and the
'debugger-input' listener uses .once() instead of .on().

This fixes flaky test failures where subsequent HTTP requests would
update the traceId/spanId variables, causing assertion mismatches.
Parallel integration tests were bottlenecked by multiple processes
simultaneously packing dd-trace.tgz during sandbox creation. This
caused severe I/O contention.

Cache the tarball at the sandboxRoot level so it's only created
once per test run, then reused by all parallel workers.

Debugger integration tests performance improvement example:
- Sequential: 5:06
- Parallel (--jobs 2) before: 6:47 (slower due to contention)
- Parallel (--jobs 2) after: 3:02 (40% faster than sequential)
- System CPU overhead reduced from 424s to 164s.
When a probe is hit, stack traces now correctly show original source
file locations (e.g., TypeScript files) instead of transpiled code,
matching the behavior of breakpoint locations.

Added async source map transformation to getStackFromCallFrames using
the existing SourceMapConsumer.originalPositionFor method. Stack
frames gracefully fall back to generated positions if transformation
fails.
The added commit does not match our permission claim, so we just
skip that part in case it is not pushed by dependabot anymore.
@github-actions

github-actions Bot commented Jan 31, 2026

Copy link
Copy Markdown
Contributor

Overall package size

Self size: 4.58 MB
Deduped: 5.42 MB
No deduping: 5.42 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 2.0.6 | 81.92 kB | 813.08 kB | | dc-polyfill | 0.1.10 | 26.73 kB | 26.73 kB |

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

@codecov

codecov Bot commented Jan 31, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 75.00000% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 80.26%. Comparing base (6b35e7d) to head (188cf16).
⚠️ Report is 557 commits behind head on v5.x.

Files with missing lines Patch % Lines
packages/datadog-instrumentations/src/couchbase.js 60.00% 2 Missing ⚠️
packages/datadog-instrumentations/src/ai.js 0.00% 1 Missing ⚠️
packages/datadog-instrumentations/src/dns.js 0.00% 1 Missing ⚠️
...ages/datadog-instrumentations/src/elasticsearch.js 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             v5.x    #7399      +/-   ##
==========================================
- Coverage   83.19%   80.26%   -2.94%     
==========================================
  Files         476      731     +255     
  Lines       20153    31093   +10940     
==========================================
+ Hits        16766    24956    +8190     
- Misses       3387     6137    +2750     
Flag Coverage Δ
aiguard-macos 39.15% <55.55%> (?)
aiguard-ubuntu 39.19% <55.55%> (?)
aiguard-windows 39.04% <55.55%> (?)
apm-capabilities-tracing-macos 48.86% <77.77%> (?)
apm-capabilities-tracing-ubuntu 48.86% <77.77%> (?)
apm-capabilities-tracing-windows 48.57% <77.77%> (?)
apm-integrations-child-process 38.64% <60.00%> (?)
apm-integrations-couchbase-18 37.54% <53.33%> (?)
apm-integrations-couchbase-eol 38.03% <50.00%> (?)
apm-integrations-oracledb 38.07% <44.44%> (?)
appsec-express 55.42% <70.00%> (?)
appsec-fastify 52.04% <72.72%> (?)
appsec-graphql 52.36% <75.00%> (?)
appsec-kafka 44.70% <60.00%> (?)
appsec-ldapjs 44.37% <55.55%> (?)
appsec-lodash 44.05% <60.00%> (?)
appsec-macos 58.52% <60.00%> (?)
appsec-mongodb-core 49.13% <66.66%> (?)
appsec-mongoose 49.93% <66.66%> (?)
appsec-mysql 51.31% <70.00%> (?)
appsec-node-serialize 43.56% <55.55%> (?)
appsec-passport 48.16% <66.66%> (?)
appsec-postgres 51.10% <70.00%> (?)
appsec-sourcing 42.90% <55.55%> (?)
appsec-template 43.73% <55.55%> (?)
appsec-ubuntu 58.55% <60.00%> (?)
appsec-windows 58.41% <60.00%> (?)
instrumentations-instrumentation-bluebird 32.32% <55.55%> (?)
instrumentations-instrumentation-body-parser 40.80% <66.66%> (?)
instrumentations-instrumentation-child_process 37.95% <60.00%> (?)
instrumentations-instrumentation-cookie-parser 34.58% <66.66%> (?)
instrumentations-instrumentation-express 34.92% <66.66%> (?)
instrumentations-instrumentation-express-mongo-sanitize 34.71% <66.66%> (?)
instrumentations-instrumentation-express-session 40.48% <66.66%> (?)
instrumentations-instrumentation-fs 31.92% <55.55%> (?)
instrumentations-instrumentation-generic-pool 29.78% <100.00%> (?)
instrumentations-instrumentation-http 39.69% <55.55%> (?)
instrumentations-instrumentation-knex 32.32% <55.55%> (?)
instrumentations-instrumentation-mongoose 33.68% <55.55%> (?)
instrumentations-instrumentation-multer 40.54% <66.66%> (?)
instrumentations-instrumentation-mysql2 38.34% <55.55%> (?)
instrumentations-instrumentation-passport 40.84% <66.66%> (?)
instrumentations-instrumentation-passport-http 40.81% <66.66%> (?)
instrumentations-instrumentation-passport-local 40.81% <66.66%> (?)
instrumentations-instrumentation-pg 37.86% <55.55%> (?)
instrumentations-instrumentation-promise 32.25% <55.55%> (?)
instrumentations-instrumentation-promise-js 32.26% <55.55%> (?)
instrumentations-instrumentation-q 32.30% <55.55%> (?)
instrumentations-instrumentation-url 32.22% <55.55%> (?)
instrumentations-instrumentation-when 32.27% <55.55%> (?)
llmobs-ai 41.48% <50.00%> (?)
llmobs-anthropic 40.69% <55.55%> (?)
llmobs-bedrock 39.57% <60.00%> (?)
llmobs-google-genai 40.18% <60.00%> (?)
llmobs-langchain 39.71% <60.00%> (?)
llmobs-openai 44.55% <55.55%> (?)
llmobs-vertex-ai 40.40% <60.00%> (?)
platform-core 28.09% <ø> (?)
platform-esbuild 31.49% <100.00%> (?)
platform-instrumentations-misc 39.62% <ø> (?)
platform-shimmer 34.83% <ø> (?)
platform-unit-guardrails 20.88% <ø> (?)
plugins-azure-event-hubs 22.64% <ø> (?)
plugins-azure-service-bus 22.08% <ø> (?)
plugins-bullmq 43.78% <60.00%> (?)
plugins-cassandra 38.11% <55.55%> (?)
plugins-cookie 23.69% <ø> (?)
plugins-cookie-parser 23.50% <ø> (?)
plugins-crypto 22.88% <ø> (?)
plugins-dd-trace-api 38.50% <55.55%> (?)
plugins-express-mongo-sanitize 23.67% <ø> (?)
plugins-express-session 23.46% <ø> (?)
plugins-fastify 42.63% <70.00%> (?)
plugins-fetch 38.67% <55.55%> (?)
plugins-fs 38.74% <55.55%> (?)
plugins-generic-pool 22.68% <ø> (?)
plugins-google-cloud-pubsub 45.79% <60.00%> (?)
plugins-grpc 41.36% <66.66%> (?)
plugins-handlebars 23.71% <ø> (?)
plugins-hapi 40.50% <55.55%> (?)
plugins-hono 40.70% <55.55%> (?)
plugins-ioredis 38.54% <55.55%> (?)
plugins-knex 23.51% <ø> (?)
plugins-ldapjs 21.28% <ø> (?)
plugins-light-my-request 23.15% <ø> (?)
plugins-limitd-client 32.62% <55.55%> (?)
plugins-lodash 22.74% <ø> (?)
plugins-mariadb 39.68% <55.55%> (?)
plugins-memcached 38.27% <55.55%> (?)
plugins-microgateway-core 39.51% <55.55%> (?)
plugins-moleculer 40.91% <60.00%> (?)
plugins-mongodb 39.62% <55.55%> (?)
plugins-mongodb-core 39.20% <55.55%> (?)
plugins-mongoose 39.25% <55.55%> (?)
plugins-multer 23.46% <ø> (?)
plugins-mysql 39.33% <55.55%> (?)
plugins-mysql2 39.38% <55.55%> (?)
plugins-node-serialize 23.73% <ø> (?)
plugins-opensearch 37.94% <50.00%> (?)
plugins-passport-http 23.56% <ø> (?)
plugins-postgres 35.77% <60.00%> (?)
plugins-process 22.88% <ø> (?)
plugins-pug 23.69% <ø> (?)
plugins-redis 39.02% <55.55%> (?)
plugins-router 43.31% <55.55%> (?)
plugins-sequelize 22.27% <ø> (?)
plugins-test-and-upstream-amqp10 38.61% <55.55%> (?)
plugins-test-and-upstream-amqplib 43.97% <55.55%> (?)
plugins-test-and-upstream-apollo 39.39% <60.00%> (?)
plugins-test-and-upstream-avsc 38.88% <55.55%> (?)
plugins-test-and-upstream-bunyan 33.93% <55.55%> (?)
plugins-test-and-upstream-connect 41.11% <55.55%> (?)
plugins-test-and-upstream-graphql 40.29% <66.66%> (?)
plugins-test-and-upstream-koa 40.70% <55.55%> (?)
plugins-test-and-upstream-protobufjs 39.12% <55.55%> (?)
plugins-test-and-upstream-rhea 44.22% <55.55%> (?)
plugins-undici 39.46% <55.55%> (?)
plugins-url 22.88% <ø> (?)
plugins-valkey 38.20% <55.55%> (?)
plugins-vm 22.88% <ø> (?)
plugins-winston 34.34% <55.55%> (?)
plugins-ws 42.27% <55.55%> (?)
profiling-macos 40.17% <55.55%> (?)
profiling-ubuntu 40.22% <55.55%> (?)
profiling-windows 41.57% <55.55%> (?)
serverless-azure-functions-client 22.38% <ø> (?)
serverless-azure-functions-eventhubs 22.38% <ø> (?)
serverless-azure-functions-servicebus 22.38% <ø> (?)

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.

@pr-commenter

pr-commenter Bot commented Jan 31, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-02-05 20:40:13

Comparing candidate commit 188cf16 in PR branch v5.85.0-proposal with baseline commit c3b37a6 in branch v5.x.

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

BridgeAR and others added 5 commits February 2, 2026 05:34
This is just running auto-fix on the code without further changes.
* refactor(proxy): extract serverless check to module

Remove Config._isInServerlessEnvironment() method and use
isInServerlessEnvironment() directly from serverless module
throughout the codebase. Simplifies lazyProxy signature by
removing config parameter that was only needed for this check.

* perf: cache serverless environment check at startup

Cache the result of isInServerlessEnvironment() at module load
time to avoid repeated checks during runtime. The serverless
environment status is static and doesn't change during execution,
making this a safe optimization for hot path code.
…6807)

Don't throw if the probe config doesn't contain a `capture` object when
`captureSnapshot: true`.

Currently, all probe config objects does contain a `capture` object, but
in case this ever changes in the future we'll be prepared.
Our test optimization product is using fixture files that are automatically picked up by CodeCov. Instead of having to declare our coverage files in all CI scripts, this just renames these fixture files, since they are just imported to read their content.

To prevent future issues, a small lint job is added that prevents names that might be detected as coverage.

The scripts are now way simpler due to the fix and a dynamic config is used for nyc.

While this officially 'decreases' our coverage, the opposite is actually the case.

We now track 9000 more lines and 200 files of which we cover 6000 lines. That is why our overall coverage drops while we actually properly handle the coverage now.

All our CodeCov uploaded files are now correct and none create errors.

This PR makes our coverage way more solid and is a first step towards also tracking the coverage of integration tests.

Coverage is now tracked in individual folders per Node.js version and plugin name. That way CodeCov is merging the coverage instead of nyc and we never replace existing coverage.
…pdates (#7405)

Bumps the test-versions group with 2 updates in the /integration-tests/esbuild directory: [axios](https://github.com/axios/axios) and [openai](https://github.com/openai/openai-node).


Updates `axios` from 1.13.3 to 1.13.4
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.13.3...v1.13.4)

Updates `openai` from 6.16.0 to 6.17.0
- [Release notes](https://github.com/openai/openai-node/releases)
- [Changelog](https://github.com/openai/openai-node/blob/master/CHANGELOG.md)
- [Commits](openai/openai-node@v6.16.0...v6.17.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.13.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: test-versions
- dependency-name: openai
  dependency-version: 6.17.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: test-versions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
watson and others added 7 commits February 3, 2026 05:27
…ess methods (#7408)

* Move stateless methods outside of Config class

* Group private/public methods in Config class

* Use proper private methods instead of underscore-prefix

* Remove whitespace

* Move functions below Config class + export above

* Capitalize constants + use Maps for map-like objects

* Use node: prefix for core modules

* Group imports correctly

* Move configInstance variable to the top
Add support for the v2 debugger input endpoint (/debugger/v2/input) with
intelligent fallback to the diagnostics endpoint (/api/v2/debugger) when
the agent does not support v2 or returns 404.

The implementation:
- Detects v2 endpoint support from agent /info response
- Automatically falls back to diagnostics endpoint if v2 is not advertised
- Handles runtime 404 errors from v2 endpoint by falling back to diagnostics
- Ensures remote config handler is registered synchronously to avoid race conditions

This change maintains backward compatibility with older agents while
enabling new v2 functionality when available.
…st (#7356)

* feat(test-optimization): create final_status tag on test event for jest

* fix: errors after resolving rebase conflicts

* test: add assertion to test name

* refactor: extract functions to get final state for better readability

* refactor: merge finalStatus function into restuls function for better readability

* fix: efd enabled but not active caused final_status tag to be set on every retry

* style: fix lint violations
* update active function

* comments

---------

Co-authored-by: Thomas Watson <thomas.watson@datadoghq.com>
Co-authored-by: campaigner-prod[bot] <87874424+campaigner-prod[bot]@users.noreply.github.com>
Replace string concatenation and callback-style logging with
printf-style formatting (%d, %s placeholders) for better performance and
consistency.

Merge multi-line concatenated strings into single strings with eslint
max-len disables where needed to avoid unnecessary string operations.
juan-fernandez and others added 10 commits February 5, 2026 20:32
While transforming assertions, some variables were accidentally
detected as name. Thus, the assertion lost their meaning.

This fixes these mistakes and makes sure the assertions work again.
* add container id to dogstatsd metrics

* add docker helper tests

* prevent real container id from being used in test
)

The instrumentation was noticable by a user so far and hooked into
the public event listener addition / removal. The event handlers
being added could not be detected as not being the ones by the user.

That is improved here by using an internal only instrumentation
that should also reduce overhead and needs less coordination
between the additions and removals.

The plugin is refactored to have less memory retantion. So far,
the whole span was attached and in case long living ws connections
existed with a high load, the spans could add up without ever being
freed. Now that tracking overhead is much lower and the span is
created when needed.
Makes the ESM tests for bullmq comply with the current norms and verifies we properly instrument all esm exports.
* added filter into ts definition file

* moved queryStringObfuscation and resourceRenamingEnabled

* Added e2e tests for filter config in http http2 and redis

* added tests for resourceRenamingEnabled in http

* added tests for queryStringObfuscation

* added test to verify multiple filters don't conflict
* initial changes

* Update tests

* removed unsused tests

* remove require

* remove unhelpful comments

* Update packages/datadog-plugin-prisma/test/index.spec.js

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

---------

Co-authored-by: Ruben Bridgewater <ruben@bridgewater.de>
@BridgeAR
BridgeAR marked this pull request as ready for review February 5, 2026 20:41
@BridgeAR
BridgeAR requested review from a team as code owners February 5, 2026 20:41
@BridgeAR
BridgeAR requested review from khanayan123 and removed request for a team February 5, 2026 20:41
@BridgeAR
BridgeAR enabled auto-merge (rebase) February 5, 2026 20:43
@BridgeAR
BridgeAR merged commit d079293 into v5.x Feb 5, 2026
792 of 793 checks passed
@BridgeAR
BridgeAR deleted the v5.85.0-proposal branch February 5, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.