-
Notifications
You must be signed in to change notification settings - Fork 341
v5.50.0 proposal #5633
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
v5.50.0 proposal #5633
Conversation
Currently the Bedrock tests will fail if we test against the newest version of `@aws-sdk/client-bedrock-runtime` (v3.798.0). To not block CI, we're pinning the tested version to not include that version and above for now. Once the fault have been identified and fixed, this commit should be reverted!
…5470) * Add raw span size metric * Add processed span event size metrics * Refactor * Add llmobs.annotate telemetry * Add telemetry for flush, exportSpan, submitEval * fmt * minor fixes * Revert tagging err propagation, just add in handleFailure * lint * Fix try/catch/finally, typo in user_flush * Revert "Fix try/catch/finally, typo in user_flush" This reverts commit ddd647f. * Revert "Revert "Fix try/catch/finally, typo in user_flush"" This reverts commit eb3cc92.
* Improve shimmer instrumentation performance The following improvements are implemented: 1. The prototype has to only be looked up in case the constructor is not identical. That is a rare case, so it'll be faster in average. 2. Copying the property descriptors is now done by skipping entries that may not be set. There is also no try / catch needed anymore. 4. The assertions are now faster by preventing duplicated lookups in the positive case. 5. Reusing the existing descriptor instead of creating a new object. * Minor benchmark improvements * Remove outdated benchmarks * Fix basic benchmarks These are now possible to run again and the benchmark script is also fixed. * Fast path for enumerable, writable, configurable properties * Improve shimmer.wrap performance and add TODO entry The wrap performance now has an additional fast path and the noAssert argument is removed due to always being false. Non configurable but writable properties are now instrumented properly.
* handle existing PRs and remove workflow inputs * only force new commits for manual runs * add schedule workflow trigger * fix previous minor pr overridden by patch * remove spinner in ci * add newline before notice * remove unnecessary newline in ci * add missing newline * use default node version * make job run faster by downloading less things * move branch-diff installation to composite action * improve notice * fix missing shell * fix missing token * fix missing description * handle no changes and always restore branch on success
Overall package sizeSelf size: 9.3 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------| | @datadog/libdatadog | 0.5.1 | 29.73 MB | 29.73 MB | | @datadog/native-appsec | 8.5.2 | 19.33 MB | 19.34 MB | | @datadog/native-iast-taint-tracking | 3.3.1 | 13.99 MB | 13.99 MB | | @datadog/pprof | 5.7.1 | 9.51 MB | 9.88 MB | | @opentelemetry/core | 1.30.1 | 908.66 kB | 7.16 MB | | protobufjs | 7.4.0 | 2.77 MB | 5.42 MB | | @datadog/wasm-js-rewriter | 4.0.1 | 2.85 MB | 3.58 MB | | @datadog/native-metrics | 3.1.1 | 1.02 MB | 1.43 MB | | @opentelemetry/api | 1.8.0 | 1.21 MB | 1.21 MB | | import-in-the-middle | 1.13.1 | 117.64 kB | 839.26 kB | | source-map | 0.7.4 | 226 kB | 226 kB | | opentracing | 0.14.7 | 194.81 kB | 194.81 kB | | lru-cache | 7.18.3 | 133.92 kB | 133.92 kB | | pprof-format | 2.1.0 | 111.69 kB | 111.69 kB | | @datadog/sketches-js | 2.1.1 | 109.9 kB | 109.9 kB | | lodash.sortby | 4.7.0 | 75.76 kB | 75.76 kB | | ignore | 5.3.2 | 53.63 kB | 53.63 kB | | istanbul-lib-coverage | 3.2.0 | 29.34 kB | 29.34 kB | | rfdc | 1.4.1 | 27.15 kB | 27.15 kB | | @isaacs/ttlcache | 1.4.1 | 25.2 kB | 25.2 kB | | dc-polyfill | 0.1.8 | 25.08 kB | 25.08 kB | | tlhunter-sorted-set | 0.1.0 | 24.94 kB | 24.94 kB | | shell-quote | 1.8.2 | 23.54 kB | 23.54 kB | | limiter | 1.1.5 | 23.17 kB | 23.17 kB | | retry | 0.13.1 | 18.85 kB | 18.85 kB | | semifies | 1.0.0 | 15.84 kB | 15.84 kB | | jest-docblock | 29.7.0 | 8.99 kB | 12.76 kB | | crypto-randomuuid | 1.0.0 | 11.18 kB | 11.18 kB | | ttl-set | 1.0.0 | 4.61 kB | 9.69 kB | | mutexify | 1.4.0 | 5.71 kB | 8.74 kB | | path-to-regexp | 0.1.12 | 6.6 kB | 6.6 kB | | koalas | 1.0.2 | 6.47 kB | 6.47 kB | | module-details-from-path | 1.0.3 | 4.47 kB | 4.47 kB |🤖 This report was automatically generated by heaviest-objects-in-the-universe |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## v5.x #5633 +/- ##
=======================================
Coverage ? 79.10%
=======================================
Files ? 514
Lines ? 23475
Branches ? 0
=======================================
Hits ? 18570
Misses ? 4905
Partials ? 0 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Datadog ReportBranch report: ✅ 0 Failed, 927 Passed, 0 Skipped, 13m 52.48s Total Time |
BenchmarksBenchmark execution time: 2025-05-01 16:23:31 Comparing candidate commit 4267655 in PR branch Found 72 performance improvements and 0 performance regressions! Performance is the same for 1199 metrics, 52 unstable metrics. scenario:shimmer-startup-arrow-wrap-18
scenario:shimmer-startup-arrow-wrap-20
scenario:shimmer-startup-arrow-wrap-22
scenario:shimmer-startup-arrow-wrapfn-18
scenario:shimmer-startup-arrow-wrapfn-20
scenario:shimmer-startup-arrow-wrapfn-22
scenario:shimmer-startup-asyncarrow-wrap-18
scenario:shimmer-startup-asyncarrow-wrap-20
scenario:shimmer-startup-asyncarrow-wrap-22
scenario:shimmer-startup-asyncarrow-wrapfn-18
scenario:shimmer-startup-asyncarrow-wrapfn-20
scenario:shimmer-startup-asyncarrow-wrapfn-22
scenario:shimmer-startup-asyncdeclared-wrap-18
scenario:shimmer-startup-asyncdeclared-wrap-20
scenario:shimmer-startup-asyncdeclared-wrap-22
scenario:shimmer-startup-asyncdeclared-wrapfn-18
scenario:shimmer-startup-asyncdeclared-wrapfn-20
scenario:shimmer-startup-asyncdeclared-wrapfn-22
scenario:shimmer-startup-declared-wrap-18
scenario:shimmer-startup-declared-wrap-20
scenario:shimmer-startup-declared-wrap-22
scenario:shimmer-startup-declared-wrapfn-18
scenario:shimmer-startup-declared-wrapfn-20
scenario:shimmer-startup-declared-wrapfn-22
|
I think we should include a few more things into this one. Definitely the current code on the main branch. |
Remove custom code for AppSec in the Config class that isn't needed if we use optional chaining instead.
* Do not use custom hash algorithm in cookie vulnerabilities * Fix tests * Fix lint * Remove comment * Remove config related iast configs that are no longer needed * Fix lint * Change description for @deprecated property
…gs (#5630) * performance improvements * safeguard against non-string keys * add comment to explain the need for wrapping spies
Instead of keeping the ESM support documentation in the README.md file in sync with the official docs, simply link to them instead
95b2457
to
a8d4e12
Compare
We are removing apm-framework-integrations-reviewers-js in favor of the newer apm-idm-js team. We want to limit the notifications and narrow the scope of code ownership for Datadog tracing libraries and this is a part of that initiative.
Added old commits but didn't update the release notes because together they result in no changes. |
8ee2b306a2
] - (SEMVER-PATCH) Link to ESM support documentation (Thomas Watson) #562654c7c5187f
] - (SEMVER-PATCH) Improve performance of dogstatsd client and ignore non-string name/tags (Roch Devost) #5630c1d53e2764
] - (SEMVER-PATCH) Turn async ID gathering off by default (Attila Szegedi) #56216b0de6cb1d
] - (SEMVER-MINOR) Address cookie vulnerability cardinality (Ugaitz Urien) #5614a68aee7db0
] - (SEMVER-PATCH) Simplify AppSec config (Thomas Watson) #5634ccf588e04f
] - (SEMVER-PATCH) Fix issues detected by TS type checks (Ruben Bridgewater) #5310e0d929b552
] - (SEMVER-PATCH) handle existing PRs remove inputs and add schedule (Roch Devost) #56183eff48b87a
] - (SEMVER-PATCH) Improve shimmer instrumentation performance (Ruben Bridgewater) #5593d8a536ff89
] - (SEMVER-MINOR) chore(llmobs): add telemetry metrics for public llmobs SDK methods (Yun Kim) #5470837bef32e0
] - (SEMVER-PATCH) Test: Pin tested package version until tests can be fixed (Thomas Watson) #5627