-
Notifications
You must be signed in to change notification settings - Fork 290
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
Add host and db name to tags injected in SQL comments #6778
Merged
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
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 48 metrics, 15 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.32.0-SNAPSHOT~20b0e74284, baseline=1.32.0-SNAPSHOT~02d3cb7aac
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.081 s) : 0, 1081070
Total [baseline] (8.566 s) : 0, 8565516
Agent [candidate] (1.09 s) : 0, 1089596
Total [candidate] (8.59 s) : 0, 8590269
section iast
Agent [baseline] (1.207 s) : 0, 1207360
Total [baseline] (9.04 s) : 0, 9040245
Agent [candidate] (1.212 s) : 0, 1211994
Total [candidate] (9.074 s) : 0, 9073603
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.216 s) : 0, 1215846
Total [baseline] (9.026 s) : 0, 9026241
Agent [candidate] (1.216 s) : 0, 1215899
Total [candidate] (9.018 s) : 0, 9018482
section iast_TELEMETRY_OFF
Agent [baseline] (1.21 s) : 0, 1210311
Total [baseline] (9.058 s) : 0, 9058479
Agent [candidate] (1.208 s) : 0, 1207922
Total [candidate] (9.038 s) : 0, 9037610
gantt
title insecure-bank - break down per module: candidate=1.32.0-SNAPSHOT~20b0e74284, baseline=1.32.0-SNAPSHOT~02d3cb7aac
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (696.61 ms) : 0, 696610
BytebuddyAgent [candidate] (701.682 ms) : 0, 701682
GlobalTracer [baseline] (291.141 ms) : 0, 291141
GlobalTracer [candidate] (293.591 ms) : 0, 293591
AppSec [baseline] (50.536 ms) : 0, 50536
AppSec [candidate] (51.321 ms) : 0, 51321
Remote Config [baseline] (733.304 µs) : 0, 733
Remote Config [candidate] (740.496 µs) : 0, 740
Telemetry [baseline] (7.697 ms) : 0, 7697
Telemetry [candidate] (7.77 ms) : 0, 7770
section iast
BytebuddyAgent [baseline] (801.734 ms) : 0, 801734
BytebuddyAgent [candidate] (803.838 ms) : 0, 803838
GlobalTracer [baseline] (287.883 ms) : 0, 287883
GlobalTracer [candidate] (289.953 ms) : 0, 289953
AppSec [baseline] (54.858 ms) : 0, 54858
AppSec [candidate] (52.278 ms) : 0, 52278
Remote Config [baseline] (586.535 µs) : 0, 587
Remote Config [candidate] (597.929 µs) : 0, 598
Telemetry [baseline] (7.433 ms) : 0, 7433
Telemetry [candidate] (8.328 ms) : 0, 8328
IAST [baseline] (20.482 ms) : 0, 20482
IAST [candidate] (22.487 ms) : 0, 22487
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (806.988 ms) : 0, 806988
BytebuddyAgent [candidate] (807.327 ms) : 0, 807327
GlobalTracer [baseline] (290.59 ms) : 0, 290590
GlobalTracer [candidate] (290.451 ms) : 0, 290451
AppSec [baseline] (51.556 ms) : 0, 51556
AppSec [candidate] (51.973 ms) : 0, 51973
Remote Config [baseline] (598.258 µs) : 0, 598
Remote Config [candidate] (599.159 µs) : 0, 599
Telemetry [baseline] (6.676 ms) : 0, 6676
Telemetry [candidate] (7.579 ms) : 0, 7579
IAST [baseline] (24.708 ms) : 0, 24708
IAST [candidate] (23.321 ms) : 0, 23321
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (800.912 ms) : 0, 800912
BytebuddyAgent [candidate] (799.525 ms) : 0, 799525
GlobalTracer [baseline] (291.523 ms) : 0, 291523
GlobalTracer [candidate] (291.585 ms) : 0, 291585
AppSec [baseline] (51.895 ms) : 0, 51895
AppSec [candidate] (52.565 ms) : 0, 52565
Remote Config [baseline] (600.317 µs) : 0, 600
Remote Config [candidate] (597.839 µs) : 0, 598
Telemetry [baseline] (8.203 ms) : 0, 8203
Telemetry [candidate] (6.575 ms) : 0, 6575
IAST [baseline] (22.458 ms) : 0, 22458
IAST [candidate] (22.474 ms) : 0, 22474
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.32.0-SNAPSHOT~20b0e74284, baseline=1.32.0-SNAPSHOT~02d3cb7aac
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.086 s) : 0, 1085975
Total [baseline] (9.178 s) : 0, 9178197
Agent [candidate] (1.082 s) : 0, 1081912
Total [candidate] (9.185 s) : 0, 9185356
section appsec
Agent [baseline] (1.21 s) : 0, 1209650
Total [baseline] (9.371 s) : 0, 9370516
Agent [candidate] (1.206 s) : 0, 1205996
Total [candidate] (9.281 s) : 0, 9280652
section iast
Agent [baseline] (1.213 s) : 0, 1212697
Total [baseline] (9.356 s) : 0, 9355722
Agent [candidate] (1.207 s) : 0, 1206901
Total [candidate] (9.292 s) : 0, 9291838
section profiling
Agent [baseline] (1.273 s) : 0, 1273447
Total [baseline] (9.335 s) : 0, 9334815
Agent [candidate] (1.274 s) : 0, 1274239
Total [candidate] (9.333 s) : 0, 9333174
gantt
title petclinic - break down per module: candidate=1.32.0-SNAPSHOT~20b0e74284, baseline=1.32.0-SNAPSHOT~02d3cb7aac
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (699.785 ms) : 0, 699785
BytebuddyAgent [candidate] (696.432 ms) : 0, 696432
GlobalTracer [baseline] (292.285 ms) : 0, 292285
GlobalTracer [candidate] (292.043 ms) : 0, 292043
AppSec [baseline] (50.976 ms) : 0, 50976
AppSec [candidate] (50.718 ms) : 0, 50718
Remote Config [baseline] (724.781 µs) : 0, 725
Remote Config [candidate] (731.301 µs) : 0, 731
Telemetry [baseline] (7.789 ms) : 0, 7789
Telemetry [candidate] (7.777 ms) : 0, 7777
section appsec
BytebuddyAgent [baseline] (700.623 ms) : 0, 700623
BytebuddyAgent [candidate] (697.89 ms) : 0, 697890
GlobalTracer [baseline] (292.868 ms) : 0, 292868
GlobalTracer [candidate] (292.151 ms) : 0, 292151
AppSec [baseline] (156.151 ms) : 0, 156151
AppSec [candidate] (156.37 ms) : 0, 156370
Remote Config [baseline] (614.114 µs) : 0, 614
Remote Config [candidate] (603.425 µs) : 0, 603
Telemetry [baseline] (6.876 ms) : 0, 6876
Telemetry [candidate] (6.868 ms) : 0, 6868
IAST [baseline] (17.93 ms) : 0, 17930
IAST [candidate] (17.778 ms) : 0, 17778
section iast
BytebuddyAgent [baseline] (804.924 ms) : 0, 804924
BytebuddyAgent [candidate] (800.294 ms) : 0, 800294
GlobalTracer [baseline] (289.633 ms) : 0, 289633
GlobalTracer [candidate] (288.491 ms) : 0, 288491
AppSec [baseline] (51.742 ms) : 0, 51742
AppSec [candidate] (51.127 ms) : 0, 51127
Remote Config [baseline] (603.578 µs) : 0, 604
Remote Config [candidate] (585.014 µs) : 0, 585
Telemetry [baseline] (6.846 ms) : 0, 6846
Telemetry [candidate] (7.445 ms) : 0, 7445
IAST [baseline] (24.442 ms) : 0, 24442
IAST [candidate] (24.712 ms) : 0, 24712
section profiling
ProfilingAgent [baseline] (93.105 ms) : 0, 93105
ProfilingAgent [candidate] (93.315 ms) : 0, 93315
BytebuddyAgent [baseline] (689.726 ms) : 0, 689726
BytebuddyAgent [candidate] (690.007 ms) : 0, 690007
GlobalTracer [baseline] (373.855 ms) : 0, 373855
GlobalTracer [candidate] (374.331 ms) : 0, 374331
AppSec [baseline] (52.471 ms) : 0, 52471
AppSec [candidate] (52.256 ms) : 0, 52256
Remote Config [baseline] (782.012 µs) : 0, 782
Remote Config [candidate] (783.948 µs) : 0, 784
Telemetry [baseline] (7.347 ms) : 0, 7347
Telemetry [candidate] (7.41 ms) : 0, 7410
Profiling [baseline] (93.131 ms) : 0, 93131
Profiling [candidate] (93.341 ms) : 0, 93341
LoadRequest duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.32.0-SNAPSHOT~20b0e74284, baseline=1.32.0-SNAPSHOT~02d3cb7aac
dateFormat X
axisFormat %s
section baseline
no_agent (359.892 µs) : 340, 380
. : milestone, 360,
iast (468.48 µs) : 448, 489
. : milestone, 468,
iast_FULL (533.667 µs) : 513, 554
. : milestone, 534,
iast_GLOBAL (496.439 µs) : 476, 517
. : milestone, 496,
iast_HARDCODED_SECRET_DISABLED (469.562 µs) : 449, 490
. : milestone, 470,
iast_INACTIVE (443.812 µs) : 423, 464
. : milestone, 444,
iast_TELEMETRY_OFF (469.579 µs) : 448, 491
. : milestone, 470,
tracing (444.505 µs) : 423, 466
. : milestone, 445,
section candidate
no_agent (363.368 µs) : 343, 383
. : milestone, 363,
iast (470.458 µs) : 450, 491
. : milestone, 470,
iast_FULL (534.874 µs) : 514, 555
. : milestone, 535,
iast_GLOBAL (488.08 µs) : 468, 508
. : milestone, 488,
iast_HARDCODED_SECRET_DISABLED (462.442 µs) : 442, 483
. : milestone, 462,
iast_INACTIVE (448.145 µs) : 428, 469
. : milestone, 448,
iast_TELEMETRY_OFF (464.676 µs) : 444, 485
. : milestone, 465,
tracing (439.961 µs) : 420, 460
. : milestone, 440,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.32.0-SNAPSHOT~20b0e74284, baseline=1.32.0-SNAPSHOT~02d3cb7aac
dateFormat X
axisFormat %s
section baseline
no_agent (1.351 ms) : 1331, 1370
. : milestone, 1351,
appsec (1.767 ms) : 1742, 1791
. : milestone, 1767,
iast (1.536 ms) : 1513, 1559
. : milestone, 1536,
profiling (1.533 ms) : 1508, 1558
. : milestone, 1533,
tracing (1.519 ms) : 1496, 1542
. : milestone, 1519,
section candidate
no_agent (1.356 ms) : 1337, 1375
. : milestone, 1356,
appsec (1.764 ms) : 1741, 1788
. : milestone, 1764,
iast (1.529 ms) : 1506, 1552
. : milestone, 1529,
profiling (1.582 ms) : 1558, 1607
. : milestone, 1582,
tracing (1.477 ms) : 1454, 1500
. : milestone, 1477,
|
dougqh
approved these changes
Mar 6, 2024
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
add more info to what's currently injected in SQL queries (via comments)
Motivation
https://datadoghq.atlassian.net/browse/AIT-9564
Additional Notes
Jira ticket: AIT-9564
same feature in other tracers:
DataDog/dd-trace-go#2550
DataDog/dd-trace-py#8286