-
Notifications
You must be signed in to change notification settings - Fork 298
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
Introduce context helpers API #8134
Conversation
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 51 metrics, 12 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.46.0-SNAPSHOT~2eac34e214, baseline=1.46.0-SNAPSHOT~a6b67c32c5
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.042 s) : 0, 1041990
Total [baseline] (8.626 s) : 0, 8626194
Agent [candidate] (1.037 s) : 0, 1037009
Total [candidate] (8.635 s) : 0, 8635204
section iast
Agent [baseline] (1.168 s) : 0, 1167911
Total [baseline] (9.229 s) : 0, 9229133
Agent [candidate] (1.167 s) : 0, 1166701
Total [candidate] (9.194 s) : 0, 9194248
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.174 s) : 0, 1174071
Total [baseline] (9.184 s) : 0, 9184203
Agent [candidate] (1.167 s) : 0, 1167042
Total [candidate] (9.18 s) : 0, 9179836
section iast_TELEMETRY_OFF
Agent [baseline] (1.165 s) : 0, 1165272
Total [baseline] (9.206 s) : 0, 9206271
Agent [candidate] (1.174 s) : 0, 1173951
Total [candidate] (9.244 s) : 0, 9243726
gantt
title insecure-bank - break down per module: candidate=1.46.0-SNAPSHOT~2eac34e214, baseline=1.46.0-SNAPSHOT~a6b67c32c5
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (717.243 ms) : 0, 717243
BytebuddyAgent [candidate] (714.331 ms) : 0, 714331
GlobalTracer [baseline] (241.551 ms) : 0, 241551
GlobalTracer [candidate] (239.05 ms) : 0, 239050
AppSec [baseline] (55.705 ms) : 0, 55705
AppSec [candidate] (56.012 ms) : 0, 56012
Remote Config [baseline] (707.599 µs) : 0, 708
Remote Config [candidate] (710.517 µs) : 0, 711
Telemetry [baseline] (11.563 ms) : 0, 11563
Telemetry [candidate] (11.703 ms) : 0, 11703
section iast
BytebuddyAgent [baseline] (833.078 ms) : 0, 833078
BytebuddyAgent [candidate] (832.368 ms) : 0, 832368
GlobalTracer [baseline] (230.814 ms) : 0, 230814
GlobalTracer [candidate] (230.138 ms) : 0, 230138
IAST [baseline] (27.362 ms) : 0, 27362
IAST [candidate] (25.789 ms) : 0, 25789
AppSec [baseline] (52.074 ms) : 0, 52074
AppSec [candidate] (53.909 ms) : 0, 53909
Remote Config [baseline] (622.905 µs) : 0, 623
Remote Config [candidate] (614.104 µs) : 0, 614
Telemetry [baseline] (8.747 ms) : 0, 8747
Telemetry [candidate] (8.703 ms) : 0, 8703
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (838.077 ms) : 0, 838077
BytebuddyAgent [candidate] (832.805 ms) : 0, 832805
GlobalTracer [baseline] (231.067 ms) : 0, 231067
GlobalTracer [candidate] (230.178 ms) : 0, 230178
IAST [baseline] (27.465 ms) : 0, 27465
IAST [candidate] (26.557 ms) : 0, 26557
AppSec [baseline] (52.593 ms) : 0, 52593
AppSec [candidate] (52.925 ms) : 0, 52925
Remote Config [baseline] (623.238 µs) : 0, 623
Remote Config [candidate] (605.134 µs) : 0, 605
Telemetry [baseline] (8.872 ms) : 0, 8872
Telemetry [candidate] (8.643 ms) : 0, 8643
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (831.033 ms) : 0, 831033
BytebuddyAgent [candidate] (836.845 ms) : 0, 836845
GlobalTracer [baseline] (230.728 ms) : 0, 230728
GlobalTracer [candidate] (232.706 ms) : 0, 232706
IAST [baseline] (25.217 ms) : 0, 25217
IAST [candidate] (27.891 ms) : 0, 27891
AppSec [baseline] (53.893 ms) : 0, 53893
AppSec [candidate] (51.726 ms) : 0, 51726
Remote Config [baseline] (610.267 µs) : 0, 610
Remote Config [candidate] (632.637 µs) : 0, 633
Telemetry [baseline] (8.491 ms) : 0, 8491
Telemetry [candidate] (8.731 ms) : 0, 8731
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.46.0-SNAPSHOT~2eac34e214, baseline=1.46.0-SNAPSHOT~a6b67c32c5
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.042 s) : 0, 1042236
Total [baseline] (10.477 s) : 0, 10476563
Agent [candidate] (1.042 s) : 0, 1041807
Total [candidate] (10.434 s) : 0, 10433765
section appsec
Agent [baseline] (1.18 s) : 0, 1179573
Total [baseline] (10.714 s) : 0, 10713787
Agent [candidate] (1.183 s) : 0, 1183075
Total [candidate] (10.741 s) : 0, 10741068
section iast
Agent [baseline] (1.167 s) : 0, 1167144
Total [baseline] (10.925 s) : 0, 10924673
Agent [candidate] (1.168 s) : 0, 1168193
Total [candidate] (10.947 s) : 0, 10947479
section profiling
Agent [baseline] (1.259 s) : 0, 1259064
Total [baseline] (10.854 s) : 0, 10854056
Agent [candidate] (1.257 s) : 0, 1257130
Total [candidate] (10.872 s) : 0, 10872267
gantt
title petclinic - break down per module: candidate=1.46.0-SNAPSHOT~2eac34e214, baseline=1.46.0-SNAPSHOT~a6b67c32c5
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (717.657 ms) : 0, 717657
BytebuddyAgent [candidate] (717.317 ms) : 0, 717317
GlobalTracer [baseline] (239.642 ms) : 0, 239642
GlobalTracer [candidate] (239.54 ms) : 0, 239540
AppSec [baseline] (55.251 ms) : 0, 55251
AppSec [candidate] (55.396 ms) : 0, 55396
Remote Config [baseline] (710.045 µs) : 0, 710
Remote Config [candidate] (712.259 µs) : 0, 712
Telemetry [baseline] (13.704 ms) : 0, 13704
Telemetry [candidate] (13.556 ms) : 0, 13556
section appsec
BytebuddyAgent [baseline] (731.424 ms) : 0, 731424
BytebuddyAgent [candidate] (733.956 ms) : 0, 733956
GlobalTracer [baseline] (237.032 ms) : 0, 237032
GlobalTracer [candidate] (237.69 ms) : 0, 237690
AppSec [baseline] (176.196 ms) : 0, 176196
AppSec [candidate] (176.302 ms) : 0, 176302
Remote Config [baseline] (651.195 µs) : 0, 651
Remote Config [candidate] (653.538 µs) : 0, 654
Telemetry [baseline] (8.279 ms) : 0, 8279
Telemetry [candidate] (8.284 ms) : 0, 8284
IAST [baseline] (21.483 ms) : 0, 21483
IAST [candidate] (21.777 ms) : 0, 21777
section iast
BytebuddyAgent [baseline] (832.732 ms) : 0, 832732
BytebuddyAgent [candidate] (833.845 ms) : 0, 833845
GlobalTracer [baseline] (230.653 ms) : 0, 230653
GlobalTracer [candidate] (230.527 ms) : 0, 230527
AppSec [baseline] (53.746 ms) : 0, 53746
AppSec [candidate] (52.985 ms) : 0, 52985
Remote Config [baseline] (613.897 µs) : 0, 614
Remote Config [candidate] (606.445 µs) : 0, 606
Telemetry [baseline] (8.66 ms) : 0, 8660
Telemetry [candidate] (8.638 ms) : 0, 8638
IAST [baseline] (25.402 ms) : 0, 25402
IAST [candidate] (26.321 ms) : 0, 26321
section profiling
ProfilingAgent [baseline] (95.41 ms) : 0, 95410
ProfilingAgent [candidate] (95.388 ms) : 0, 95388
BytebuddyAgent [baseline] (706.175 ms) : 0, 706175
BytebuddyAgent [candidate] (704.438 ms) : 0, 704438
GlobalTracer [baseline] (350.36 ms) : 0, 350360
GlobalTracer [candidate] (351.497 ms) : 0, 351497
AppSec [baseline] (55.318 ms) : 0, 55318
AppSec [candidate] (53.978 ms) : 0, 53978
Remote Config [baseline] (698.06 µs) : 0, 698
Remote Config [candidate] (715.053 µs) : 0, 715
Telemetry [baseline] (8.792 ms) : 0, 8792
Telemetry [candidate] (8.88 ms) : 0, 8880
Profiling [baseline] (95.434 ms) : 0, 95434
Profiling [candidate] (95.412 ms) : 0, 95412
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 insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.46.0-SNAPSHOT~2eac34e214, baseline=1.46.0-SNAPSHOT~a6b67c32c5
dateFormat X
axisFormat %s
section baseline
no_agent (381.721 µs) : 361, 403
. : milestone, 382,
iast (513.099 µs) : 490, 536
. : milestone, 513,
iast_FULL (754.552 µs) : 732, 777
. : milestone, 755,
iast_GLOBAL (555.704 µs) : 533, 579
. : milestone, 556,
iast_HARDCODED_SECRET_DISABLED (514.77 µs) : 491, 538
. : milestone, 515,
iast_INACTIVE (464.022 µs) : 443, 485
. : milestone, 464,
iast_TELEMETRY_OFF (511.13 µs) : 487, 535
. : milestone, 511,
tracing (455.672 µs) : 435, 477
. : milestone, 456,
section candidate
no_agent (389.671 µs) : 370, 409
. : milestone, 390,
iast (517.611 µs) : 494, 541
. : milestone, 518,
iast_FULL (749.673 µs) : 728, 771
. : milestone, 750,
iast_GLOBAL (555.08 µs) : 533, 577
. : milestone, 555,
iast_HARDCODED_SECRET_DISABLED (515.406 µs) : 492, 538
. : milestone, 515,
iast_INACTIVE (463.554 µs) : 442, 485
. : milestone, 464,
iast_TELEMETRY_OFF (499.715 µs) : 477, 523
. : milestone, 500,
tracing (459.436 µs) : 438, 481
. : milestone, 459,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.46.0-SNAPSHOT~2eac34e214, baseline=1.46.0-SNAPSHOT~a6b67c32c5
dateFormat X
axisFormat %s
section baseline
no_agent (1.351 ms) : 1331, 1370
. : milestone, 1351,
appsec (1.742 ms) : 1718, 1766
. : milestone, 1742,
appsec_no_iast (1.752 ms) : 1726, 1778
. : milestone, 1752,
iast (1.499 ms) : 1475, 1523
. : milestone, 1499,
profiling (1.53 ms) : 1507, 1553
. : milestone, 1530,
tracing (1.489 ms) : 1464, 1514
. : milestone, 1489,
section candidate
no_agent (1.361 ms) : 1341, 1382
. : milestone, 1361,
appsec (1.759 ms) : 1736, 1783
. : milestone, 1759,
appsec_no_iast (1.77 ms) : 1747, 1793
. : milestone, 1770,
iast (1.512 ms) : 1487, 1536
. : milestone, 1512,
profiling (1.52 ms) : 1497, 1543
. : milestone, 1520,
tracing (1.503 ms) : 1477, 1528
. : milestone, 1503,
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~2eac34e214, baseline=1.46.0-SNAPSHOT~a6b67c32c5
dateFormat X
axisFormat %s
section baseline
no_agent (15.613 s) : 15613000, 15613000
. : milestone, 15613000,
appsec (15.031 s) : 15031000, 15031000
. : milestone, 15031000,
iast (18.585 s) : 18585000, 18585000
. : milestone, 18585000,
iast_GLOBAL (17.983 s) : 17983000, 17983000
. : milestone, 17983000,
profiling (15.7 s) : 15700000, 15700000
. : milestone, 15700000,
tracing (14.857 s) : 14857000, 14857000
. : milestone, 14857000,
section candidate
no_agent (14.92 s) : 14920000, 14920000
. : milestone, 14920000,
appsec (15.033 s) : 15033000, 15033000
. : milestone, 15033000,
iast (18.513 s) : 18513000, 18513000
. : milestone, 18513000,
iast_GLOBAL (17.994 s) : 17994000, 17994000
. : milestone, 17994000,
profiling (15.132 s) : 15132000, 15132000
. : milestone, 15132000,
tracing (15.018 s) : 15018000, 15018000
. : milestone, 15018000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.46.0-SNAPSHOT~2eac34e214, baseline=1.46.0-SNAPSHOT~a6b67c32c5
dateFormat X
axisFormat %s
section baseline
no_agent (1.475 ms) : 1464, 1487
. : milestone, 1475,
appsec (2.378 ms) : 2334, 2421
. : milestone, 2378,
iast (2.122 ms) : 2067, 2177
. : milestone, 2122,
iast_GLOBAL (2.162 ms) : 2107, 2218
. : milestone, 2162,
profiling (1.966 ms) : 1923, 2010
. : milestone, 1966,
tracing (1.954 ms) : 1912, 1996
. : milestone, 1954,
section candidate
no_agent (1.477 ms) : 1465, 1488
. : milestone, 1477,
appsec (2.378 ms) : 2334, 2421
. : milestone, 2378,
iast (2.125 ms) : 2070, 2180
. : milestone, 2125,
iast_GLOBAL (2.16 ms) : 2105, 2215
. : milestone, 2160,
profiling (2.01 ms) : 1964, 2055
. : milestone, 2010,
tracing (1.957 ms) : 1915, 2000
. : milestone, 1957,
|
components/context/src/main/java/datadog/context/ContextHelpers.java
Outdated
Show resolved
Hide resolved
a41844e
to
d1483fa
Compare
d1483fa
to
6f7c96d
Compare
6f7c96d
to
2eac34e
Compare
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 - additional work will be needed to handle context implementations outside of the empty/single/indexed case, but that will be done in a separate PR (just thinking through the implications) and doesn't need to block merging of this PR
As the scope manager is not in place, there is currently no use for this API. |
| 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
This PR introduces few helper methods to help manipulate context and carrier collections.
Motivation
This should help with Context adoption and make its usage simpler while not enriching Context interface itself.
Additional Notes
The helper API comes from the Context API scratchpad discussions and are open to feedback.
The more we get, the best they will be.
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: LANGPLAT-39