New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update instrumentations to use InstrumenterModule
as the service type
#6808
Conversation
94a8ddf
to
f19b62c
Compare
Kafka / producer-benchmarkParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 3 metrics, 0 unstable metrics. See unchanged results
|
f19b62c
to
3403482
Compare
Kafka / consumer-benchmarkParameters
See matching parameters
SummaryFound 1 performance improvements and 0 performance regressions! Performance is the same for 2 metrics, 0 unstable metrics.
See unchanged results
|
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.32.0-SNAPSHOT~75f731518c, baseline=1.32.0-SNAPSHOT~cd18597747
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.08 s) : 0, 1080047
Total [baseline] (8.56 s) : 0, 8560264
Agent [candidate] (1.079 s) : 0, 1079414
Total [candidate] (8.6 s) : 0, 8600003
section iast
Agent [baseline] (1.204 s) : 0, 1203968
Total [baseline] (9.038 s) : 0, 9037585
Agent [candidate] (1.208 s) : 0, 1208229
Total [candidate] (9.059 s) : 0, 9058958
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.206 s) : 0, 1206003
Total [baseline] (9.016 s) : 0, 9015813
Agent [candidate] (1.219 s) : 0, 1219432
Total [candidate] (9.056 s) : 0, 9055852
section iast_TELEMETRY_OFF
Agent [baseline] (1.21 s) : 0, 1209538
Total [baseline] (9.088 s) : 0, 9087889
Agent [candidate] (1.199 s) : 0, 1199434
Total [candidate] (9.027 s) : 0, 9027020
gantt
title insecure-bank - break down per module: candidate=1.32.0-SNAPSHOT~75f731518c, baseline=1.32.0-SNAPSHOT~cd18597747
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (696.494 ms) : 0, 696494
BytebuddyAgent [candidate] (695.974 ms) : 0, 695974
GlobalTracer [baseline] (291.507 ms) : 0, 291507
GlobalTracer [candidate] (291.697 ms) : 0, 291697
AppSec [baseline] (49.255 ms) : 0, 49255
AppSec [candidate] (49.048 ms) : 0, 49048
Remote Config [baseline] (737.569 µs) : 0, 738
Remote Config [candidate] (724.161 µs) : 0, 724
Telemetry [baseline] (7.707 ms) : 0, 7707
Telemetry [candidate] (7.736 ms) : 0, 7736
section iast
BytebuddyAgent [baseline] (800.681 ms) : 0, 800681
BytebuddyAgent [candidate] (802.819 ms) : 0, 802819
GlobalTracer [baseline] (287.89 ms) : 0, 287890
GlobalTracer [candidate] (289.631 ms) : 0, 289631
AppSec [baseline] (49.023 ms) : 0, 49023
AppSec [candidate] (49.691 ms) : 0, 49691
Remote Config [baseline] (605.93 µs) : 0, 606
Remote Config [candidate] (623.082 µs) : 0, 623
Telemetry [baseline] (6.588 ms) : 0, 6588
Telemetry [candidate] (6.687 ms) : 0, 6687
IAST [baseline] (24.762 ms) : 0, 24762
IAST [candidate] (24.143 ms) : 0, 24143
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (800.806 ms) : 0, 800806
BytebuddyAgent [candidate] (810.918 ms) : 0, 810918
GlobalTracer [baseline] (289.14 ms) : 0, 289140
GlobalTracer [candidate] (290.972 ms) : 0, 290972
AppSec [baseline] (50.253 ms) : 0, 50253
AppSec [candidate] (50.601 ms) : 0, 50601
Remote Config [baseline] (627.659 µs) : 0, 628
Remote Config [candidate] (624.291 µs) : 0, 624
Telemetry [baseline] (7.446 ms) : 0, 7446
Telemetry [candidate] (6.841 ms) : 0, 6841
IAST [baseline] (23.215 ms) : 0, 23215
IAST [candidate] (24.581 ms) : 0, 24581
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (801.342 ms) : 0, 801342
BytebuddyAgent [candidate] (794.162 ms) : 0, 794162
GlobalTracer [baseline] (291.798 ms) : 0, 291798
GlobalTracer [candidate] (290.025 ms) : 0, 290025
AppSec [baseline] (50.386 ms) : 0, 50386
AppSec [candidate] (51.297 ms) : 0, 51297
Remote Config [baseline] (583.392 µs) : 0, 583
Remote Config [candidate] (580.084 µs) : 0, 580
Telemetry [baseline] (8.043 ms) : 0, 8043
Telemetry [candidate] (6.516 ms) : 0, 6516
IAST [baseline] (22.724 ms) : 0, 22724
IAST [candidate] (22.406 ms) : 0, 22406
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.32.0-SNAPSHOT~75f731518c, baseline=1.32.0-SNAPSHOT~cd18597747
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.081 s) : 0, 1080992
Total [baseline] (9.171 s) : 0, 9171294
Agent [candidate] (1.09 s) : 0, 1090295
Total [candidate] (9.231 s) : 0, 9231022
section appsec
Agent [baseline] (1.198 s) : 0, 1198302
Total [baseline] (9.277 s) : 0, 9276724
Agent [candidate] (1.205 s) : 0, 1204713
Total [candidate] (9.299 s) : 0, 9299294
section iast
Agent [baseline] (1.212 s) : 0, 1212134
Total [baseline] (9.398 s) : 0, 9397513
Agent [candidate] (1.214 s) : 0, 1214183
Total [candidate] (9.398 s) : 0, 9398371
section profiling
Agent [baseline] (1.282 s) : 0, 1281644
Total [baseline] (9.372 s) : 0, 9372385
Agent [candidate] (1.273 s) : 0, 1272912
Total [candidate] (9.333 s) : 0, 9332712
gantt
title petclinic - break down per module: candidate=1.32.0-SNAPSHOT~75f731518c, baseline=1.32.0-SNAPSHOT~cd18597747
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (697.199 ms) : 0, 697199
BytebuddyAgent [candidate] (702.493 ms) : 0, 702493
GlobalTracer [baseline] (291.894 ms) : 0, 291894
GlobalTracer [candidate] (295.045 ms) : 0, 295045
AppSec [baseline] (49.074 ms) : 0, 49074
AppSec [candidate] (49.505 ms) : 0, 49505
Remote Config [baseline] (725.303 µs) : 0, 725
Remote Config [candidate] (746.55 µs) : 0, 747
Telemetry [baseline] (7.707 ms) : 0, 7707
Telemetry [candidate] (7.801 ms) : 0, 7801
section appsec
BytebuddyAgent [baseline] (694.804 ms) : 0, 694804
BytebuddyAgent [candidate] (698.247 ms) : 0, 698247
GlobalTracer [baseline] (290.584 ms) : 0, 290584
GlobalTracer [candidate] (292.766 ms) : 0, 292766
AppSec [baseline] (153.16 ms) : 0, 153160
AppSec [candidate] (153.772 ms) : 0, 153772
Remote Config [baseline] (607.26 µs) : 0, 607
Remote Config [candidate] (611.63 µs) : 0, 612
Telemetry [baseline] (6.91 ms) : 0, 6910
Telemetry [candidate] (6.934 ms) : 0, 6934
IAST [baseline] (17.87 ms) : 0, 17870
IAST [candidate] (17.944 ms) : 0, 17944
section iast
BytebuddyAgent [baseline] (805.86 ms) : 0, 805860
BytebuddyAgent [candidate] (807.544 ms) : 0, 807544
GlobalTracer [baseline] (289.877 ms) : 0, 289877
GlobalTracer [candidate] (290.884 ms) : 0, 290884
AppSec [baseline] (50.365 ms) : 0, 50365
AppSec [candidate] (51.537 ms) : 0, 51537
Remote Config [baseline] (610.176 µs) : 0, 610
Remote Config [candidate] (614.23 µs) : 0, 614
Telemetry [baseline] (6.724 ms) : 0, 6724
Telemetry [candidate] (6.737 ms) : 0, 6737
IAST [baseline] (23.904 ms) : 0, 23904
IAST [candidate] (22.033 ms) : 0, 22033
section profiling
BytebuddyAgent [baseline] (694.125 ms) : 0, 694125
BytebuddyAgent [candidate] (688.555 ms) : 0, 688555
GlobalTracer [baseline] (378.089 ms) : 0, 378089
GlobalTracer [candidate] (376.382 ms) : 0, 376382
AppSec [baseline] (49.892 ms) : 0, 49892
AppSec [candidate] (49.729 ms) : 0, 49729
Remote Config [baseline] (796.467 µs) : 0, 796
Remote Config [candidate] (779.84 µs) : 0, 780
Telemetry [baseline] (7.457 ms) : 0, 7457
Telemetry [candidate] (7.402 ms) : 0, 7402
ProfilingAgent [baseline] (94.778 ms) : 0, 94778
ProfilingAgent [candidate] (94.03 ms) : 0, 94030
Profiling [baseline] (94.801 ms) : 0, 94801
Profiling [candidate] (94.053 ms) : 0, 94053
LoadRequest duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.32.0-SNAPSHOT~75f731518c, baseline=1.32.0-SNAPSHOT~cd18597747
dateFormat X
axisFormat %s
section baseline
no_agent (358.92 µs) : 339, 379
. : milestone, 359,
iast (465.829 µs) : 446, 486
. : milestone, 466,
iast_FULL (532.366 µs) : 512, 553
. : milestone, 532,
iast_GLOBAL (495.383 µs) : 474, 517
. : milestone, 495,
iast_HARDCODED_SECRET_DISABLED (468.009 µs) : 448, 488
. : milestone, 468,
iast_INACTIVE (444.312 µs) : 424, 465
. : milestone, 444,
iast_TELEMETRY_OFF (470.074 µs) : 449, 491
. : milestone, 470,
tracing (442.673 µs) : 422, 464
. : milestone, 443,
section candidate
no_agent (362.811 µs) : 343, 383
. : milestone, 363,
iast (470.036 µs) : 449, 491
. : milestone, 470,
iast_FULL (533.648 µs) : 513, 554
. : milestone, 534,
iast_GLOBAL (490.413 µs) : 469, 512
. : milestone, 490,
iast_HARDCODED_SECRET_DISABLED (470.565 µs) : 450, 491
. : milestone, 471,
iast_INACTIVE (445.045 µs) : 425, 466
. : milestone, 445,
iast_TELEMETRY_OFF (471.98 µs) : 451, 493
. : milestone, 472,
tracing (438.042 µs) : 418, 458
. : milestone, 438,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.32.0-SNAPSHOT~75f731518c, baseline=1.32.0-SNAPSHOT~cd18597747
dateFormat X
axisFormat %s
section baseline
no_agent (1.343 ms) : 1324, 1362
. : milestone, 1343,
appsec (1.757 ms) : 1733, 1781
. : milestone, 1757,
iast (1.532 ms) : 1509, 1555
. : milestone, 1532,
profiling (1.505 ms) : 1482, 1529
. : milestone, 1505,
tracing (1.488 ms) : 1465, 1512
. : milestone, 1488,
section candidate
no_agent (1.351 ms) : 1332, 1370
. : milestone, 1351,
appsec (1.756 ms) : 1733, 1780
. : milestone, 1756,
iast (1.544 ms) : 1521, 1567
. : milestone, 1544,
profiling (1.564 ms) : 1540, 1589
. : milestone, 1564,
tracing (1.48 ms) : 1456, 1503
. : milestone, 1480,
|
0cc0084
to
2d967ae
Compare
InstrumenterModule
as the service type
I'll update the docs to recommend |
@am312 this PR already updates the docs, see the diffs right at the end :) |
2d967ae
to
75f7315
Compare
What Does This Do
This PR changes the key type used to register instrumentations from
Instrumenter
toInstrumenterModule
.Motivation
Previous PRs introduced the concept of
InstrumenterModule
for better alignment with OTel concepts. This continues that alignment by makingInstrumenterModule
the primary service type used to register and discover instrumentations. This lets us remove variousinstanceof
checks and casts throughout the code.Jira ticket: AIT-9441