- Notifications
You must be signed in to change notification settings - Fork 314
Update login events public SDK to V2 #8620
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
Update login events public SDK to V2 #8620
Conversation
dd-trace-api/src/main/java/datadog/appsec/api/login/EventTrackerService.java Outdated Show resolved Hide resolved
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 65 metrics, 6 unstable metrics. Startup time reports for petclinicgantt title petclinic - global startup overhead: candidate=1.48.0-SNAPSHOT~7dbc70c41d, baseline=1.48.0-SNAPSHOT~86e5bec219 dateFormat X axisFormat %s section tracing Agent [baseline] (1.053 s) : 0, 1052787 Total [baseline] (10.455 s) : 0, 10455338 Agent [candidate] (1.05 s) : 0, 1049674 Total [candidate] (10.409 s) : 0, 10409155 section appsec Agent [baseline] (1.193 s) : 0, 1192745 Total [baseline] (10.753 s) : 0, 10752524 Agent [candidate] (1.195 s) : 0, 1194689 Total [candidate] (10.771 s) : 0, 10771100 section iast Agent [baseline] (1.194 s) : 0, 1194498 Total [baseline] (11.04 s) : 0, 11039900 Agent [candidate] (1.179 s) : 0, 1179324 Total [candidate] (10.981 s) : 0, 10980721 section profiling Agent [baseline] (1.279 s) : 0, 1279146 Total [baseline] (10.852 s) : 0, 10851665 Agent [candidate] (1.275 s) : 0, 1275072 Total [candidate] (10.818 s) : 0, 10818471
gantt title petclinic - break down per module: candidate=1.48.0-SNAPSHOT~7dbc70c41d, baseline=1.48.0-SNAPSHOT~86e5bec219 dateFormat X axisFormat %s section tracing BytebuddyAgent [baseline] (718.703 ms) : 0, 718703 BytebuddyAgent [candidate] (716.726 ms) : 0, 716726 GlobalTracer [baseline] (238.841 ms) : 0, 238841 GlobalTracer [candidate] (237.997 ms) : 0, 237997 AppSec [baseline] (54.592 ms) : 0, 54592 AppSec [candidate] (54.242 ms) : 0, 54242 Debugger [baseline] (4.451 ms) : 0, 4451 Debugger [candidate] (4.438 ms) : 0, 4438 Remote Config [baseline] (695.983 µs) : 0, 696 Remote Config [candidate] (682.265 µs) : 0, 682 Telemetry [baseline] (15.773 ms) : 0, 15773 Telemetry [candidate] (14.999 ms) : 0, 14999 section appsec BytebuddyAgent [baseline] (737.638 ms) : 0, 737638 BytebuddyAgent [candidate] (738.554 ms) : 0, 738554 GlobalTracer [baseline] (235.275 ms) : 0, 235275 GlobalTracer [candidate] (235.509 ms) : 0, 235509 AppSec [baseline] (176.139 ms) : 0, 176139 AppSec [candidate] (175.735 ms) : 0, 175735 Debugger [baseline] (4.287 ms) : 0, 4287 Debugger [candidate] (4.29 ms) : 0, 4290 Remote Config [baseline] (641.109 µs) : 0, 641 Remote Config [candidate] (635.992 µs) : 0, 636 Telemetry [baseline] (8.189 ms) : 0, 8189 Telemetry [candidate] (8.565 ms) : 0, 8565 IAST [baseline] (21.741 ms) : 0, 21741 IAST [candidate] (21.766 ms) : 0, 21766 section iast BytebuddyAgent [baseline] (849.274 ms) : 0, 849274 BytebuddyAgent [candidate] (837.687 ms) : 0, 837687 GlobalTracer [baseline] (231.038 ms) : 0, 231038 GlobalTracer [candidate] (228.963 ms) : 0, 228963 AppSec [baseline] (56.997 ms) : 0, 56997 AppSec [candidate] (55.735 ms) : 0, 55735 Debugger [baseline] (4.246 ms) : 0, 4246 Debugger [candidate] (4.184 ms) : 0, 4184 Remote Config [baseline] (621.032 µs) : 0, 621 Remote Config [candidate] (628.028 µs) : 0, 628 Telemetry [baseline] (9.032 ms) : 0, 9032 Telemetry [candidate] (8.851 ms) : 0, 8851 IAST [baseline] (23.345 ms) : 0, 23345 IAST [candidate] (22.824 ms) : 0, 22824 section profiling BytebuddyAgent [baseline] (713.171 ms) : 0, 713171 BytebuddyAgent [candidate] (710.656 ms) : 0, 710656 GlobalTracer [baseline] (348.729 ms) : 0, 348729 GlobalTracer [candidate] (348.801 ms) : 0, 348801 AppSec [baseline] (54.626 ms) : 0, 54626 AppSec [candidate] (53.033 ms) : 0, 53033 Debugger [baseline] (4.345 ms) : 0, 4345 Debugger [candidate] (4.306 ms) : 0, 4306 Remote Config [baseline] (700.656 µs) : 0, 701 Remote Config [candidate] (705.827 µs) : 0, 706 Telemetry [baseline] (9.081 ms) : 0, 9081 Telemetry [candidate] (9.054 ms) : 0, 9054 ProfilingAgent [baseline] (103.389 ms) : 0, 103389 ProfilingAgent [candidate] (102.748 ms) : 0, 102748 Profiling [baseline] (103.415 ms) : 0, 103415 Profiling [candidate] (102.774 ms) : 0, 102774 Startup time reports for insecure-bankgantt title insecure-bank - global startup overhead: candidate=1.48.0-SNAPSHOT~7dbc70c41d, baseline=1.48.0-SNAPSHOT~86e5bec219 dateFormat X axisFormat %s section tracing Agent [baseline] (1.047 s) : 0, 1046800 Total [baseline] (8.651 s) : 0, 8650901 Agent [candidate] (1.049 s) : 0, 1049286 Total [candidate] (8.652 s) : 0, 8652412 section iast Agent [baseline] (1.179 s) : 0, 1179208 Total [baseline] (9.262 s) : 0, 9262269 Agent [candidate] (1.191 s) : 0, 1191406 Total [candidate] (9.286 s) : 0, 9285848 section iast_HARDCODED_SECRET_DISABLED Agent [baseline] (1.18 s) : 0, 1180119 Total [baseline] (9.22 s) : 0, 9219601 Agent [candidate] (1.18 s) : 0, 1179607 Total [candidate] (9.189 s) : 0, 9189306 section iast_TELEMETRY_OFF Agent [baseline] (1.181 s) : 0, 1180765 Total [baseline] (9.288 s) : 0, 9287656 Agent [candidate] (1.176 s) : 0, 1175942 Total [candidate] (9.28 s) : 0, 9279719
gantt title insecure-bank - break down per module: candidate=1.48.0-SNAPSHOT~7dbc70c41d, baseline=1.48.0-SNAPSHOT~86e5bec219 dateFormat X axisFormat %s section tracing BytebuddyAgent [baseline] (716.181 ms) : 0, 716181 BytebuddyAgent [candidate] (717.025 ms) : 0, 717025 GlobalTracer [baseline] (238.227 ms) : 0, 238227 GlobalTracer [candidate] (238.448 ms) : 0, 238448 AppSec [baseline] (54.567 ms) : 0, 54567 AppSec [candidate] (54.854 ms) : 0, 54854 Debugger [baseline] (4.382 ms) : 0, 4382 Debugger [candidate] (4.441 ms) : 0, 4441 Remote Config [baseline] (693.282 µs) : 0, 693 Remote Config [candidate] (682.872 µs) : 0, 683 Telemetry [baseline] (13.007 ms) : 0, 13007 Telemetry [candidate] (13.263 ms) : 0, 13263 section iast BytebuddyAgent [baseline] (837.291 ms) : 0, 837291 BytebuddyAgent [candidate] (844.858 ms) : 0, 844858 GlobalTracer [baseline] (229.772 ms) : 0, 229772 GlobalTracer [candidate] (231.864 ms) : 0, 231864 IAST [baseline] (22.746 ms) : 0, 22746 IAST [candidate] (23.476 ms) : 0, 23476 AppSec [baseline] (56.12 ms) : 0, 56120 AppSec [candidate] (56.671 ms) : 0, 56671 Debugger [baseline] (4.167 ms) : 0, 4167 Debugger [candidate] (4.246 ms) : 0, 4246 Remote Config [baseline] (609.5 µs) : 0, 610 Remote Config [candidate] (629.677 µs) : 0, 630 Telemetry [baseline] (8.898 ms) : 0, 8898 Telemetry [candidate] (9.092 ms) : 0, 9092 section iast_HARDCODED_SECRET_DISABLED BytebuddyAgent [baseline] (838.638 ms) : 0, 838638 BytebuddyAgent [candidate] (837.655 ms) : 0, 837655 GlobalTracer [baseline] (229.111 ms) : 0, 229111 GlobalTracer [candidate] (229.123 ms) : 0, 229123 IAST [baseline] (22.883 ms) : 0, 22883 IAST [candidate] (22.738 ms) : 0, 22738 AppSec [baseline] (56.138 ms) : 0, 56138 AppSec [candidate] (55.855 ms) : 0, 55855 Debugger [baseline] (4.186 ms) : 0, 4186 Debugger [candidate] (4.198 ms) : 0, 4198 Remote Config [baseline] (612.703 µs) : 0, 613 Remote Config [candidate] (609.26 µs) : 0, 609 Telemetry [baseline] (8.822 ms) : 0, 8822 Telemetry [candidate] (8.94 ms) : 0, 8940 section iast_TELEMETRY_OFF BytebuddyAgent [baseline] (838.224 ms) : 0, 838224 BytebuddyAgent [candidate] (835.575 ms) : 0, 835575 GlobalTracer [baseline] (229.687 ms) : 0, 229687 GlobalTracer [candidate] (228.704 ms) : 0, 228704 IAST [baseline] (22.64 ms) : 0, 22640 IAST [candidate] (22.343 ms) : 0, 22343 AppSec [baseline] (56.841 ms) : 0, 56841 AppSec [candidate] (55.488 ms) : 0, 55488 Debugger [baseline] (4.254 ms) : 0, 4254 Debugger [candidate] (4.147 ms) : 0, 4147 Remote Config [baseline] (618.982 µs) : 0, 619 Remote Config [candidate] (605.018 µs) : 0, 605 Telemetry [baseline] (8.839 ms) : 0, 8839 Telemetry [candidate] (8.684 ms) : 0, 8684 LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 14 metrics, 16 unstable metrics. Request duration reports for insecure-bankgantt title insecure-bank - request duration [CI 0.99] : candidate=1.48.0-SNAPSHOT~7dbc70c41d, baseline=1.48.0-SNAPSHOT~86e5bec219 dateFormat X axisFormat %s section baseline no_agent (386.573 µs) : 365, 408 . : milestone, 387, iast (522.551 µs) : 501, 544 . : milestone, 523, iast_FULL (734.895 µs) : 713, 757 . : milestone, 735, iast_GLOBAL (575.595 µs) : 553, 598 . : milestone, 576, iast_HARDCODED_SECRET_DISABLED (516.32 µs) : 495, 538 . : milestone, 516, iast_INACTIVE (473.479 µs) : 452, 495 . : milestone, 473, iast_TELEMETRY_OFF (503.125 µs) : 481, 525 . : milestone, 503, tracing (466.569 µs) : 445, 488 . : milestone, 467, section candidate no_agent (383.496 µs) : 363, 404 . : milestone, 383, iast (520.076 µs) : 498, 542 . : milestone, 520, iast_FULL (739.223 µs) : 717, 761 . : milestone, 739, iast_GLOBAL (571.913 µs) : 550, 594 . : milestone, 572, iast_HARDCODED_SECRET_DISABLED (522.324 µs) : 500, 545 . : milestone, 522, iast_INACTIVE (472.341 µs) : 451, 493 . : milestone, 472, iast_TELEMETRY_OFF (506.235 µs) : 484, 528 . : milestone, 506, tracing (464.523 µs) : 444, 485 . : milestone, 465,
Request duration reports for petclinicgantt title petclinic - request duration [CI 0.99] : candidate=1.48.0-SNAPSHOT~7dbc70c41d, baseline=1.48.0-SNAPSHOT~86e5bec219 dateFormat X axisFormat %s section baseline no_agent (1.357 ms) : 1338, 1376 . : milestone, 1357, appsec (1.737 ms) : 1714, 1761 . : milestone, 1737, appsec_no_iast (1.746 ms) : 1722, 1769 . : milestone, 1746, code_origins (1.708 ms) : 1681, 1734 . : milestone, 1708, iast (1.515 ms) : 1491, 1539 . : milestone, 1515, profiling (1.528 ms) : 1504, 1552 . : milestone, 1528, tracing (1.505 ms) : 1480, 1529 . : milestone, 1505, section candidate no_agent (1.366 ms) : 1347, 1385 . : milestone, 1366, appsec (1.752 ms) : 1728, 1776 . : milestone, 1752, appsec_no_iast (1.749 ms) : 1726, 1773 . : milestone, 1749, code_origins (1.686 ms) : 1659, 1713 . : milestone, 1686, iast (1.508 ms) : 1484, 1532 . : milestone, 1508, profiling (1.532 ms) : 1507, 1557 . : milestone, 1532, tracing (1.509 ms) : 1485, 1533 . : milestone, 1509,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics. Execution time for tomcatgantt title tomcat - execution time [CI 0.99] : candidate=1.48.0-SNAPSHOT~7dbc70c41d, baseline=1.48.0-SNAPSHOT~86e5bec219 dateFormat X axisFormat %s section baseline no_agent (1.473 ms) : 1461, 1484 . : milestone, 1473, appsec (2.33 ms) : 2287, 2373 . : milestone, 2330, iast (2.124 ms) : 2069, 2179 . : milestone, 2124, iast_GLOBAL (2.167 ms) : 2111, 2223 . : milestone, 2167, profiling (2.432 ms) : 2258, 2606 . : milestone, 2432, tracing (1.952 ms) : 1910, 1994 . : milestone, 1952, section candidate no_agent (1.479 ms) : 1468, 1491 . : milestone, 1479, appsec (2.351 ms) : 2307, 2395 . : milestone, 2351, iast (2.122 ms) : 2067, 2177 . : milestone, 2122, iast_GLOBAL (2.167 ms) : 2111, 2222 . : milestone, 2167, profiling (1.971 ms) : 1927, 2015 . : milestone, 1971, tracing (1.948 ms) : 1906, 1990 . : milestone, 1948,
Execution time for biojavagantt title biojava - execution time [CI 0.99] : candidate=1.48.0-SNAPSHOT~7dbc70c41d, baseline=1.48.0-SNAPSHOT~86e5bec219 dateFormat X axisFormat %s section baseline no_agent (15.481 s) : 15481000, 15481000 . : milestone, 15481000, appsec (15.051 s) : 15051000, 15051000 . : milestone, 15051000, iast (18.528 s) : 18528000, 18528000 . : milestone, 18528000, iast_GLOBAL (18.223 s) : 18223000, 18223000 . : milestone, 18223000, profiling (15.211 s) : 15211000, 15211000 . : milestone, 15211000, tracing (15.229 s) : 15229000, 15229000 . : milestone, 15229000, section candidate no_agent (15.395 s) : 15395000, 15395000 . : milestone, 15395000, appsec (14.928 s) : 14928000, 14928000 . : milestone, 14928000, iast (18.453 s) : 18453000, 18453000 . : milestone, 18453000, iast_GLOBAL (17.938 s) : 17938000, 17938000 . : milestone, 17938000, profiling (14.953 s) : 14953000, 14953000 . : milestone, 14953000, tracing (15.06 s) : 15060000, 15060000 . : milestone, 15060000,
|
60e9718
to deb07af
Compare new AtomicLongArray(LoginFramework.getNumValues() * LoginEvent.getNumValues()); | ||
private static final AtomicLongArray missingUserIdQueue = | ||
new AtomicLongArray(LoginFramework.getNumValues()); | ||
private static final AtomicLongArray appSecSdkEventQueue = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice workaround to dodge a ConcurrentHashMap 😄
b247b83
to 370f70b
Compare 370f70b
to 7e17b31
Compare 7e17b31
to 7dbc70c
Compare | Package | Type | Package file | Manager | Update | Change | |---|---|---|---|---|---| | org.flywaydb.flyway | plugin | misk/gradle/libs.versions.toml | gradle | minor | `11.6.0` -> `11.7.0` | | [com.squareup.okio:okio-fakefilesystem](https://github.com/square/okio) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `3.10.2` -> `3.11.0` | | [com.squareup.okio:okio](https://github.com/square/okio) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `3.10.2` -> `3.11.0` | | [com.autonomousapps.dependency-analysis](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin) | plugin | misk/gradle/libs.versions.toml | gradle | minor | `2.15.0` -> `2.16.0` | | [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.47.3` -> `1.48.1` | | [com.datadoghq:dd-trace-ot](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.47.3` -> `1.48.1` | | [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:sqs](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | | [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.31.18` -> `2.31.20` | --- ### Release Notes <details> <summary>square/okio (com.squareup.okio:okio-fakefilesystem)</summary> ### [`v3.11.0`](https://github.com/square/okio/blob/HEAD/CHANGELOG.md#Version-3110) *2025-04-09* - Fix: Clear the deflater's byte array reference - New: Faster implementation of `String.decodeHex()` on Kotlin/JS. - New: Declare `EXACTLY_ONCE` execution for blocks like `Closeable.use {}` and `FileSystem.read {}`. - Upgrade: \[Kotlin 2.1.20]\[kotlin\_2\_1\_20]. </details> <details> <summary>autonomousapps/dependency-analysis-android-gradle-plugin (com.autonomousapps.dependency-analysis)</summary> ### [`v2.16.0`](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/blob/HEAD/CHANGELOG.md#Version-2160) - \[Feat]: support `com.android.test` projects. - \[Feat]: support typesafe project accessors with opt-in. ```kotlin dependencyAnalysis { useTypesafeProjectAccessors(true) // false by default } ``` </details> <details> <summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary> ### [`v1.48.1`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.48.1): 1.48.1 ### Components #### Tracer internal logging - 🐛 Remove print line causing unnecessary logs ([#​8687](DataDog/dd-trace-java#8687) - [@​sarahchen6](https://github.com/sarahchen6)) ### [`v1.48.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.48.0): 1.48.0 ### Known Bugs > \[!NOTE] > If you are experiencing issues with spamming timeout logs, please update to the [latest version](https://github.com/DataDog/dd-trace-java/releases/latest) or set [JDK_SOCKET_ENABLED](https://github.com/DataDog/dd-trace-java/blob/33fc3c9a9b7cda3beda88b8b3e5224ae2b10764a/dd-trace-api/src/main/java/datadog/trace/api/config/GeneralConfig.java#L98) to false. ### Components #### Application Security Management (IAST) - ✨ Fix vulnerability location org.jose4j.lang.HashUtil ([#​8610](DataDog/dd-trace-java#8610) - [@​jandro996](https://github.com/jandro996)) - ✨ Fix weak randomness in oracle.ucp.util.OpaqueString ([#​8609](DataDog/dd-trace-java#8609) - [@​jandro996](https://github.com/jandro996)) - ✨ Fix weak hash false positive in oracle.security.o5logon.O5Logon ([#​8608](DataDog/dd-trace-java#8608) - [@​jandro996](https://github.com/jandro996)) - 🐛 Prevent before callsites targeting constructors in super calls ([#​8549](DataDog/dd-trace-java#8549) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) #### Application Security Management (WAF) - ✨ Update login events public SDK to V2 ([#​8620](DataDog/dd-trace-java#8620) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - 🐛 Send RASP LFI capability only when AppSec is statically enabled ([#​8573](DataDog/dd-trace-java#8573) - [@​jandro996](https://github.com/jandro996)) - ✨ Improve detection of missing request end events ([#​8510](DataDog/dd-trace-java#8510) - [@​smola](https://github.com/smola)) - 🧹 Remove remote configuration for API Security sampling rate ([#​8486](DataDog/dd-trace-java#8486) - [@​smola](https://github.com/smola)) - ✨ Add setUser to user monitoring SDK ([#​8482](DataDog/dd-trace-java#8482) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Add missing address for signup event ([#​8469](DataDog/dd-trace-java#8469) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Allow login events SDK to be used with appsec disabled ([#​8464](DataDog/dd-trace-java#8464) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Add support for endpoint discovery in spring mvc ([#​8352](DataDog/dd-trace-java#8352) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ New API Security sampling algorithm ([#​8178](DataDog/dd-trace-java#8178) - [@​ValentinZakharov](https://github.com/ValentinZakharov)) #### Build & Tooling - ✨ Add buffer size customizability to JDK UDS support ([#​8629](DataDog/dd-trace-java#8629) - [@​sarahchen6](https://github.com/sarahchen6)) - ✨ Add JDK built-in support for UDS on Java 16+ ([#​8314](DataDog/dd-trace-java#8314) - [@​sarahchen6](https://github.com/sarahchen6)) #### Configuration at Runtime - 🐛 Send RASP LFI capability only when AppSec is statically enabled ([#​8573](DataDog/dd-trace-java#8573) - [@​jandro996](https://github.com/jandro996)) #### Continuous Integration Visibility - 🐛 Prevent double reporting of Scalatest events when using SBT with test forking ([#​8682](DataDog/dd-trace-java#8682) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Shutdown CI Visibility test event handlers before tracer ([#​8677](DataDog/dd-trace-java#8677) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Do not apply JUnit 4 instrumentation to MUnit runners ([#​8675](DataDog/dd-trace-java#8675), [#​8683](DataDog/dd-trace-java#8683) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Remove error log when source path resolution fails on isModified check ([#​8663](DataDog/dd-trace-java#8663) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Implement tests reordering for JUnit 4 ([#​8650](DataDog/dd-trace-java#8650) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - 🐛 Set default Attempt to Fix retries if none provided from the backend ([#​8615](DataDog/dd-trace-java#8615) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Allow to manually set PR info ([#​8566](DataDog/dd-trace-java#8566) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Fix Test Optimization init when repo root cannot be determined ([#​8533](DataDog/dd-trace-java#8533) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Add capabilities tagging ([#​8499](DataDog/dd-trace-java#8499), [#​8540](DataDog/dd-trace-java#8540) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) #### Crash tracking - 🐛 Remove dependency on bash from crash/oome uploder scripts ([#​8652](DataDog/dd-trace-java#8652) - [@​jbachorik](https://github.com/jbachorik)) #### Data Streams Monitoring - ✨ e2e pipeline configuration when data jobs is enabled ([#​8553](DataDog/dd-trace-java#8553) - [@​kr-igor](https://github.com/kr-igor)) #### Dynamic Instrumentation - 🐛 Fix In-Product when config is empty ([#​8679](DataDog/dd-trace-java#8679) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add support for filtering shaded third-party libs ([#​8612](DataDog/dd-trace-java#8612) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add In-Product Enablement ([#​8587](DataDog/dd-trace-java#8587) - [@​jpbempel](https://github.com/jpbempel)) - ✨⚡ Reduce footprint of SourceFile tracking ([#​8524](DataDog/dd-trace-java#8524) - [@​jpbempel](https://github.com/jpbempel)) - ✨⚡ Optimize the SourceFile tracking ([#​8520](DataDog/dd-trace-java#8520) - [@​jpbempel](https://github.com/jpbempel)) #### OpenTracing - 🧹 Remove activeScope() use in OpenTracing shim ([#​8478](DataDog/dd-trace-java#8478) - [@​mcculls](https://github.com/mcculls)) #### Profiling - ✨ Add profiler env check command to AgentCLI ([#​8671](DataDog/dd-trace-java#8671) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Bump ddprof to 1.23.0 ([#​8668](DataDog/dd-trace-java#8668) - [@​jbachorik](https://github.com/jbachorik)) - Fix a crash related to ElfParser::loadSymbolTable ([#​191](DataDog/dd-trace-java#191)) by [@​yanglong1010](https://github.com/yanglong1010) in DataDog/java-profiler#192 - Unwind String.indexOf intrinsic on AArch64 by [@​MattAlp](https://github.com/MattAlp) in DataDog/java-profiler#193 - Fix Java 24 support by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#194 - A set of fixes related to clang, aarch64 and musl pecularities of vmstructs stack unwinder by [@​jbachorik](https://github.com/jbachorik) in DataDog/java-profiler#199 - 🐛 Remove process information from JFR recording ([#​8661](DataDog/dd-trace-java#8661) - [@​r1viollet](https://github.com/r1viollet)) - 🐛 Make TempLocationManager USER aware ([#​8605](DataDog/dd-trace-java#8605) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Extract git tags from embedded git.properties and datadog_git.properties ([#​8561](DataDog/dd-trace-java#8561) - [@​wmouchere](https://github.com/wmouchere)) #### Telemetry - 🐛 Fix appsec.rasp.error and appsec.waf.error telemetry metrics ([#​8624](DataDog/dd-trace-java#8624) - [@​jandro996](https://github.com/jandro996)) - ✨ Create metric: appsec.rasp.rule.skipped ([#​8618](DataDog/dd-trace-java#8618) - [@​jandro996](https://github.com/jandro996)) - ✨ Extract git tags from embedded git.properties and datadog_git.properties ([#​8561](DataDog/dd-trace-java#8561) - [@​wmouchere](https://github.com/wmouchere)) #### Testing - 🧹 Simplify ssi tests one-pipeline ([#​8558](DataDog/dd-trace-java#8558) - [@​robertomonteromiguel](https://github.com/robertomonteromiguel)) - ✨ Add smoke tests for java's concurrent API ([#​8438](DataDog/dd-trace-java#8438) - [@​sarahchen6](https://github.com/sarahchen6)) #### Trace context propagation - ✨ Adding Support for `TRACE_PROPAGATION_BEHAVIOR_EXTRACT` ([#​8535](DataDog/dd-trace-java#8535) - [@​mhlidd](https://github.com/mhlidd)) #### Tracer core - 🐛 Ensure shaded helpers have unique names ([#​8559](DataDog/dd-trace-java#8559) - [@​amarziali](https://github.com/amarziali)) - ✨ Support common config sources for user-provided git info ([#​8547](DataDog/dd-trace-java#8547) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Make the default config sources more robust when a security manager is installed ([#​8544](DataDog/dd-trace-java#8544) - [@​mcculls](https://github.com/mcculls)) - ✨ Support targeting services with configurations in stable configuration file ([#​8526](DataDog/dd-trace-java#8526) - [@​mtoffl01](https://github.com/mtoffl01)) - ✨ Add new parser for `DD_TAGS` and prioritizing `DD_SERVICE` ([#​8296](DataDog/dd-trace-java#8296) - [@​mhlidd](https://github.com/mhlidd)) #### Tracer internal logging - 🐛 Add missing debug log for the cloudPayloadTaggingServices config ([#​8600](DataDog/dd-trace-java#8600) - [@​ygree](https://github.com/ygree)) - ✨ Add the possibility to output the logs of the Java tracer in JSON ([#​8083](DataDog/dd-trace-java#8083) - [@​cecile75](https://github.com/cecile75)) #### Tracer public API - ✨ Introducing `DD_TRACE_EXPERIMENTAL_FEATURES_ENABLED` Config ([#​8536](DataDog/dd-trace-java#8536) - [@​mhlidd](https://github.com/mhlidd)) - ✨ Config Consistency Round 2 ([#​8489](DataDog/dd-trace-java#8489) - [@​mhlidd](https://github.com/mhlidd)) ### Instrumentations #### - 🐛 Fix NPE in getMdcCopy of LoggingEventInstrumentation ([#​8599](DataDog/dd-trace-java#8599) - [@​ygree](https://github.com/ygree)) #### Apache Spark instrumentation - ✨ Instrument Runtime.exit() to finish spark application spans ([#​8572](DataDog/dd-trace-java#8572) - [@​paul-laffon-dd](https://github.com/paul-laffon-dd)) - ✨ Configure OpenLineage if present in Spark instrumentation ([#​8541](DataDog/dd-trace-java#8541) - [@​mobuchowski](https://github.com/mobuchowski)) #### Armeria Instrumentation - ✨ Support armeria grpc 1.32.3 ([#​8606](DataDog/dd-trace-java#8606) - [@​github-actions](https://github.com/github-actions)\[bot]) #### AWS DynamoDB Instrumentation - ✨ Create DynamoDB instrumentation + add span pointers for `updateItem` and `deleteItem` ([#​8490](DataDog/dd-trace-java#8490) - [@​nhulston](https://github.com/nhulston)) #### AWS SDK instrumentation - ✨ Add DynamoDB in DEFAULT_TRACE_CLOUD_PAYLOAD_TAGGING_SERVICES ([#​8595](DataDog/dd-trace-java#8595) - [@​joeyzhao2018](https://github.com/joeyzhao2018)) #### Azure Functions instrumentation - ✨ Enable tracer computed trace metrics by default for Azure Functions ([#​8518](DataDog/dd-trace-java#8518) - [@​duncanpharvey](https://github.com/duncanpharvey)) - 💡 Add azure-functions instrumentation ([#​8432](DataDog/dd-trace-java#8432) - [@​duncanpharvey](https://github.com/duncanpharvey)) #### Core Java language instrumentation - 🐛 Fix ForkJoinPool.execute() instrumentation on Java 21+ ([#​8560](DataDog/dd-trace-java#8560) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) #### Eclipse Vert.x instrumentation - ✨ Add vertx postgresql client instrumentation ([#​8471](DataDog/dd-trace-java#8471) - [@​vandonr](https://github.com/vandonr) - thanks for the contribution!) #### Kafka instrumentation - ✨ Support and test kafka-clients 4 ([#​8581](DataDog/dd-trace-java#8581) - [@​amarziali](https://github.com/amarziali)) #### Kotlin instrumentation - ✨ Avoid disconnected traces when using Kotlin flowOn ([#​8651](DataDog/dd-trace-java#8651) - [@​mcculls](https://github.com/mcculls)) #### OpenTelemetry instrumentation - 🧹 Migrate OtelContext wrapper to new internal Context API ([#​8645](DataDog/dd-trace-java#8645) - [@​mcculls](https://github.com/mcculls)) #### Spring instrumentation - 🐛 Support CompletableFuture on spring webmvc controllers ([#​8659](DataDog/dd-trace-java#8659) - [@​amarziali](https://github.com/amarziali)) - ✨ Add support for endpoint discovery in spring mvc ([#​8352](DataDog/dd-trace-java#8352) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) #### WebSocket Instrumentation - ✨ Instrument Jetty websocket pojo ([#​8562](DataDog/dd-trace-java#8562) - [@​amarziali](https://github.com/amarziali)) - 💡 Instrument Java Websocket API (JSR356) ([#​8440](DataDog/dd-trace-java#8440) - [@​amarziali](https://github.com/amarziali)) #### All other instrumentations - ✨ Introduce cache for peer.hostname lookup ([#​8601](DataDog/dd-trace-java#8601) - [@​mcculls](https://github.com/mcculls)) - ✨ Support pekko http 1.1 ([#​8532](DataDog/dd-trace-java#8532) - [@​amarziali](https://github.com/amarziali)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 6pm every weekday,before 2am every weekday" in timezone Australia/Melbourne, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Never, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). GitOrigin-RevId: 331314f71acaced3adc75ea5d7e855c248d593fc
What Does This Do
Introduces V2 of the ATO public SDK which main difference is the disctintion between user logins and user ids. Previous version V1 of the SDK is marked as deprecated and won't be removed until the next major release of the tracer.
Motivation
Additional Notes
Contributor Checklist
type:
and (comp:
orinst:
) labels in addition to any usefull labelsclose
,fix
or any linking keywords when referencing an issue.Use
solves
instead, and assign the PR milestone to the issueJira ticket: APPSEC-56436
RFC: [RFC-1017] ATO SDK Consolidation