Skip to content

Disable data streams http & grpc instrumentations by default #7839

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

Closed

Conversation

piochelepiotr
Copy link
Contributor

What Does This Do

We inject data streams context for http & grpc calls by default today in Java.

This was done for a few customers that are using http or grpc calls to transmit data in an asynchronous way.
However, the vast majority of the time, http & grpc instrumentations are noise for monitoring data streams.
This lead us to do a lot of logic on our backend to drop the http & grpc data.
However, this still leads to an overhead for the tracer, that is not needed.

We want to enable data streams stats collection by default for all customers (to ease onboarding), so we want to minimize the overhead we are adding by doing so.

That's why this PR is putting these two integrations behind flags.

Motivation

Additional Notes

Contributor Checklist

Jira ticket: [PROJ-IDENT]

@pr-commenter
Copy link

pr-commenter bot commented Oct 25, 2024

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master piotr-wolski/disable-http-grpc-dsm-tracking
git_commit_date 1730886991 1730911530
git_commit_sha 8233fc5 c282bd7
release_version 1.43.0-SNAPSHOT~8233fc5ff8 1.42.0-SNAPSHOT~c282bd7660
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1730913878 1730913878
ci_job_id 697715887 697715887
ci_pipeline_id 48368279 48368279
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
module Agent Agent
parent None None
variant iast iast

Summary

Found 2 performance improvements and 0 performance regressions! Performance is the same for 51 metrics, 10 unstable metrics.

scenario Δ mean execution_time candidate mean execution_time baseline mean execution_time
scenario:startup:petclinic:profiling:ProfilingAgent better
[-8.475ms; -5.248ms] or [-8.820%; -5.461%]
89.227ms 96.089ms
scenario:startup:petclinic:profiling:Profiling better
[-8.475ms; -5.248ms] or [-8.818%; -5.460%]
89.251ms 96.112ms
Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.42.0-SNAPSHOT~c282bd7660, baseline=1.43.0-SNAPSHOT~8233fc5ff8

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.084 s) : 0, 1083925
Total [baseline] (10.408 s) : 0, 10408233
Agent [candidate] (1.083 s) : 0, 1082660
Total [candidate] (10.411 s) : 0, 10410721
section appsec
Agent [baseline] (1.22 s) : 0, 1219619
Total [baseline] (10.671 s) : 0, 10671376
Agent [candidate] (1.217 s) : 0, 1217353
Total [candidate] (10.689 s) : 0, 10689201
section iast
Agent [baseline] (1.221 s) : 0, 1220529
Total [baseline] (10.887 s) : 0, 10887023
Agent [candidate] (1.218 s) : 0, 1218392
Total [candidate] (10.936 s) : 0, 10936095
section profiling
Agent [baseline] (1.282 s) : 0, 1282202
Total [baseline] (10.843 s) : 0, 10842906
Agent [candidate] (1.28 s) : 0, 1280412
Total [candidate] (10.728 s) : 0, 10727517
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.084 s -
Agent appsec 1.22 s 135.694 ms (12.5%)
Agent iast 1.221 s 136.604 ms (12.6%)
Agent profiling 1.282 s 198.277 ms (18.3%)
Total tracing 10.408 s -
Total appsec 10.671 s 263.143 ms (2.5%)
Total iast 10.887 s 478.79 ms (4.6%)
Total profiling 10.843 s 434.673 ms (4.2%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.083 s -
Agent appsec 1.217 s 134.693 ms (12.4%)
Agent iast 1.218 s 135.732 ms (12.5%)
Agent profiling 1.28 s 197.752 ms (18.3%)
Total tracing 10.411 s -
Total appsec 10.689 s 278.48 ms (2.7%)
Total iast 10.936 s 525.373 ms (5.0%)
Total profiling 10.728 s 316.796 ms (3.0%)
gantt
    title petclinic - break down per module: candidate=1.42.0-SNAPSHOT~c282bd7660, baseline=1.43.0-SNAPSHOT~8233fc5ff8

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (688.406 ms) : 0, 688406
BytebuddyAgent [candidate] (687.348 ms) : 0, 687348
GlobalTracer [baseline] (317.514 ms) : 0, 317514
GlobalTracer [candidate] (316.644 ms) : 0, 316644
AppSec [baseline] (54.36 ms) : 0, 54360
AppSec [candidate] (54.198 ms) : 0, 54198
Remote Config [baseline] (682.302 µs) : 0, 682
Remote Config [candidate] (670.484 µs) : 0, 670
Telemetry [baseline] (9.172 ms) : 0, 9172
Telemetry [candidate] (10.028 ms) : 0, 10028
section appsec
BytebuddyAgent [baseline] (705.36 ms) : 0, 705360
BytebuddyAgent [candidate] (704.921 ms) : 0, 704921
GlobalTracer [baseline] (314.756 ms) : 0, 314756
GlobalTracer [candidate] (314.075 ms) : 0, 314075
AppSec [baseline] (167.779 ms) : 0, 167779
AppSec [candidate] (166.526 ms) : 0, 166526
Remote Config [baseline] (643.423 µs) : 0, 643
Remote Config [candidate] (638.565 µs) : 0, 639
Telemetry [baseline] (7.469 ms) : 0, 7469
Telemetry [candidate] (8.146 ms) : 0, 8146
IAST [baseline] (19.732 ms) : 0, 19732
IAST [candidate] (18.544 ms) : 0, 18544
section iast
BytebuddyAgent [baseline] (811.689 ms) : 0, 811689
BytebuddyAgent [candidate] (810.609 ms) : 0, 810609
GlobalTracer [baseline] (307.694 ms) : 0, 307694
GlobalTracer [candidate] (307.304 ms) : 0, 307304
AppSec [baseline] (57.137 ms) : 0, 57137
AppSec [candidate] (57.755 ms) : 0, 57755
Remote Config [baseline] (625.636 µs) : 0, 626
Remote Config [candidate] (630.992 µs) : 0, 631
Telemetry [baseline] (7.621 ms) : 0, 7621
Telemetry [candidate] (7.588 ms) : 0, 7588
IAST [baseline] (21.865 ms) : 0, 21865
IAST [candidate] (20.568 ms) : 0, 20568
section profiling
ProfilingAgent [baseline] (96.089 ms) : 0, 96089
ProfilingAgent [candidate] (89.227 ms) : 0, 89227
BytebuddyAgent [baseline] (683.427 ms) : 0, 683427
BytebuddyAgent [candidate] (682.278 ms) : 0, 682278
GlobalTracer [baseline] (399.736 ms) : 0, 399736
GlobalTracer [candidate] (400.009 ms) : 0, 400009
AppSec [baseline] (54.605 ms) : 0, 54605
AppSec [candidate] (54.54 ms) : 0, 54540
Remote Config [baseline] (683.467 µs) : 0, 683
Remote Config [candidate] (678.331 µs) : 0, 678
Telemetry [baseline] (8.624 ms) : 0, 8624
Telemetry [candidate] (14.779 ms) : 0, 14779
Profiling [baseline] (96.112 ms) : 0, 96112
Profiling [candidate] (89.251 ms) : 0, 89251
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.42.0-SNAPSHOT~c282bd7660, baseline=1.43.0-SNAPSHOT~8233fc5ff8

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.086 s) : 0, 1085961
Total [baseline] (8.593 s) : 0, 8592970
Agent [candidate] (1.088 s) : 0, 1087819
Total [candidate] (8.582 s) : 0, 8581896
section iast
Agent [baseline] (1.233 s) : 0, 1232787
Total [baseline] (9.166 s) : 0, 9166071
Agent [candidate] (1.211 s) : 0, 1210806
Total [candidate] (9.093 s) : 0, 9092620
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.213 s) : 0, 1212896
Total [baseline] (9.119 s) : 0, 9118694
Agent [candidate] (1.209 s) : 0, 1208958
Total [candidate] (9.092 s) : 0, 9091688
section iast_TELEMETRY_OFF
Agent [baseline] (1.217 s) : 0, 1216868
Total [baseline] (9.191 s) : 0, 9191171
Agent [candidate] (1.205 s) : 0, 1204640
Total [candidate] (9.099 s) : 0, 9099001
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.086 s -
Agent iast 1.233 s 146.826 ms (13.5%)
Agent iast_HARDCODED_SECRET_DISABLED 1.213 s 126.935 ms (11.7%)
Agent iast_TELEMETRY_OFF 1.217 s 130.907 ms (12.1%)
Total tracing 8.593 s -
Total iast 9.166 s 573.1 ms (6.7%)
Total iast_HARDCODED_SECRET_DISABLED 9.119 s 525.723 ms (6.1%)
Total iast_TELEMETRY_OFF 9.191 s 598.201 ms (7.0%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.088 s -
Agent iast 1.211 s 122.987 ms (11.3%)
Agent iast_HARDCODED_SECRET_DISABLED 1.209 s 121.139 ms (11.1%)
Agent iast_TELEMETRY_OFF 1.205 s 116.82 ms (10.7%)
Total tracing 8.582 s -
Total iast 9.093 s 510.724 ms (6.0%)
Total iast_HARDCODED_SECRET_DISABLED 9.092 s 509.792 ms (5.9%)
Total iast_TELEMETRY_OFF 9.099 s 517.105 ms (6.0%)
gantt
    title insecure-bank - break down per module: candidate=1.42.0-SNAPSHOT~c282bd7660, baseline=1.43.0-SNAPSHOT~8233fc5ff8

    dateFormat X
    axisFormat %s
section tracing
BytebuddyAgent [baseline] (689.111 ms) : 0, 689111
BytebuddyAgent [candidate] (689.292 ms) : 0, 689292
GlobalTracer [baseline] (317.372 ms) : 0, 317372
GlobalTracer [candidate] (316.927 ms) : 0, 316927
AppSec [baseline] (54.466 ms) : 0, 54466
AppSec [candidate] (54.267 ms) : 0, 54267
Remote Config [baseline] (671.665 µs) : 0, 672
Remote Config [candidate] (678.647 µs) : 0, 679
Telemetry [baseline] (10.524 ms) : 0, 10524
Telemetry [candidate] (12.815 ms) : 0, 12815
section iast
BytebuddyAgent [baseline] (820.961 ms) : 0, 820961
BytebuddyAgent [candidate] (805.817 ms) : 0, 805817
GlobalTracer [baseline] (310.624 ms) : 0, 310624
GlobalTracer [candidate] (305.718 ms) : 0, 305718
AppSec [baseline] (57.386 ms) : 0, 57386
AppSec [candidate] (56.537 ms) : 0, 56537
IAST [baseline] (21.588 ms) : 0, 21588
IAST [candidate] (20.809 ms) : 0, 20809
Remote Config [baseline] (616.745 µs) : 0, 617
Remote Config [candidate] (605.102 µs) : 0, 605
Telemetry [baseline] (7.571 ms) : 0, 7571
Telemetry [candidate] (7.43 ms) : 0, 7430
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (806.335 ms) : 0, 806335
BytebuddyAgent [candidate] (803.812 ms) : 0, 803812
GlobalTracer [baseline] (306.242 ms) : 0, 306242
GlobalTracer [candidate] (305.608 ms) : 0, 305608
AppSec [baseline] (56.754 ms) : 0, 56754
AppSec [candidate] (56.68 ms) : 0, 56680
IAST [baseline] (21.543 ms) : 0, 21543
IAST [candidate] (20.89 ms) : 0, 20890
Remote Config [baseline] (643.937 µs) : 0, 644
Remote Config [candidate] (616.218 µs) : 0, 616
Telemetry [baseline] (7.525 ms) : 0, 7525
Telemetry [candidate] (7.532 ms) : 0, 7532
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (807.269 ms) : 0, 807269
BytebuddyAgent [candidate] (800.224 ms) : 0, 800224
GlobalTracer [baseline] (307.654 ms) : 0, 307654
GlobalTracer [candidate] (304.793 ms) : 0, 304793
AppSec [baseline] (56.696 ms) : 0, 56696
AppSec [candidate] (57.442 ms) : 0, 57442
IAST [baseline] (23.117 ms) : 0, 23117
IAST [candidate] (20.364 ms) : 0, 20364
Remote Config [baseline] (623.922 µs) : 0, 624
Remote Config [candidate] (609.038 µs) : 0, 609
Telemetry [baseline] (7.61 ms) : 0, 7610
Telemetry [candidate] (7.38 ms) : 0, 7380
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
end_time 2024-11-06T16:54:56 2024-11-06T17:01:50
git_branch master piotr-wolski/disable-http-grpc-dsm-tracking
git_commit_date 1730886991 1730911530
git_commit_sha 8233fc5 c282bd7
release_version 1.43.0-SNAPSHOT~8233fc5ff8 1.42.0-SNAPSHOT~c282bd7660
start_time 2024-11-06T16:54:43 2024-11-06T17:01:36
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1730912858 1730912858
ci_job_id 697715888 697715888
ci_pipeline_id 48368279 48368279
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
variant iast iast

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 16 unstable metrics.

Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.42.0-SNAPSHOT~c282bd7660, baseline=1.43.0-SNAPSHOT~8233fc5ff8
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.327 ms) : 1307, 1347
.   : milestone, 1327,
appsec (1.73 ms) : 1707, 1753
.   : milestone, 1730,
appsec_no_iast (1.71 ms) : 1685, 1734
.   : milestone, 1710,
iast (1.466 ms) : 1443, 1489
.   : milestone, 1466,
profiling (1.522 ms) : 1498, 1546
.   : milestone, 1522,
tracing (1.453 ms) : 1429, 1477
.   : milestone, 1453,
section candidate
no_agent (1.331 ms) : 1311, 1350
.   : milestone, 1331,
appsec (1.723 ms) : 1699, 1747
.   : milestone, 1723,
appsec_no_iast (1.716 ms) : 1692, 1740
.   : milestone, 1716,
iast (1.482 ms) : 1459, 1504
.   : milestone, 1482,
profiling (1.503 ms) : 1479, 1528
.   : milestone, 1503,
tracing (1.484 ms) : 1460, 1507
.   : milestone, 1484,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.327 ms [1.307 ms, 1.347 ms] -
appsec 1.73 ms [1.707 ms, 1.753 ms] 403.132 µs (30.4%)
appsec_no_iast 1.71 ms [1.685 ms, 1.734 ms] 382.802 µs (28.9%)
iast 1.466 ms [1.443 ms, 1.489 ms] 139.446 µs (10.5%)
profiling 1.522 ms [1.498 ms, 1.546 ms] 195.133 µs (14.7%)
tracing 1.453 ms [1.429 ms, 1.477 ms] 126.213 µs (9.5%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 1.331 ms [1.311 ms, 1.35 ms] -
appsec 1.723 ms [1.699 ms, 1.747 ms] 392.356 µs (29.5%)
appsec_no_iast 1.716 ms [1.692 ms, 1.74 ms] 385.3 µs (29.0%)
iast 1.482 ms [1.459 ms, 1.504 ms] 150.876 µs (11.3%)
profiling 1.503 ms [1.479 ms, 1.528 ms] 172.53 µs (13.0%)
tracing 1.484 ms [1.46 ms, 1.507 ms] 152.911 µs (11.5%)
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.42.0-SNAPSHOT~c282bd7660, baseline=1.43.0-SNAPSHOT~8233fc5ff8
    dateFormat X
    axisFormat %s
section baseline
no_agent (363.205 µs) : 343, 383
.   : milestone, 363,
iast (485.071 µs) : 464, 506
.   : milestone, 485,
iast_FULL (639.854 µs) : 618, 661
.   : milestone, 640,
iast_GLOBAL (503.577 µs) : 482, 525
.   : milestone, 504,
iast_HARDCODED_SECRET_DISABLED (484.686 µs) : 463, 506
.   : milestone, 485,
iast_INACTIVE (461.591 µs) : 440, 483
.   : milestone, 462,
iast_TELEMETRY_OFF (474.348 µs) : 453, 496
.   : milestone, 474,
tracing (438.67 µs) : 418, 459
.   : milestone, 439,
section candidate
no_agent (369.814 µs) : 350, 389
.   : milestone, 370,
iast (478.029 µs) : 457, 499
.   : milestone, 478,
iast_FULL (635.181 µs) : 613, 657
.   : milestone, 635,
iast_GLOBAL (508.744 µs) : 487, 531
.   : milestone, 509,
iast_HARDCODED_SECRET_DISABLED (477.679 µs) : 456, 499
.   : milestone, 478,
iast_INACTIVE (445.953 µs) : 425, 467
.   : milestone, 446,
iast_TELEMETRY_OFF (470.533 µs) : 449, 492
.   : milestone, 471,
tracing (444.049 µs) : 423, 465
.   : milestone, 444,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 363.205 µs [342.931 µs, 383.478 µs] -
iast 485.071 µs [463.736 µs, 506.405 µs] 121.866 µs (33.6%)
iast_FULL 639.854 µs [618.451 µs, 661.257 µs] 276.649 µs (76.2%)
iast_GLOBAL 503.577 µs [482.388 µs, 524.766 µs] 140.372 µs (38.6%)
iast_HARDCODED_SECRET_DISABLED 484.686 µs [463.228 µs, 506.143 µs] 121.481 µs (33.4%)
iast_INACTIVE 461.591 µs [440.371 µs, 482.811 µs] 98.386 µs (27.1%)
iast_TELEMETRY_OFF 474.348 µs [452.645 µs, 496.052 µs] 111.144 µs (30.6%)
tracing 438.67 µs [417.874 µs, 459.466 µs] 75.465 µs (20.8%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 369.814 µs [350.463 µs, 389.164 µs] -
iast 478.029 µs [456.73 µs, 499.329 µs] 108.216 µs (29.3%)
iast_FULL 635.181 µs [613.448 µs, 656.913 µs] 265.367 µs (71.8%)
iast_GLOBAL 508.744 µs [486.971 µs, 530.517 µs] 138.93 µs (37.6%)
iast_HARDCODED_SECRET_DISABLED 477.679 µs [456.417 µs, 498.941 µs] 107.865 µs (29.2%)
iast_INACTIVE 445.953 µs [424.633 µs, 467.273 µs] 76.139 µs (20.6%)
iast_TELEMETRY_OFF 470.533 µs [449.221 µs, 491.846 µs] 100.72 µs (27.2%)
tracing 444.049 µs [423.22 µs, 464.878 µs] 74.235 µs (20.1%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master piotr-wolski/disable-http-grpc-dsm-tracking
git_commit_date 1730886991 1730911530
git_commit_sha 8233fc5 c282bd7
release_version 1.43.0-SNAPSHOT~8233fc5ff8 1.42.0-SNAPSHOT~c282bd7660
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1730913514 1730913514
ci_job_id 697715889 697715889
ci_pipeline_id 48368279 48368279
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
variant appsec appsec

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 0 unstable metrics.

Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.42.0-SNAPSHOT~c282bd7660, baseline=1.43.0-SNAPSHOT~8233fc5ff8
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.463 ms) : 1452, 1475
.   : milestone, 1463,
appsec (2.331 ms) : 2290, 2372
.   : milestone, 2331,
iast (2.068 ms) : 2017, 2120
.   : milestone, 2068,
iast_GLOBAL (2.114 ms) : 2063, 2166
.   : milestone, 2114,
profiling (1.936 ms) : 1895, 1977
.   : milestone, 1936,
tracing (1.912 ms) : 1872, 1952
.   : milestone, 1912,
section candidate
no_agent (1.469 ms) : 1458, 1481
.   : milestone, 1469,
appsec (2.339 ms) : 2298, 2380
.   : milestone, 2339,
iast (2.07 ms) : 2019, 2122
.   : milestone, 2070,
iast_GLOBAL (2.126 ms) : 2073, 2179
.   : milestone, 2126,
profiling (1.943 ms) : 1900, 1985
.   : milestone, 1943,
tracing (1.921 ms) : 1880, 1961
.   : milestone, 1921,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.463 ms [1.452 ms, 1.475 ms] -
appsec 2.331 ms [2.29 ms, 2.372 ms] 867.905 µs (59.3%)
iast 2.068 ms [2.017 ms, 2.12 ms] 605.132 µs (41.4%)
iast_GLOBAL 2.114 ms [2.063 ms, 2.166 ms] 651.048 µs (44.5%)
profiling 1.936 ms [1.895 ms, 1.977 ms] 473.137 µs (32.3%)
tracing 1.912 ms [1.872 ms, 1.952 ms] 449.031 µs (30.7%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.469 ms [1.458 ms, 1.481 ms] -
appsec 2.339 ms [2.298 ms, 2.38 ms] 869.718 µs (59.2%)
iast 2.07 ms [2.019 ms, 2.122 ms] 600.84 µs (40.9%)
iast_GLOBAL 2.126 ms [2.073 ms, 2.179 ms] 656.683 µs (44.7%)
profiling 1.943 ms [1.9 ms, 1.985 ms] 473.277 µs (32.2%)
tracing 1.921 ms [1.88 ms, 1.961 ms] 451.131 µs (30.7%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.42.0-SNAPSHOT~c282bd7660, baseline=1.43.0-SNAPSHOT~8233fc5ff8
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.169 s) : 15169000, 15169000
.   : milestone, 15169000,
appsec (15.256 s) : 15256000, 15256000
.   : milestone, 15256000,
iast (19.166 s) : 19166000, 19166000
.   : milestone, 19166000,
iast_GLOBAL (18.128 s) : 18128000, 18128000
.   : milestone, 18128000,
profiling (15.488 s) : 15488000, 15488000
.   : milestone, 15488000,
tracing (15.134 s) : 15134000, 15134000
.   : milestone, 15134000,
section candidate
no_agent (15.586 s) : 15586000, 15586000
.   : milestone, 15586000,
appsec (16.24 s) : 16240000, 16240000
.   : milestone, 16240000,
iast (18.868 s) : 18868000, 18868000
.   : milestone, 18868000,
iast_GLOBAL (17.916 s) : 17916000, 17916000
.   : milestone, 17916000,
profiling (15.164 s) : 15164000, 15164000
.   : milestone, 15164000,
tracing (15.125 s) : 15125000, 15125000
.   : milestone, 15125000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.169 s [15.169 s, 15.169 s] -
appsec 15.256 s [15.256 s, 15.256 s] 87.0 ms (0.6%)
iast 19.166 s [19.166 s, 19.166 s] 3.997 s (26.3%)
iast_GLOBAL 18.128 s [18.128 s, 18.128 s] 2.959 s (19.5%)
profiling 15.488 s [15.488 s, 15.488 s] 319.0 ms (2.1%)
tracing 15.134 s [15.134 s, 15.134 s] -35.0 ms (-0.2%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.586 s [15.586 s, 15.586 s] -
appsec 16.24 s [16.24 s, 16.24 s] 654.0 ms (4.2%)
iast 18.868 s [18.868 s, 18.868 s] 3.282 s (21.1%)
iast_GLOBAL 17.916 s [17.916 s, 17.916 s] 2.33 s (14.9%)
profiling 15.164 s [15.164 s, 15.164 s] -422.0 ms (-2.7%)
tracing 15.125 s [15.125 s, 15.125 s] -461.0 ms (-3.0%)

@pr-commenter
Copy link

pr-commenter bot commented Nov 5, 2024

Kafka / producer-benchmark

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master piotr-wolski/disable-http-grpc-dsm-tracking
git_commit_date 1729847668 1730911530
git_commit_sha 7010cb8 c282bd7
See matching parameters
Baseline Candidate
ci_job_date 1730912623 1730912623
ci_job_id 697715891 697715891
ci_pipeline_id 48368279 48368279
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
jdkVersion 11.0.21 11.0.21
jmhVersion 1.36 1.36
jvm /usr/lib/jvm/java-11-openjdk-amd64/bin/java /usr/lib/jvm/java-11-openjdk-amd64/bin/java
jvmArgs -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/go/src/github.com/DataDog/apm-reliability/dd-trace-java/platform/src/producer-benchmark/build/tmp/jmh -Duser.country=US -Duser.language=en -Duser.variant -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/go/src/github.com/DataDog/apm-reliability/dd-trace-java/platform/src/producer-benchmark/build/tmp/jmh -Duser.country=US -Duser.language=en -Duser.variant
vmName OpenJDK 64-Bit Server VM OpenJDK 64-Bit Server VM
vmVersion 11.0.21+9-post-Ubuntu-0ubuntu122.04 11.0.21+9-post-Ubuntu-0ubuntu122.04

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 3 metrics, 0 unstable metrics.

See unchanged results
scenario Δ mean throughput
scenario:not-instrumented/KafkaProduceBenchmark.benchProduce same
scenario:only-tracing-dsm-disabled-benchmarks/KafkaProduceBenchmark.benchProduce same
scenario:only-tracing-dsm-enabled-benchmarks/KafkaProduceBenchmark.benchProduce same

testRuntimeOnly project(':dd-java-agent:instrumentation:java-io')
testRuntimeOnly project(':dd-java-agent:instrumentation:jackson-core')
testRuntimeOnly project(':dd-java-agent:instrumentation:jackson-core:jackson-core-2.8')
testImplementation(group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.10')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Library Vulnerability

:com.fasterxml.jackson.core:jackson-databind → 2.9.10

View all suggested fixes
Suggested change
testImplementation(group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.10')
testImplementation(group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.18.0)
Suggested change
testImplementation(group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.10')
testImplementation(group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.12.7.1)
Suggested change
testImplementation(group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.10')
testImplementation(group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.9.10.4)
jackson-databind mishandles the interaction between serialization gadgets and typing (...read more)

FasterXML jackson-databind 2.x before 2.9.10.4, 2.8.11.6, and 2.7.9.7 mishandles the interaction between serialization gadgets and typing, related to com.ibatis.sqlmap.engine.transaction.jta.JtaTransactionConfig (aka ibatis-sqlmap).

View in Datadog  Leave us feedback  Documentation

@piochelepiotr piochelepiotr force-pushed the piotr-wolski/disable-http-grpc-dsm-tracking branch from 5241ca7 to 6ec04f1 Compare November 5, 2024 17:16
@pr-commenter
Copy link

pr-commenter bot commented Nov 5, 2024

Kafka / consumer-benchmark

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master piotr-wolski/disable-http-grpc-dsm-tracking
git_commit_date 1729847668 1730911530
git_commit_sha 7010cb8 c282bd7
See matching parameters
Baseline Candidate
ci_job_date 1730912663 1730912663
ci_job_id 697715892 697715892
ci_pipeline_id 48368279 48368279
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
jdkVersion 11.0.21 11.0.21
jmhVersion 1.36 1.36
jvm /usr/lib/jvm/java-11-openjdk-amd64/bin/java /usr/lib/jvm/java-11-openjdk-amd64/bin/java
jvmArgs -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/go/src/github.com/DataDog/apm-reliability/dd-trace-java/platform/src/consumer-benchmark/build/tmp/jmh -Duser.country=US -Duser.language=en -Duser.variant -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/go/src/github.com/DataDog/apm-reliability/dd-trace-java/platform/src/consumer-benchmark/build/tmp/jmh -Duser.country=US -Duser.language=en -Duser.variant
vmName OpenJDK 64-Bit Server VM OpenJDK 64-Bit Server VM
vmVersion 11.0.21+9-post-Ubuntu-0ubuntu122.04 11.0.21+9-post-Ubuntu-0ubuntu122.04

Summary

Found 0 performance improvements and 1 performance regressions! Performance is the same for 2 metrics, 0 unstable metrics.

scenario Δ mean throughput
scenario:only-tracing-dsm-disabled-benchmarks/KafkaConsumerBenchmark.benchConsume worse
[-19384.148op/s; -9613.562op/s] or [-6.067%; -3.009%]
See unchanged results
scenario Δ mean throughput
scenario:not-instrumented/KafkaConsumerBenchmark.benchConsume same
scenario:only-tracing-dsm-enabled-benchmarks/KafkaConsumerBenchmark.benchConsume same

Copy link
Contributor

github-actions bot commented Mar 1, 2025

This pull request has been marked as stale because it has not had activity over the past quarter. It will be closed in 7 days if no further activity occurs. Feel free to reopen the PR if you are still working on it.

@github-actions github-actions bot added the tag: stale Stale pull requests label Mar 1, 2025
Copy link
Contributor

github-actions bot commented Apr 1, 2025

This pull request has been closed because it has not had activity over the past quarter. Feel free to reopen the PR if you are still working on it.

@github-actions github-actions bot closed this Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag: stale Stale pull requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant