- Notifications
You must be signed in to change notification settings - Fork 320
Remove filtering of DD_SERVICE and DD_ENV from the tracer #8176
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
Conversation
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 60 metrics, 3 unstable metrics. Startup time reports for insecure-bankgantt title insecure-bank - global startup overhead: candidate=1.46.0-SNAPSHOT~6e487aedb4, baseline=1.46.0-SNAPSHOT~2b72cb577a dateFormat X axisFormat %s section tracing Agent [baseline] (1.061 s) : 0, 1061487 Total [baseline] (8.666 s) : 0, 8665505 Agent [candidate] (1.056 s) : 0, 1055511 Total [candidate] (8.639 s) : 0, 8639420 section iast Agent [baseline] (1.186 s) : 0, 1185765 Total [baseline] (9.198 s) : 0, 9197681 Agent [candidate] (1.184 s) : 0, 1183966 Total [candidate] (9.199 s) : 0, 9199295 section iast_HARDCODED_SECRET_DISABLED Agent [baseline] (1.185 s) : 0, 1184670 Total [baseline] (9.172 s) : 0, 9172218 Agent [candidate] (1.189 s) : 0, 1189259 Total [candidate] (9.201 s) : 0, 9201058 section iast_TELEMETRY_OFF Agent [baseline] (1.181 s) : 0, 1180678 Total [baseline] (9.19 s) : 0, 9190264 Agent [candidate] (1.181 s) : 0, 1180525 Total [candidate] (9.222 s) : 0, 9222277
gantt title insecure-bank - break down per module: candidate=1.46.0-SNAPSHOT~6e487aedb4, baseline=1.46.0-SNAPSHOT~2b72cb577a dateFormat X axisFormat %s section tracing BytebuddyAgent [baseline] (720.188 ms) : 0, 720188 BytebuddyAgent [candidate] (714.392 ms) : 0, 714392 GlobalTracer [baseline] (255.602 ms) : 0, 255602 GlobalTracer [candidate] (255.376 ms) : 0, 255376 AppSec [baseline] (55.575 ms) : 0, 55575 AppSec [candidate] (57.124 ms) : 0, 57124 Remote Config [baseline] (744.563 µs) : 0, 745 Remote Config [candidate] (730.761 µs) : 0, 731 Telemetry [baseline] (14.338 ms) : 0, 14338 Telemetry [candidate] (12.878 ms) : 0, 12878 section iast BytebuddyAgent [baseline] (832.77 ms) : 0, 832770 BytebuddyAgent [candidate] (833.649 ms) : 0, 833649 GlobalTracer [baseline] (248.219 ms) : 0, 248219 GlobalTracer [candidate] (246.575 ms) : 0, 246575 AppSec [baseline] (58.64 ms) : 0, 58640 AppSec [candidate] (57.988 ms) : 0, 57988 IAST [baseline] (21.666 ms) : 0, 21666 IAST [candidate] (21.348 ms) : 0, 21348 Remote Config [baseline] (667.87 µs) : 0, 668 Remote Config [candidate] (666.288 µs) : 0, 666 Telemetry [baseline] (8.844 ms) : 0, 8844 Telemetry [candidate] (8.715 ms) : 0, 8715 section iast_HARDCODED_SECRET_DISABLED BytebuddyAgent [baseline] (832.273 ms) : 0, 832273 BytebuddyAgent [candidate] (835.341 ms) : 0, 835341 GlobalTracer [baseline] (247.492 ms) : 0, 247492 GlobalTracer [candidate] (248.51 ms) : 0, 248510 AppSec [baseline] (58.434 ms) : 0, 58434 AppSec [candidate] (58.673 ms) : 0, 58673 IAST [baseline] (21.835 ms) : 0, 21835 IAST [candidate] (21.879 ms) : 0, 21879 Remote Config [baseline] (690.667 µs) : 0, 691 Remote Config [candidate] (686.443 µs) : 0, 686 Telemetry [baseline] (8.883 ms) : 0, 8883 Telemetry [candidate] (9.019 ms) : 0, 9019 section iast_TELEMETRY_OFF BytebuddyAgent [baseline] (829.956 ms) : 0, 829956 BytebuddyAgent [candidate] (829.949 ms) : 0, 829949 GlobalTracer [baseline] (247.238 ms) : 0, 247238 GlobalTracer [candidate] (246.906 ms) : 0, 246906 AppSec [baseline] (58.088 ms) : 0, 58088 AppSec [candidate] (58.017 ms) : 0, 58017 IAST [baseline] (20.946 ms) : 0, 20946 IAST [candidate] (21.246 ms) : 0, 21246 Remote Config [baseline] (672.397 µs) : 0, 672 Remote Config [candidate] (667.961 µs) : 0, 668 Telemetry [baseline] (8.723 ms) : 0, 8723 Telemetry [candidate] (8.71 ms) : 0, 8710 Startup time reports for petclinicgantt title petclinic - global startup overhead: candidate=1.46.0-SNAPSHOT~6e487aedb4, baseline=1.46.0-SNAPSHOT~2b72cb577a dateFormat X axisFormat %s section tracing Agent [baseline] (1.055 s) : 0, 1055435 Total [baseline] (10.514 s) : 0, 10514009 Agent [candidate] (1.055 s) : 0, 1055394 Total [candidate] (10.42 s) : 0, 10420098 section appsec Agent [baseline] (1.199 s) : 0, 1198534 Total [baseline] (10.749 s) : 0, 10749015 Agent [candidate] (1.19 s) : 0, 1189786 Total [candidate] (10.719 s) : 0, 10719301 section iast Agent [baseline] (1.195 s) : 0, 1194917 Total [baseline] (10.999 s) : 0, 10998697 Agent [candidate] (1.19 s) : 0, 1190290 Total [candidate] (11.062 s) : 0, 11061803 section profiling Agent [baseline] (1.264 s) : 0, 1264077 Total [baseline] (10.857 s) : 0, 10857468 Agent [candidate] (1.258 s) : 0, 1258160 Total [candidate] (10.818 s) : 0, 10818074
gantt title petclinic - break down per module: candidate=1.46.0-SNAPSHOT~6e487aedb4, baseline=1.46.0-SNAPSHOT~2b72cb577a dateFormat X axisFormat %s section tracing BytebuddyAgent [baseline] (713.876 ms) : 0, 713876 BytebuddyAgent [candidate] (714.073 ms) : 0, 714073 GlobalTracer [baseline] (255.193 ms) : 0, 255193 GlobalTracer [candidate] (255.144 ms) : 0, 255144 AppSec [baseline] (56.346 ms) : 0, 56346 AppSec [candidate] (55.438 ms) : 0, 55438 Remote Config [baseline] (746.049 µs) : 0, 746 Remote Config [candidate] (732.321 µs) : 0, 732 Telemetry [baseline] (14.343 ms) : 0, 14343 Telemetry [candidate] (14.992 ms) : 0, 14992 section appsec BytebuddyAgent [baseline] (738.495 ms) : 0, 738495 BytebuddyAgent [candidate] (731.536 ms) : 0, 731536 GlobalTracer [baseline] (254.784 ms) : 0, 254784 GlobalTracer [candidate] (253.42 ms) : 0, 253420 AppSec [baseline] (171.196 ms) : 0, 171196 AppSec [candidate] (170.824 ms) : 0, 170824 Remote Config [baseline] (666.973 µs) : 0, 667 Remote Config [candidate] (672.696 µs) : 0, 673 Telemetry [baseline] (8.612 ms) : 0, 8612 Telemetry [candidate] (8.673 ms) : 0, 8673 IAST [baseline] (19.293 ms) : 0, 19293 IAST [candidate] (19.344 ms) : 0, 19344 section iast BytebuddyAgent [baseline] (840.569 ms) : 0, 840569 BytebuddyAgent [candidate] (837.769 ms) : 0, 837769 GlobalTracer [baseline] (248.905 ms) : 0, 248905 GlobalTracer [candidate] (247.743 ms) : 0, 247743 AppSec [baseline] (58.895 ms) : 0, 58895 AppSec [candidate] (58.413 ms) : 0, 58413 Remote Config [baseline] (676.244 µs) : 0, 676 Remote Config [candidate] (677.962 µs) : 0, 678 Telemetry [baseline] (8.936 ms) : 0, 8936 Telemetry [candidate] (8.853 ms) : 0, 8853 IAST [baseline] (21.794 ms) : 0, 21794 IAST [candidate] (21.728 ms) : 0, 21728 section profiling ProfilingAgent [baseline] (96.21 ms) : 0, 96210 ProfilingAgent [candidate] (95.333 ms) : 0, 95333 BytebuddyAgent [baseline] (708.848 ms) : 0, 708848 BytebuddyAgent [candidate] (705.772 ms) : 0, 705772 GlobalTracer [baseline] (351.997 ms) : 0, 351997 GlobalTracer [candidate] (351.025 ms) : 0, 351025 AppSec [baseline] (55.253 ms) : 0, 55253 AppSec [candidate] (54.327 ms) : 0, 54327 Remote Config [baseline] (724.444 µs) : 0, 724 Remote Config [candidate] (727.034 µs) : 0, 727 Telemetry [baseline] (8.852 ms) : 0, 8852 Telemetry [candidate] (8.894 ms) : 0, 8894 Profiling [baseline] (96.234 ms) : 0, 96234 Profiling [candidate] (95.358 ms) : 0, 95358 LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 16 unstable metrics. Request duration reports for petclinicgantt title petclinic - request duration [CI 0.99] : candidate=1.46.0-SNAPSHOT~6e487aedb4, baseline=1.46.0-SNAPSHOT~2b72cb577a dateFormat X axisFormat %s section baseline no_agent (1.353 ms) : 1333, 1372 . : milestone, 1353, appsec (1.756 ms) : 1732, 1780 . : milestone, 1756, appsec_no_iast (1.785 ms) : 1761, 1809 . : milestone, 1785, iast (1.53 ms) : 1505, 1554 . : milestone, 1530, profiling (1.509 ms) : 1486, 1533 . : milestone, 1509, tracing (1.506 ms) : 1482, 1531 . : milestone, 1506, section candidate no_agent (1.362 ms) : 1343, 1381 . : milestone, 1362, appsec (1.743 ms) : 1718, 1767 . : milestone, 1743, appsec_no_iast (1.752 ms) : 1729, 1774 . : milestone, 1752, iast (1.508 ms) : 1484, 1532 . : milestone, 1508, profiling (1.51 ms) : 1487, 1533 . : milestone, 1510, tracing (1.508 ms) : 1484, 1533 . : milestone, 1508,
Request duration reports for insecure-bankgantt title insecure-bank - request duration [CI 0.99] : candidate=1.46.0-SNAPSHOT~6e487aedb4, baseline=1.46.0-SNAPSHOT~2b72cb577a dateFormat X axisFormat %s section baseline no_agent (378.775 µs) : 358, 399 . : milestone, 379, iast (507.765 µs) : 486, 530 . : milestone, 508, iast_FULL (737.198 µs) : 715, 759 . : milestone, 737, iast_GLOBAL (551.162 µs) : 530, 573 . : milestone, 551, iast_HARDCODED_SECRET_DISABLED (502.33 µs) : 481, 524 . : milestone, 502, iast_INACTIVE (460.749 µs) : 439, 482 . : milestone, 461, iast_TELEMETRY_OFF (498.242 µs) : 476, 520 . : milestone, 498, tracing (451.249 µs) : 429, 474 . : milestone, 451, section candidate no_agent (380.232 µs) : 361, 400 . : milestone, 380, iast (511.236 µs) : 489, 534 . : milestone, 511, iast_FULL (742.259 µs) : 720, 764 . : milestone, 742, iast_GLOBAL (556.597 µs) : 535, 578 . : milestone, 557, iast_HARDCODED_SECRET_DISABLED (508.455 µs) : 487, 530 . : milestone, 508, iast_INACTIVE (452.897 µs) : 432, 474 . : milestone, 453, iast_TELEMETRY_OFF (488.823 µs) : 467, 510 . : milestone, 489, tracing (455.309 µs) : 434, 476 . : milestone, 455,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 0 unstable metrics. Execution time for biojavagantt title biojava - execution time [CI 0.99] : candidate=1.46.0-SNAPSHOT~6e487aedb4, baseline=1.46.0-SNAPSHOT~2b72cb577a dateFormat X axisFormat %s section baseline no_agent (15.306 s) : 15306000, 15306000 . : milestone, 15306000, appsec (15.091 s) : 15091000, 15091000 . : milestone, 15091000, iast (19.154 s) : 19154000, 19154000 . : milestone, 19154000, iast_GLOBAL (18.254 s) : 18254000, 18254000 . : milestone, 18254000, profiling (15.141 s) : 15141000, 15141000 . : milestone, 15141000, tracing (14.94 s) : 14940000, 14940000 . : milestone, 14940000, section candidate no_agent (14.994 s) : 14994000, 14994000 . : milestone, 14994000, appsec (15.253 s) : 15253000, 15253000 . : milestone, 15253000, iast (18.823 s) : 18823000, 18823000 . : milestone, 18823000, iast_GLOBAL (17.984 s) : 17984000, 17984000 . : milestone, 17984000, profiling (15.002 s) : 15002000, 15002000 . : milestone, 15002000, tracing (15.07 s) : 15070000, 15070000 . : milestone, 15070000,
Execution time for tomcatgantt title tomcat - execution time [CI 0.99] : candidate=1.46.0-SNAPSHOT~6e487aedb4, baseline=1.46.0-SNAPSHOT~2b72cb577a dateFormat X axisFormat %s section baseline no_agent (1.472 ms) : 1461, 1484 . : milestone, 1472, appsec (2.367 ms) : 2324, 2410 . : milestone, 2367, iast (2.106 ms) : 2052, 2161 . : milestone, 2106, iast_GLOBAL (2.158 ms) : 2103, 2213 . : milestone, 2158, profiling (1.968 ms) : 1925, 2012 . : milestone, 1968, tracing (1.954 ms) : 1912, 1996 . : milestone, 1954, section candidate no_agent (1.472 ms) : 1460, 1483 . : milestone, 1472, appsec (2.369 ms) : 2326, 2412 . : milestone, 2369, iast (2.111 ms) : 2056, 2166 . : milestone, 2111, iast_GLOBAL (2.153 ms) : 2099, 2208 . : milestone, 2153, profiling (1.962 ms) : 1918, 2005 . : milestone, 1962, tracing (1.943 ms) : 1901, 1985 . : milestone, 1943,
|
DD_SERVICE and DD_ENV from the tracer | Hi! 👋 Thanks for your pull request! 🎉 To help us review it, please make sure to:
If you need help, please check our contributing guidelines. |
lucaspimentel left a comment
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.
LGTM (but I'm not a dd-trace-java expert). Thanks!
| Failing parametric test was disabled in this PR. Will XFAIL when system-test commit is updated in dd-trace-java |
| Package | Type | Package file | Manager | Update | Change | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-datastore](https://github.com/googleapis/java-datastore) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.25.4` -> `2.26.0` | | [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.45.2` -> `1.46.0` | | [com.datadoghq:dd-trace-ot](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.45.2` -> `1.46.0` | | [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.9` -> `2.30.10` | | [software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.9` -> `2.30.10` | | [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.9` -> `2.30.10` | | [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.9` -> `2.30.10` | | [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.9` -> `2.30.10` | | [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.30.9` -> `2.30.10` | --- ### Release Notes <details> <summary>googleapis/java-datastore (com.google.cloud:google-cloud-datastore)</summary> ### [`v2.26.0`](https://github.com/googleapis/java-datastore/blob/HEAD/CHANGELOG.md#2260-2025-01-29) ##### Features - Add firestoreInDatastoreMode for datastore emulator ([#​1698](googleapis/java-datastore#1698)) ([50f106d](googleapis/java-datastore@50f106d)) ##### Dependencies - Update dependency com.google.cloud:sdk-platform-java-config to v3.42.0 ([#​1725](googleapis/java-datastore#1725)) ([1cbaf22](googleapis/java-datastore@1cbaf22)) </details> <details> <summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary> ### [`v1.46.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.46.0): 1.46.0 ##### Breaking Changes > \[!WARNING] > jnr-unixsocket is now an external dependency of dd-trace-ot and must be included when deploying dd-trace-ot. > \[!NOTE] > The API `TracerScope.setAsync(boolean)`, used to manually control asynchronous span propagation, does no more apply to the scope instance but to the active span scope. ##### Components ##### Application Security Management (IAST) - 🐛 Fix String.replace instrumentation for IAST ([#​8281](DataDog/dd-trace-java#8281) - [@​Mariovido](https://github.com/Mariovido)) - ✨ Apply the standard nomenclature to the stacktrace configs ([#​8244](DataDog/dd-trace-java#8244) - [@​jandro996](https://github.com/jandro996)) - 🐛 Exclude false positive weak randomness ([#​8232](DataDog/dd-trace-java#8232) - [@​jandro996](https://github.com/jandro996)) - ✨ Propagation of translateEscapes of String class ([#​8186](DataDog/dd-trace-java#8186) - [@​sezen-datadog](https://github.com/sezen-datadog)) - ✨ Add security control metrics ([#​8175](DataDog/dd-trace-java#8175) - [@​jandro996](https://github.com/jandro996)) - ✨ Increase IAST propagation to StringBuffer setLength ([#​8128](DataDog/dd-trace-java#8128) - [@​Mariovido](https://github.com/Mariovido)) - ✨ Add IAST taint tracking for DB values ([#​8072](DataDog/dd-trace-java#8072) - [@​Mariovido](https://github.com/Mariovido)) ##### Application Security Management (WAF) - 🐛 Prevents a NPE when there is no subscriber for user events ([#​8258](DataDog/dd-trace-java#8258) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Apply the standard nomenclature to the stacktrace configs ([#​8244](DataDog/dd-trace-java#8244) - [@​jandro996](https://github.com/jandro996)) - 🐛 Ensure cached subscriptions are cleared on reconfiguration via RC ([#​8229](DataDog/dd-trace-java#8229) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Add support for session tracking in Vertx ([#​8167](DataDog/dd-trace-java#8167) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) - ✨ Create span tag: \_dd.appsec.rasp.timeout ([#​8269](DataDog/dd-trace-java#8269) - [@​Mariovido](https://github.com/Mariovido)) ##### Build & Tooling - 🐛 Ensure shaded helpers have unique names when injected into class-loaders ([#​8192](DataDog/dd-trace-java#8192) - [@​mcculls](https://github.com/mcculls)) ##### Configuration at Runtime - 🐛 Remove filtering of `DD_SERVICE` and `DD_ENV` from the tracer ([#​8176](DataDog/dd-trace-java#8176) - [@​mhlidd](https://github.com/mhlidd)) ##### Continuous Integration Visibility - 🧹 Generalize TestRetryPolicy to TestExecutionPolicy ([#​8302](DataDog/dd-trace-java#8302) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🧹 Parallelize CI Visibility settings requests ([#​8299](DataDog/dd-trace-java#8299) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🧹 Generalize test retry logic ([#​8289](DataDog/dd-trace-java#8289) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🧹 Generalize tests skipping logic ([#​8288](DataDog/dd-trace-java#8288) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🧹 Remove skip and shouldBeSkipped methods from TestEventsHandler in favor of isSkippable ([#​8286](DataDog/dd-trace-java#8286) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨⚡ Optimize Git repository information computation ([#​8270](DataDog/dd-trace-java#8270) - [@​dougqh](https://github.com/dougqh)) - ✨ Always request known tests from the backend ([#​8268](DataDog/dd-trace-java#8268) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Fix NPE when trying to get retry analyzer in Test NG ([#​8253](DataDog/dd-trace-java#8253) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Set test framework and test framework version tags atomically ([#​8252](DataDog/dd-trace-java#8252) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Add debug logging to Android Gradle module layout logic ([#​8251](DataDog/dd-trace-java#8251) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - 🐛 Fix source and destination folders computation for Android Gradle projects ([#​8190](DataDog/dd-trace-java#8190) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Add basic Scala Weaver sbt support ([#​8189](DataDog/dd-trace-java#8189) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) - ✨ Implement impacted tests detection ([#​8188](DataDog/dd-trace-java#8188) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) ##### Data Streams Monitoring - ✨ Change hash computation for protobuf to better represent impacting changes + save proto number in schema ([#​8201](DataDog/dd-trace-java#8201) - [@​vandonr](https://github.com/vandonr)) ##### Database Monitoring - Add peer service tag in dbm sql commenter ([#​7913](DataDog/dd-trace-java#7913) - [@​jordan-wong](https://github.com/jordan-wong)) ##### Dynamic Instrumentation - ✨ Add support for SymDB to scan directories ([#​8306](DataDog/dd-trace-java#8306) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Add SymDB report for any jar scanning failures ([#​8300](DataDog/dd-trace-java#8300) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Use two budgets depending on type ([#​8283](DataDog/dd-trace-java#8283) - [@​evanchooly](https://github.com/evanchooly)) - ✨ Institute a 10 snapshot per probe per trace budget ([#​8277](DataDog/dd-trace-java#8277) - [@​evanchooly](https://github.com/evanchooly)) - 🐛 Avoid double snapshots for Exception Replay ([#​8273](DataDog/dd-trace-java#8273) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Simplify code origins. Separate out snapshot generation. ([#​8263](DataDog/dd-trace-java#8263) - [@​evanchooly](https://github.com/evanchooly)) - ✨ Add Exception probe custom instrumentation ([#​8230](DataDog/dd-trace-java#8230) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Enhance log probes to honor debug session tags ([#​8215](DataDog/dd-trace-java#8215) - [@​evanchooly](https://github.com/evanchooly)) - 🐛 Don't redact env tokens from debugger probe snapshots ([#​8211](DataDog/dd-trace-java#8211) - [@​watson](https://github.com/watson)) - ✨⚡ Move Trace/SpanId capture at commit time ([#​8184](DataDog/dd-trace-java#8184) - [@​jpbempel](https://github.com/jpbempel)) - 🐛 Capture values at entry for method probe ([#​8169](DataDog/dd-trace-java#8169) - [@​jpbempel](https://github.com/jpbempel)) ##### JMX fetch - 🐛 Mute JMXFetch Shutdown in progress error ([#​8068](DataDog/dd-trace-java#8068) - [@​ygree](https://github.com/ygree)) ##### OpenTracing -⚠️ 🧹 Make jnr-unixsocket an explicit dependency of dd-trace-ot ([#​8307](DataDog/dd-trace-java#8307) - [@​mcculls](https://github.com/mcculls)) ##### Profiling - 🐛 Avoid unsupported API call for creating folders on windows ([#​8304](DataDog/dd-trace-java#8304) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Tag profiles for serverless ([#​8279](DataDog/dd-trace-java#8279) - [@​jbachorik](https://github.com/jbachorik)) - ✨ add queue type and length to queue events ([#​8242](DataDog/dd-trace-java#8242) - [@​richardstartin](https://github.com/richardstartin)) - 🐛 TempLocationManager Fixes and Improvements ([#​8191](DataDog/dd-trace-java#8191) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Bump ddprof to 1.18.0 ([#​8173](DataDog/dd-trace-java#8173) - [@​jbachorik](https://github.com/jbachorik)) - ✨ Report profiler initialization and configuration errors to telemetry ([#​8171](DataDog/dd-trace-java#8171) - [@​jbachorik](https://github.com/jbachorik)) ##### Telemetry - ✨ Add pending traces report in tracer flares ([#​8053](DataDog/dd-trace-java#8053) - [@​mhlidd](https://github.com/mhlidd)) ##### Testing - ✨ Test http server requests in parallel ([#​8222](DataDog/dd-trace-java#8222) - [@​amarziali](https://github.com/amarziali)) ##### Trace context propagation - ✨ Add non default propagator registration ([#​8310](DataDog/dd-trace-java#8310) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) ##### Tracer core - ✨ Probe for existence of IBMSASL or ACCP security providers ([#​8276](DataDog/dd-trace-java#8276) - [@​mcculls](https://github.com/mcculls)) - ✨⚡ Overhead improvement to agent feedback based sampling ([#​8265](DataDog/dd-trace-java#8265) - [@​dougqh](https://github.com/dougqh)) - 🧹 Move async propagation API from scope to tracer ([#​8231](DataDog/dd-trace-java#8231) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - ✨ Introduce context propagation API ([#​8161](DataDog/dd-trace-java#8161) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - ✨🧪 Use env-entry to add tags per webapp deployment ([#​8138](DataDog/dd-trace-java#8138) - [@​amarziali](https://github.com/amarziali)) - ✨ Introduce context helpers API ([#​8134](DataDog/dd-trace-java#8134) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - ✨ Support IPv6 values for `DD_AGENT_HOST` and `DD_TRACE_AGENT_URL` ([#​7984](DataDog/dd-trace-java#7984) - [@​mhlidd](https://github.com/mhlidd)) ##### Instrumentations ##### Apache HttpComponents - 🐛 Properly finish spans and support latest apache httpclient5 ([#​8272](DataDog/dd-trace-java#8272) - [@​amarziali](https://github.com/amarziali)) ##### AWS Lambda instrumentation - 🐛 Properly capture lambda payloads for all handler types. ([#​8264](DataDog/dd-trace-java#8264) - [@​purple4reina](https://github.com/purple4reina)) ##### AWS S3 instrumentation - 💡 Create S3 instrumentation + add span pointers ([#​8075](DataDog/dd-trace-java#8075) - [@​nhulston](https://github.com/nhulston)) ##### AWS SDK instrumentation - 🐛 Revert "Add avoid double instrumenting lambda non-streaming handlers." ([#​8247](DataDog/dd-trace-java#8247) - [@​nhulston](https://github.com/nhulston)) ##### Cassandra - ✨ Allow extracting keyspace from statement result ([#​8239](DataDog/dd-trace-java#8239) - [@​amarziali](https://github.com/amarziali)) ##### Core Java language instrumentation - ✨ Propagation of translateEscapes of String class ([#​8186](DataDog/dd-trace-java#8186) - [@​sezen-datadog](https://github.com/sezen-datadog)) ##### Eclipse Vert.x instrumentation - 🐛 Fix vertx worker propagation and error handling ([#​8237](DataDog/dd-trace-java#8237) - [@​amarziali](https://github.com/amarziali)) - ✨ Support vertx 5 ([#​8220](DataDog/dd-trace-java#8220) - [@​amarziali](https://github.com/amarziali)) - ✨ Add support for session tracking in Vertx ([#​8167](DataDog/dd-trace-java#8167) - [@​manuel-alvarez-alvarez](https://github.com/manuel-alvarez-alvarez)) ##### Kafka instrumentation - 🐛 Prevent possible NPE calculating Kafka record header size ([#​8292](DataDog/dd-trace-java#8292) - [@​ygree](https://github.com/ygree)) ##### Mule instrumentation - 🐛 Fix crash using Mule with JPMS ([#​8187](DataDog/dd-trace-java#8187) - [@​amarziali](https://github.com/amarziali)) ##### Protocol Buffer instrumentation - ✨ Change hash computation for protobuf to better represent impacting changes + save proto number in schema ([#​8201](DataDog/dd-trace-java#8201) - [@​vandonr](https://github.com/vandonr)) ##### Spring instrumentation - 🐛 Preserve getQualifier from spring scheduling runnables ([#​8293](DataDog/dd-trace-java#8293) - [@​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**: Whenever PR becomes conflicted, 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: bb09d47e4eed77a003f630273b4d0a84003eb899
What Does This Do
APMAPI-1003
Removes filtering of
DD_SERVICEandDD_ENVfrom the tracer. Reverts #6636. Tested through system-tests and unit tests.Motivation
With Adaptive Sampling, the Java tracer is rejecting remote sampling rules that use SSI when the tracer sees that the values of
DD_ENVare empty. However, theenvis automatically configured in the agent with SSI, so this PR removes all filtering ofDD_SERVICEandDD_ENVin the tracer as it is already being done in remote config.Additional Notes
Contributor Checklist
type:and (comp:orinst:) labels in addition to any usefull labelsclose,fixor any linking keywords when referencing an issue.Use
solvesinstead, and assign the PR milestone to the issueJira ticket: APMAPI-1004