-
Notifications
You must be signed in to change notification settings - Fork 293
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
Support distributed traces in tests #8078
Merged
nikita-tkachenko-datadog
merged 3 commits into
master
from
nikita-tkachenko/distributed-traces-in-test
Dec 12, 2024
Merged
Support distributed traces in tests #8078
nikita-tkachenko-datadog
merged 3 commits into
master
from
nikita-tkachenko/distributed-traces-in-test
Dec 12, 2024
+71
−85
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nikita-tkachenko-datadog
added
the
comp: ci visibility
Continuous Integration Visibility
label
Dec 11, 2024
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 54 metrics, 9 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.44.0-SNAPSHOT~8217a98e8f, baseline=1.44.0-SNAPSHOT~aa7092b92b
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.096 s) : 0, 1096002
Total [baseline] (8.679 s) : 0, 8679138
Agent [candidate] (1.096 s) : 0, 1096050
Total [candidate] (8.654 s) : 0, 8654492
section iast
Agent [baseline] (1.228 s) : 0, 1228213
Total [baseline] (9.208 s) : 0, 9208358
Agent [candidate] (1.219 s) : 0, 1219457
Total [candidate] (9.197 s) : 0, 9197367
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.226 s) : 0, 1226005
Total [baseline] (9.195 s) : 0, 9195439
Agent [candidate] (1.229 s) : 0, 1229250
Total [candidate] (9.265 s) : 0, 9264702
section iast_TELEMETRY_OFF
Agent [baseline] (1.216 s) : 0, 1216409
Total [baseline] (9.181 s) : 0, 9181125
Agent [candidate] (1.216 s) : 0, 1216004
Total [candidate] (9.194 s) : 0, 9194010
gantt
title insecure-bank - break down per module: candidate=1.44.0-SNAPSHOT~8217a98e8f, baseline=1.44.0-SNAPSHOT~aa7092b92b
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (696.328 ms) : 0, 696328
BytebuddyAgent [candidate] (696.275 ms) : 0, 696275
GlobalTracer [baseline] (319.682 ms) : 0, 319682
GlobalTracer [candidate] (318.094 ms) : 0, 318094
AppSec [baseline] (54.808 ms) : 0, 54808
AppSec [candidate] (54.459 ms) : 0, 54459
Remote Config [baseline] (685.091 µs) : 0, 685
Remote Config [candidate] (681.003 µs) : 0, 681
Telemetry [baseline] (10.75 ms) : 0, 10750
Telemetry [candidate] (12.78 ms) : 0, 12780
section iast
BytebuddyAgent [baseline] (818.82 ms) : 0, 818820
BytebuddyAgent [candidate] (812.457 ms) : 0, 812457
GlobalTracer [baseline] (307.794 ms) : 0, 307794
GlobalTracer [candidate] (305.85 ms) : 0, 305850
AppSec [baseline] (57.477 ms) : 0, 57477
AppSec [candidate] (58.18 ms) : 0, 58180
IAST [baseline] (22.009 ms) : 0, 22009
IAST [candidate] (20.987 ms) : 0, 20987
Remote Config [baseline] (648.177 µs) : 0, 648
Remote Config [candidate] (644.043 µs) : 0, 644
Telemetry [baseline] (7.621 ms) : 0, 7621
Telemetry [candidate] (7.571 ms) : 0, 7571
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (817.376 ms) : 0, 817376
BytebuddyAgent [candidate] (818.954 ms) : 0, 818954
GlobalTracer [baseline] (307.086 ms) : 0, 307086
GlobalTracer [candidate] (308.575 ms) : 0, 308575
AppSec [baseline] (56.531 ms) : 0, 56531
AppSec [candidate] (57.506 ms) : 0, 57506
IAST [baseline] (23.021 ms) : 0, 23021
IAST [candidate] (22.144 ms) : 0, 22144
Remote Config [baseline] (629.393 µs) : 0, 629
Remote Config [candidate] (632.901 µs) : 0, 633
Telemetry [baseline] (7.539 ms) : 0, 7539
Telemetry [candidate] (7.563 ms) : 0, 7563
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (809.863 ms) : 0, 809863
BytebuddyAgent [candidate] (809.412 ms) : 0, 809412
GlobalTracer [baseline] (306.257 ms) : 0, 306257
GlobalTracer [candidate] (306.147 ms) : 0, 306147
AppSec [baseline] (57.009 ms) : 0, 57009
AppSec [candidate] (57.988 ms) : 0, 57988
IAST [baseline] (21.401 ms) : 0, 21401
IAST [candidate] (20.556 ms) : 0, 20556
Remote Config [baseline] (645.331 µs) : 0, 645
Remote Config [candidate] (643.887 µs) : 0, 644
Telemetry [baseline] (7.471 ms) : 0, 7471
Telemetry [candidate] (7.498 ms) : 0, 7498
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.44.0-SNAPSHOT~8217a98e8f, baseline=1.44.0-SNAPSHOT~aa7092b92b
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.09 s) : 0, 1090417
Total [baseline] (10.455 s) : 0, 10455111
Agent [candidate] (1.091 s) : 0, 1090589
Total [candidate] (10.45 s) : 0, 10450254
section appsec
Agent [baseline] (1.232 s) : 0, 1232020
Total [baseline] (10.796 s) : 0, 10796128
Agent [candidate] (1.224 s) : 0, 1223809
Total [candidate] (10.75 s) : 0, 10750386
section iast
Agent [baseline] (1.22 s) : 0, 1219840
Total [baseline] (11.095 s) : 0, 11094816
Agent [candidate] (1.232 s) : 0, 1231595
Total [candidate] (10.983 s) : 0, 10982983
section profiling
Agent [baseline] (1.344 s) : 0, 1343818
Total [baseline] (10.918 s) : 0, 10918234
Agent [candidate] (1.316 s) : 0, 1315703
Total [candidate] (10.805 s) : 0, 10804730
gantt
title petclinic - break down per module: candidate=1.44.0-SNAPSHOT~8217a98e8f, baseline=1.44.0-SNAPSHOT~aa7092b92b
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (693.949 ms) : 0, 693949
BytebuddyAgent [candidate] (692.86 ms) : 0, 692860
GlobalTracer [baseline] (317.245 ms) : 0, 317245
GlobalTracer [candidate] (317.405 ms) : 0, 317405
AppSec [baseline] (54.239 ms) : 0, 54239
AppSec [candidate] (54.546 ms) : 0, 54546
Remote Config [baseline] (687.014 µs) : 0, 687
Remote Config [candidate] (681.367 µs) : 0, 681
Telemetry [baseline] (10.552 ms) : 0, 10552
Telemetry [candidate] (11.378 ms) : 0, 11378
section appsec
BytebuddyAgent [baseline] (715.674 ms) : 0, 715674
BytebuddyAgent [candidate] (710.393 ms) : 0, 710393
GlobalTracer [baseline] (315.923 ms) : 0, 315923
GlobalTracer [candidate] (314.074 ms) : 0, 314074
AppSec [baseline] (168.129 ms) : 0, 168129
AppSec [candidate] (166.629 ms) : 0, 166629
Remote Config [baseline] (650.781 µs) : 0, 651
Remote Config [candidate] (652.197 µs) : 0, 652
Telemetry [baseline] (7.767 ms) : 0, 7767
Telemetry [candidate] (8.47 ms) : 0, 8470
IAST [baseline] (20.083 ms) : 0, 20083
IAST [candidate] (19.77 ms) : 0, 19770
section iast
BytebuddyAgent [baseline] (811.824 ms) : 0, 811824
BytebuddyAgent [candidate] (822.632 ms) : 0, 822632
GlobalTracer [baseline] (306.053 ms) : 0, 306053
GlobalTracer [candidate] (307.763 ms) : 0, 307763
AppSec [baseline] (57.834 ms) : 0, 57834
AppSec [candidate] (57.987 ms) : 0, 57987
Remote Config [baseline] (629.212 µs) : 0, 629
Remote Config [candidate] (621.745 µs) : 0, 622
Telemetry [baseline] (7.615 ms) : 0, 7615
Telemetry [candidate] (7.524 ms) : 0, 7524
IAST [baseline] (22.09 ms) : 0, 22090
IAST [candidate] (21.144 ms) : 0, 21144
section profiling
ProfilingAgent [baseline] (96.056 ms) : 0, 96056
ProfilingAgent [candidate] (93.489 ms) : 0, 93489
BytebuddyAgent [baseline] (702.809 ms) : 0, 702809
BytebuddyAgent [candidate] (688.981 ms) : 0, 688981
GlobalTracer [baseline] (441.848 ms) : 0, 441848
GlobalTracer [candidate] (431.946 ms) : 0, 431946
AppSec [baseline] (54.602 ms) : 0, 54602
AppSec [candidate] (53.64 ms) : 0, 53640
Remote Config [baseline] (676.665 µs) : 0, 677
Remote Config [candidate] (652.514 µs) : 0, 653
Telemetry [baseline] (7.84 ms) : 0, 7840
Telemetry [candidate] (7.672 ms) : 0, 7672
Profiling [baseline] (96.08 ms) : 0, 96080
Profiling [candidate] (93.513 ms) : 0, 93513
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.44.0-SNAPSHOT~8217a98e8f, baseline=1.44.0-SNAPSHOT~aa7092b92b
dateFormat X
axisFormat %s
section baseline
no_agent (381.397 µs) : 361, 402
. : milestone, 381,
iast (495.469 µs) : 474, 517
. : milestone, 495,
iast_FULL (654.898 µs) : 633, 676
. : milestone, 655,
iast_GLOBAL (519.8 µs) : 498, 542
. : milestone, 520,
iast_HARDCODED_SECRET_DISABLED (489.439 µs) : 468, 511
. : milestone, 489,
iast_INACTIVE (456.672 µs) : 435, 478
. : milestone, 457,
iast_TELEMETRY_OFF (485.15 µs) : 464, 507
. : milestone, 485,
tracing (452.884 µs) : 432, 474
. : milestone, 453,
section candidate
no_agent (378.711 µs) : 359, 399
. : milestone, 379,
iast (498.275 µs) : 476, 520
. : milestone, 498,
iast_FULL (652.202 µs) : 631, 674
. : milestone, 652,
iast_GLOBAL (517.472 µs) : 496, 539
. : milestone, 517,
iast_HARDCODED_SECRET_DISABLED (494.488 µs) : 473, 516
. : milestone, 494,
iast_INACTIVE (456.446 µs) : 435, 478
. : milestone, 456,
iast_TELEMETRY_OFF (488.138 µs) : 466, 510
. : milestone, 488,
tracing (447.582 µs) : 427, 468
. : milestone, 448,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.44.0-SNAPSHOT~8217a98e8f, baseline=1.44.0-SNAPSHOT~aa7092b92b
dateFormat X
axisFormat %s
section baseline
no_agent (1.354 ms) : 1335, 1374
. : milestone, 1354,
appsec (1.742 ms) : 1718, 1765
. : milestone, 1742,
appsec_no_iast (1.762 ms) : 1736, 1788
. : milestone, 1762,
iast (1.506 ms) : 1483, 1529
. : milestone, 1506,
profiling (1.528 ms) : 1503, 1552
. : milestone, 1528,
tracing (1.485 ms) : 1459, 1510
. : milestone, 1485,
section candidate
no_agent (1.365 ms) : 1344, 1386
. : milestone, 1365,
appsec (1.752 ms) : 1729, 1776
. : milestone, 1752,
appsec_no_iast (1.766 ms) : 1742, 1790
. : milestone, 1766,
iast (1.524 ms) : 1502, 1546
. : milestone, 1524,
profiling (1.52 ms) : 1497, 1544
. : milestone, 1520,
tracing (1.475 ms) : 1449, 1501
. : milestone, 1475,
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 tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.44.0-SNAPSHOT~8217a98e8f, baseline=1.44.0-SNAPSHOT~aa7092b92b
dateFormat X
axisFormat %s
section baseline
no_agent (1.466 ms) : 1454, 1477
. : milestone, 1466,
appsec (2.336 ms) : 2294, 2377
. : milestone, 2336,
iast (2.079 ms) : 2026, 2131
. : milestone, 2079,
iast_GLOBAL (2.129 ms) : 2076, 2182
. : milestone, 2129,
profiling (1.956 ms) : 1913, 2000
. : milestone, 1956,
tracing (1.931 ms) : 1890, 1972
. : milestone, 1931,
section candidate
no_agent (1.462 ms) : 1450, 1473
. : milestone, 1462,
appsec (2.333 ms) : 2291, 2374
. : milestone, 2333,
iast (2.078 ms) : 2025, 2131
. : milestone, 2078,
iast_GLOBAL (2.12 ms) : 2067, 2173
. : milestone, 2120,
profiling (1.931 ms) : 1889, 1973
. : milestone, 1931,
tracing (1.925 ms) : 1884, 1966
. : milestone, 1925,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.44.0-SNAPSHOT~8217a98e8f, baseline=1.44.0-SNAPSHOT~aa7092b92b
dateFormat X
axisFormat %s
section baseline
no_agent (14.992 s) : 14992000, 14992000
. : milestone, 14992000,
appsec (14.838 s) : 14838000, 14838000
. : milestone, 14838000,
iast (18.806 s) : 18806000, 18806000
. : milestone, 18806000,
iast_GLOBAL (17.9 s) : 17900000, 17900000
. : milestone, 17900000,
profiling (15.331 s) : 15331000, 15331000
. : milestone, 15331000,
tracing (15.01 s) : 15010000, 15010000
. : milestone, 15010000,
section candidate
no_agent (15.423 s) : 15423000, 15423000
. : milestone, 15423000,
appsec (15.152 s) : 15152000, 15152000
. : milestone, 15152000,
iast (19.123 s) : 19123000, 19123000
. : milestone, 19123000,
iast_GLOBAL (18.043 s) : 18043000, 18043000
. : milestone, 18043000,
profiling (15.098 s) : 15098000, 15098000
. : milestone, 15098000,
tracing (14.837 s) : 14837000, 14837000
. : milestone, 14837000,
|
juan-fernandez
approved these changes
Dec 12, 2024
nikita-tkachenko-datadog
deleted the
nikita-tkachenko/distributed-traces-in-test
branch
December 12, 2024 11:16
svc-squareup-copybara
pushed a commit
to cashapp/misk
that referenced
this pull request
Dec 16, 2024
| Package | Type | Package file | Manager | Update | Change | |---|---|---|---|---|---| | [com.google.api.grpc:proto-google-common-protos](https://github.com/googleapis/sdk-platform-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.49.0` -> `2.50.0` | | [com.google.cloud:google-cloud-core-http](https://github.com/googleapis/sdk-platform-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.48.0` -> `2.49.0` | | [com.google.cloud:google-cloud-spanner](https://github.com/googleapis/java-spanner) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `6.82.0` -> `6.83.0` | | [com.google.cloud:google-cloud-logging](https://github.com/googleapis/java-logging) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `3.20.7` -> `3.21.0` | | [com.google.cloud:google-cloud-datastore](https://github.com/googleapis/java-datastore) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.24.3` -> `2.25.1` | | [com.google.cloud:google-cloud-core](https://github.com/googleapis/sdk-platform-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.48.0` -> `2.49.0` | | [com.google.api:gax](https://github.com/googleapis/sdk-platform-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `2.58.0` -> `2.59.0` | | [com.autonomousapps.dependency-analysis](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin) | plugin | misk/gradle/libs.versions.toml | gradle | patch | `2.6.0` -> `2.6.1` | | [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.43.0` -> `1.44.1` | | [com.datadoghq:dd-trace-ot](https://github.com/datadog/dd-trace-java) | dependencies | misk/gradle/libs.versions.toml | gradle | minor | `1.43.0` -> `1.44.1` | | [software.amazon.awssdk:sdk-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.29.32` -> `2.29.34` | | [software.amazon.awssdk:dynamodb-enhanced](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.29.32` -> `2.29.34` | | [software.amazon.awssdk:dynamodb](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.29.32` -> `2.29.34` | | [software.amazon.awssdk:aws-core](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.29.32` -> `2.29.34` | | [software.amazon.awssdk:bom](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.29.32` -> `2.29.34` | | [software.amazon.awssdk:auth](https://aws.amazon.com/sdkforjava) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `2.29.32` -> `2.29.34` | | [com.amazonaws:aws-java-sdk-sqs](https://aws.amazon.com/sdkforjava) ([source](https://github.com/aws/aws-sdk-java)) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `1.12.779` -> `1.12.780` | | [com.amazonaws:aws-java-sdk-s3](https://aws.amazon.com/sdkforjava) ([source](https://github.com/aws/aws-sdk-java)) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `1.12.779` -> `1.12.780` | | [com.amazonaws:aws-java-sdk-dynamodb](https://aws.amazon.com/sdkforjava) ([source](https://github.com/aws/aws-sdk-java)) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `1.12.779` -> `1.12.780` | | [com.amazonaws:aws-java-sdk-core](https://aws.amazon.com/sdkforjava) ([source](https://github.com/aws/aws-sdk-java)) | dependencies | misk/gradle/libs.versions.toml | gradle | patch | `1.12.779` -> `1.12.780` | --- ### Release Notes <details> <summary>googleapis/sdk-platform-java (com.google.api.grpc:proto-google-common-protos)</summary> ### [`v2.50.0`](https://github.com/googleapis/sdk-platform-java/blob/HEAD/CHANGELOG.md#2500-2024-11-14) ##### Features - Add experimental S2A integration in client libraries grpc transport ([#​3326](googleapis/sdk-platform-java#3326)) ([1138ca6](googleapis/sdk-platform-java@1138ca6)) - enable selective generation based on service config include list ([#​3323](googleapis/sdk-platform-java#3323)) ([0cddadb](googleapis/sdk-platform-java@0cddadb)) - introduce `java.time` to java-core ([#​3330](googleapis/sdk-platform-java#3330)) ([f202c3b](googleapis/sdk-platform-java@f202c3b)) - Update Gapic-Generator to generate libraries using `java.time` methods ([#​3321](googleapis/sdk-platform-java#3321)) ([b21c9a4](googleapis/sdk-platform-java@b21c9a4)) ##### Bug Fixes - Fix flaky test ScheduledRetryingExecutorTest.testCancelOuterFutureAfterStart ([#​3335](googleapis/sdk-platform-java#3335)) ([e73740d](googleapis/sdk-platform-java@e73740d)) - httpjson callables to trace attempts (started, failed) ([#​3300](googleapis/sdk-platform-java#3300)) ([15a64ee](googleapis/sdk-platform-java@15a64ee)) - instantiate GaxProperties at build time to ensure we get the protobuf version ([#​3365](googleapis/sdk-platform-java#3365)) ([bb2a3be](googleapis/sdk-platform-java@bb2a3be)) - protobuf version not always getting set in headers ([#​3322](googleapis/sdk-platform-java#3322)) ([7f6e470](googleapis/sdk-platform-java@7f6e470)) - use BuildKit instead of legacy builder to build the Hermetic Build images ([#​3338](googleapis/sdk-platform-java#3338)) ([222fb45](googleapis/sdk-platform-java@222fb45)) ##### Dependencies - update google auth library dependencies to v1.30.0 ([#​3367](googleapis/sdk-platform-java#3367)) ([a31c682](googleapis/sdk-platform-java@a31c682)) - update grpc dependencies to v1.68.1 ([#​3240](googleapis/sdk-platform-java#3240)) ([c8e3941](googleapis/sdk-platform-java@c8e3941)) ##### Documentation - fix list num ([#​3356](googleapis/sdk-platform-java#3356)) ([b7d6296](googleapis/sdk-platform-java@b7d6296)) - **hermetic-build:** indicate usage of Docker Buildkit in development guide ([#​3337](googleapis/sdk-platform-java#3337)) ([01e742d](googleapis/sdk-platform-java@01e742d)) - modify hermetic build docs ([#​3331](googleapis/sdk-platform-java#3331)) ([25023af](googleapis/sdk-platform-java@25023af)) </details> <details> <summary>googleapis/java-spanner (com.google.cloud:google-cloud-spanner)</summary> ### [`v6.83.0`](https://github.com/googleapis/java-spanner/blob/HEAD/CHANGELOG.md#6830-2024-12-13) ##### Features - Add Metrics host for built in metrics ([#​3519](googleapis/java-spanner#3519)) ([4ed455a](googleapis/java-spanner@4ed455a)) - Add opt-in for using multiplexed sessions for blind writes ([#​3540](googleapis/java-spanner#3540)) ([216f53e](googleapis/java-spanner@216f53e)) - Add UUID in Spanner TypeCode enum ([41f83dc](googleapis/java-spanner@41f83dc)) - Introduce java.time variables and methods ([#​3495](googleapis/java-spanner#3495)) ([8a7d533](googleapis/java-spanner@8a7d533)) - **spanner:** Support multiplexed session for Partitioned operations ([#​3231](googleapis/java-spanner#3231)) ([4501a3e](googleapis/java-spanner@4501a3e)) - Support 'set local' for retry_aborts_internally ([#​3532](googleapis/java-spanner#3532)) ([331942f](googleapis/java-spanner@331942f)) ##### Bug Fixes - **deps:** Update the Java code generator (gapic-generator-java) to 2.51.0 ([41f83dc](googleapis/java-spanner@41f83dc)) ##### Dependencies - Update sdk platform java dependencies ([#​3549](googleapis/java-spanner#3549)) ([6235f0f](googleapis/java-spanner@6235f0f)) </details> <details> <summary>googleapis/java-logging (com.google.cloud:google-cloud-logging)</summary> ### [`v3.21.0`](https://github.com/googleapis/java-logging/blob/HEAD/CHANGELOG.md#3210-2024-12-13) ##### Features - Introduce `java.time` methods ([#​1729](googleapis/java-logging#1729)) ([323eb33](googleapis/java-logging@323eb33)) ##### Bug Fixes - **deps:** Update the Java code generator (gapic-generator-java) to 2.51.0 ([04d8868](googleapis/java-logging@04d8868)) ##### Dependencies - Update dependency io.opentelemetry:opentelemetry-bom to v1.45.0 ([#​1638](googleapis/java-logging#1638)) ([7e007d4](googleapis/java-logging@7e007d4)) - Update sdk platform java dependencies ([#​1736](googleapis/java-logging#1736)) ([88b4cdf](googleapis/java-logging@88b4cdf)) </details> <details> <summary>googleapis/java-datastore (com.google.cloud:google-cloud-datastore)</summary> ### [`v2.25.1`](https://github.com/googleapis/java-datastore/blob/HEAD/CHANGELOG.md#2251-2024-12-13) ##### Bug Fixes - **deps:** Update the Java code generator (gapic-generator-java) to 2.51.0 ([106ee4d](googleapis/java-datastore@106ee4d)) ##### Dependencies - Update sdk platform java dependencies ([#​1685](googleapis/java-datastore#1685)) ([4372350](googleapis/java-datastore@4372350)) ### [`v2.25.0`](https://github.com/googleapis/java-datastore/blob/HEAD/CHANGELOG.md#2250-2024-12-11) ##### Features - Introduce `java.time` methods and variables ([#​1671](googleapis/java-datastore#1671)) ([5a78a80](googleapis/java-datastore@5a78a80)) ##### Dependencies - Update dependency com.google.cloud:gapic-libraries-bom to v1.48.0 ([#​1605](googleapis/java-datastore#1605)) ([5c6a678](googleapis/java-datastore@5c6a678)) ##### Documentation - Update gapic upgrade installation instructions ([#​1677](googleapis/java-datastore#1677)) ([b3fbfcc](googleapis/java-datastore@b3fbfcc)) </details> <details> <summary>autonomousapps/dependency-analysis-android-gradle-plugin (com.autonomousapps.dependency-analysis)</summary> ### [`v2.6.1`](https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin/blob/HEAD/CHANGELOG.md#Version-261) - \[Fix]: `superClassName` can be null (Object has no superclass). </details> <details> <summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary> ### [`v1.44.1`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.44.1): 1.44.1 ##### Components ##### Continuous Integration Visibility - 🐛 Fix tracing JUnit5 tests in Maven projects with multiple forks ([#​8089](DataDog/dd-trace-java#8089) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) ### [`v1.44.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.44.0): 1.44.0 ##### Known Issues > \[!WARNING]\ > This release contains a known issue that causes failures when using Test Optimization to trace JUnit 5 tests in a Maven project where Maven Surefire is configured with `forkCount` > 1. > The issue is fixed in v1.44.1 ##### Breaking Changes > \[!WARNING]\ > Support for `X-Forwarded` header is dropped from default client IP resolution. > It can still be re-activated using the `dd.trace.client-ip-header=x-forwarded` system property, or the `DD_TRACE_CLIENT_IP_HEADER=x-forwarded` environment variable. See [#​7946](DataDog/dd-trace-java#7946). ##### Components ##### Application Security Management (IAST) - ✨ Set unexpected IAST exceptions to debug log level ([#​8044](DataDog/dd-trace-java#8044) - [@​smola](https://github.com/smola)) - ✨ Increase IAST propagation to StringBuffer subSequence ([#​8038](DataDog/dd-trace-java#8038) - [@​Mariovido](https://github.com/Mariovido)) - ✨ Increase IAST propagation to StringBuilder subSequence ([#​8026](DataDog/dd-trace-java#8026) - [@​Mariovido](https://github.com/Mariovido)) - ✨ Add IAST propagation to String valueOf ([#​8013](DataDog/dd-trace-java#8013) - [@​Mariovido](https://github.com/Mariovido)) - ✨ Increase IAST propagation to StringBuilder append ([#​8010](DataDog/dd-trace-java#8010) - [@​Mariovido](https://github.com/Mariovido)) - ✨ Expand SSRF support in IAST to apache-httpclient-5 and apache-httpasyncclient-4 ([#​7920](DataDog/dd-trace-java#7920) - [@​Mariovido](https://github.com/Mariovido)) ##### Build & Tooling - ✨ Generate Muzzle classes for Groovy instrumentations ([#​8004](DataDog/dd-trace-java#8004) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) ##### Continuous Integration Visibility - ✨ Support distributed traces in tests ([#​8078](DataDog/dd-trace-java#8078) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Implement fail-fast tests ordering for JUnit 5 ([#​8055](DataDog/dd-trace-java#8055) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Mark JUnit 5 setup and teardown action spans as failed if there is an error ([#​8033](DataDog/dd-trace-java#8033) - [@​nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog)) - ✨ Add tracing of setup and teardown actions in JUnit 4 ([#​8030](DataDog/dd-trace-java#8030) - [@​daniel-mohedano](https://github.com/daniel-mohedano)) ##### Crash tracking - ✨ Improve crash tracking install logging ([#​8045](DataDog/dd-trace-java#8045) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) ##### Data Streams Monitoring - 🐛 Add Data Streams support in AWS SQS without raw message delivery ([#​8071](DataDog/dd-trace-java#8071) - [@​piochelepiotr](https://github.com/piochelepiotr)) - ✨ Add new tag for enabled products / features to DSM checkpoints ([#​8051](DataDog/dd-trace-java#8051) - [@​kr-igor](https://github.com/kr-igor)) - 💡 Instrument self hosted Kafka connectors ([#​7959](DataDog/dd-trace-java#7959) - [@​piochelepiotr](https://github.com/piochelepiotr)) ##### Dynamic Instrumentation - ✨ Add Micronaut 4 support for code origin for spans ([#​8039](DataDog/dd-trace-java#8039) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Refactor probe matching for methods ([#​8021](DataDog/dd-trace-java#8021) - [@​jpbempel](https://github.com/jpbempel)) - ✨ Update the CodeOriginProbe fingerprint to not rely on a stack walk ([#​8016](DataDog/dd-trace-java#8016) - [@​evanchooly](https://github.com/evanchooly)) - ✨ Implement code origin support for grpc server entry spans ([#​7942](DataDog/dd-trace-java#7942) - [@​evanchooly](https://github.com/evanchooly)) ##### GraalVM native-image - 🐛 Update Graal build-time instrumentation config for TracePropagationStyle ([#​8065](DataDog/dd-trace-java#8065) - [@​MattAlp](https://github.com/MattAlp)) - 🐛 Fix NoClassDefFoundError: Could not initialize class DDSpanLink$EncoderHolder in Graal native-image ([#​8036](DataDog/dd-trace-java#8036) - [@​mcculls](https://github.com/mcculls)) - 🐛🧹 Fix native-image generation of reactive applications ([#​8012](DataDog/dd-trace-java#8012) - [@​mcculls](https://github.com/mcculls)) ##### OpenTracing - 🧹 Custom ScopeManagers are deprecated and will be removed in a future release of dd-trace-ot ([#​8058](DataDog/dd-trace-java#8058) - [@​mcculls](https://github.com/mcculls)) ##### Tracer core - ✨🧪 Service naming: split by jee deployment ([#​8064](DataDog/dd-trace-java#8064) - [@​amarziali](https://github.com/amarziali)) - ✨ Exclude jboss mdb proxies from instrumenting ([#​8061](DataDog/dd-trace-java#8061) - [@​amarziali](https://github.com/amarziali)) - ✨ Add a built-in trace interceptor for keeping traces depending of their latency ([#​8040](DataDog/dd-trace-java#8040) - [@​cecile75](https://github.com/cecile75)) - 💡 Introduce marker mechanism for eagerly initializing helpers ([#​8028](DataDog/dd-trace-java#8028) - [@​mcculls](https://github.com/mcculls)) - 💡 Add JSON component ([#​7973](DataDog/dd-trace-java#7973) - [@​PerfectSlayer](https://github.com/PerfectSlayer)) - ✨⚠️ Remove support for X-Forwarded in client IP resolution ([#​7946](DataDog/dd-trace-java#7946) - [@​smola](https://github.com/smola)) ##### Instrumentations ##### Apache HttpComponents - ✨ Expand SSRF support in IAST to apache-httpclient-5 and apache-httpasyncclient-4 ([#​7920](DataDog/dd-trace-java#7920) - [@​Mariovido](https://github.com/Mariovido)) ##### gRPC instrumentation - 🐛 Use lower priorities for grpc server errors ([#​8043](DataDog/dd-trace-java#8043) - [@​amarziali](https://github.com/amarziali)) ##### JDBC instrumentation - ✨ Add trace injection for prepared statements in Postgres ([#​7940](DataDog/dd-trace-java#7940) - [@​nenadnoveljic](https://github.com/nenadnoveljic)) ##### JMS instrumentation - 🐛 Protect mdb from instrumenting multiple time the same event ([#​8062](DataDog/dd-trace-java#8062) - [@​amarziali](https://github.com/amarziali)) ##### Kafka instrumentation - 💡 Instrument self hosted Kafka connectors ([#​7959](DataDog/dd-trace-java#7959) - [@​piochelepiotr](https://github.com/piochelepiotr)) ##### OpenTelemetry instrumentation - 🐛 Support using OpenTelemetry Event API inside `@WithSpan` annotated method ([#​8019](DataDog/dd-trace-java#8019) - [@​mcculls](https://github.com/mcculls)) ##### Reactor instrumentation - 🐛🧹 Fix native-image generation of reactive applications ([#​8012](DataDog/dd-trace-java#8012) - [@​mcculls](https://github.com/mcculls)) ##### Spring instrumentation - 🐛 Avoid double instrumenting lambdas on latest spring scheduling ([#​8005](DataDog/dd-trace-java#8005) - [@​amarziali](https://github.com/amarziali)) ##### All other instrumentations - 🐛 Twilio: allow service name flattening ([#​8025](DataDog/dd-trace-java#8025) - [@​amarziali](https://github.com/amarziali)) - ✨ Instrument Mulesoft 4.5.0+ ([#​7981](DataDog/dd-trace-java#7981) - [@​amarziali](https://github.com/amarziali)) </details> <details> <summary>aws/aws-sdk-java (com.amazonaws:aws-java-sdk-sqs)</summary> ### [`v1.12.780`](https://github.com/aws/aws-sdk-java/blob/HEAD/CHANGELOG.md#112780-2024-12-11) [Compare Source](aws/aws-sdk-java@1.12.779...1.12.780) #### **Amazon Simple Storage Service** - ### Bugfixes - AWS SDK for Java 1.x now includes additional validation for Amazon S3 client APIs to handle scenarios where an empty string ('') is passed as the key argument to the following operations: PutObject, DeleteObject, ListObjects, GetObjectMetaData, ListObjectsV2, SetObjectTagging, GetObjectTagging, SetObjectAcl, GetObjectAcl, SetObjectLegalHold, GetObjectLegalHold, CopyObject, CopyPart, SelectObjectContent, SetObjectRetention, GetObjectRetention, AbortMultipartUpload, CompleteMultipartUpload, InitiateMultipartUpload, ListParts, UploadPart, RestoreObjectV2, and RestoreObject. The SDK will validate the key argument and throw an exception if it is an empty string, ensuring correct and expected behavior. </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: 69831bc62ea4d80cdcd42cef2aa9bd8eda28ae8c
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What Does This Do
Updates trace interceptor that drops anything that does not have a test/suite/module/session as local root span.
The updated interceptor will drop anything that does not originate from Test Visibility.
Motivation
Support distributed tracing in tests.
Since span origin is propagated for distributed traces, they will no longer be dropped if they originate from Test Visibility.
For example, a test case starts an HTTP server and makes a request to it.
Currently, a span gets created for the server-side handler, the trace ID and the parent ID are propagated as they should (via HTTP headers propagation), but the span gets discarded by the filter as its local root span does not belong to Test Visibility.
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: SDTEST-1325