Append DBM trace context comments for SQL Server & Postgres#6214
Merged
Conversation
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 44 metrics, 10 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.25.0-SNAPSHOT~e93bf34330, baseline=1.25.0-SNAPSHOT~d1eda60b66
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.048 s) : 0, 1047802
Total [baseline] (9.336 s) : 0, 9335717
Agent [candidate] (1.043 s) : 0, 1042583
Total [candidate] (9.418 s) : 0, 9417778
section appsec
Agent [baseline] (1.13 s) : 0, 1130266
Total [baseline] (9.49 s) : 0, 9490443
Agent [candidate] (1.122 s) : 0, 1121905
Total [candidate] (9.415 s) : 0, 9415221
section iast
Agent [baseline] (1.159 s) : 0, 1158586
Total [baseline] (9.568 s) : 0, 9568274
Agent [candidate] (1.157 s) : 0, 1157117
Total [candidate] (9.491 s) : 0, 9491399
section profiling
Agent [baseline] (1.232 s) : 0, 1231796
Total [baseline] (9.652 s) : 0, 9651688
Agent [candidate] (1.224 s) : 0, 1224227
Total [candidate] (9.641 s) : 0, 9641240
gantt
title petclinic - break down per module: candidate=1.25.0-SNAPSHOT~e93bf34330, baseline=1.25.0-SNAPSHOT~d1eda60b66
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (649.062 ms) : 0, 649062
BytebuddyAgent [candidate] (649.514 ms) : 0, 649514
GlobalTracer [baseline] (307.934 ms) : 0, 307934
GlobalTracer [candidate] (301.779 ms) : 0, 301779
AppSec [baseline] (48.524 ms) : 0, 48524
AppSec [candidate] (48.91 ms) : 0, 48910
Remote Config [baseline] (681.988 µs) : 0, 682
Remote Config [candidate] (702.431 µs) : 0, 702
Telemetry [baseline] (7.179 ms) : 0, 7179
Telemetry [candidate] (7.293 ms) : 0, 7293
section appsec
BytebuddyAgent [baseline] (644.385 ms) : 0, 644385
BytebuddyAgent [candidate] (645.236 ms) : 0, 645236
GlobalTracer [baseline] (305.694 ms) : 0, 305694
GlobalTracer [candidate] (298.526 ms) : 0, 298526
AppSec [baseline] (136.699 ms) : 0, 136699
AppSec [candidate] (136.503 ms) : 0, 136503
Remote Config [baseline] (638.791 µs) : 0, 639
Remote Config [candidate] (642.928 µs) : 0, 643
Telemetry [baseline] (8.658 ms) : 0, 8658
Telemetry [candidate] (6.856 ms) : 0, 6856
section iast
BytebuddyAgent [baseline] (765.213 ms) : 0, 765213
BytebuddyAgent [candidate] (770.106 ms) : 0, 770106
GlobalTracer [baseline] (284.967 ms) : 0, 284967
GlobalTracer [candidate] (278.585 ms) : 0, 278585
AppSec [baseline] (46.067 ms) : 0, 46067
AppSec [candidate] (48.56 ms) : 0, 48560
IAST [baseline] (20.092 ms) : 0, 20092
IAST [candidate] (16.847 ms) : 0, 16847
Remote Config [baseline] (622.612 µs) : 0, 623
Remote Config [candidate] (574.487 µs) : 0, 574
Telemetry [baseline] (7.318 ms) : 0, 7318
Telemetry [candidate] (7.876 ms) : 0, 7876
section profiling
BytebuddyAgent [baseline] (654.996 ms) : 0, 654996
BytebuddyAgent [candidate] (655.906 ms) : 0, 655906
GlobalTracer [baseline] (376.793 ms) : 0, 376793
GlobalTracer [candidate] (369.357 ms) : 0, 369357
AppSec [baseline] (48.758 ms) : 0, 48758
AppSec [candidate] (48.628 ms) : 0, 48628
Remote Config [baseline] (686.356 µs) : 0, 686
Remote Config [candidate] (717.246 µs) : 0, 717
Telemetry [baseline] (7.375 ms) : 0, 7375
Telemetry [candidate] (7.394 ms) : 0, 7394
ProfilingAgent [baseline] (89.138 ms) : 0, 89138
ProfilingAgent [candidate] (88.097 ms) : 0, 88097
Profiling [baseline] (89.165 ms) : 0, 89165
Profiling [candidate] (88.12 ms) : 0, 88120
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.25.0-SNAPSHOT~e93bf34330, baseline=1.25.0-SNAPSHOT~d1eda60b66
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.052 s) : 0, 1052308
Total [baseline] (8.773 s) : 0, 8773149
Agent [candidate] (1.033 s) : 0, 1032729
Total [candidate] (8.717 s) : 0, 8716610
section iast
Agent [baseline] (1.17 s) : 0, 1169944
Total [baseline] (9.282 s) : 0, 9281564
Agent [candidate] (1.154 s) : 0, 1154294
Total [candidate] (9.239 s) : 0, 9238894
section iast_TELEMETRY_OFF
Agent [baseline] (1.156 s) : 0, 1155744
Total [baseline] (9.236 s) : 0, 9236307
Agent [candidate] (1.145 s) : 0, 1144855
Total [candidate] (9.223 s) : 0, 9222563
gantt
title insecure-bank - break down per module: candidate=1.25.0-SNAPSHOT~e93bf34330, baseline=1.25.0-SNAPSHOT~d1eda60b66
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (651.876 ms) : 0, 651876
BytebuddyAgent [candidate] (644.178 ms) : 0, 644178
GlobalTracer [baseline] (309.239 ms) : 0, 309239
GlobalTracer [candidate] (297.782 ms) : 0, 297782
AppSec [baseline] (48.673 ms) : 0, 48673
AppSec [candidate] (48.51 ms) : 0, 48510
Remote Config [baseline] (680.849 µs) : 0, 681
Remote Config [candidate] (683.178 µs) : 0, 683
Telemetry [baseline] (7.168 ms) : 0, 7168
Telemetry [candidate] (7.323 ms) : 0, 7323
section iast
BytebuddyAgent [baseline] (772.711 ms) : 0, 772711
BytebuddyAgent [candidate] (766.375 ms) : 0, 766375
GlobalTracer [baseline] (286.7 ms) : 0, 286700
GlobalTracer [candidate] (279.181 ms) : 0, 279181
AppSec [baseline] (46.661 ms) : 0, 46661
AppSec [candidate] (47.249 ms) : 0, 47249
IAST [baseline] (21.13 ms) : 0, 21130
IAST [candidate] (16.996 ms) : 0, 16996
Remote Config [baseline] (603.499 µs) : 0, 603
Remote Config [candidate] (583.315 µs) : 0, 583
Telemetry [baseline] (7.389 ms) : 0, 7389
Telemetry [candidate] (9.535 ms) : 0, 9535
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (762.428 ms) : 0, 762428
BytebuddyAgent [candidate] (758.792 ms) : 0, 758792
GlobalTracer [baseline] (285.097 ms) : 0, 285097
GlobalTracer [candidate] (278.631 ms) : 0, 278631
AppSec [baseline] (48.454 ms) : 0, 48454
AppSec [candidate] (51.737 ms) : 0, 51737
IAST [baseline] (18.113 ms) : 0, 18113
IAST [candidate] (14.455 ms) : 0, 14455
Remote Config [baseline] (644.875 µs) : 0, 645
Remote Config [candidate] (562.262 µs) : 0, 562
Telemetry [baseline] (6.408 ms) : 0, 6408
Telemetry [candidate] (6.398 ms) : 0, 6398
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 9 metrics, 13 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.25.0-SNAPSHOT~e93bf34330, baseline=1.25.0-SNAPSHOT~d1eda60b66
dateFormat X
axisFormat %s
section baseline
no_agent (1.367 ms) : 1347, 1386
. : milestone, 1367,
appsec (1.747 ms) : 1723, 1772
. : milestone, 1747,
iast (1.524 ms) : 1500, 1548
. : milestone, 1524,
profiling (1.525 ms) : 1500, 1551
. : milestone, 1525,
tracing (1.496 ms) : 1472, 1521
. : milestone, 1496,
section candidate
no_agent (1.362 ms) : 1343, 1381
. : milestone, 1362,
appsec (1.776 ms) : 1750, 1801
. : milestone, 1776,
iast (1.557 ms) : 1533, 1581
. : milestone, 1557,
profiling (1.514 ms) : 1489, 1540
. : milestone, 1514,
tracing (1.517 ms) : 1492, 1542
. : milestone, 1517,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.25.0-SNAPSHOT~e93bf34330, baseline=1.25.0-SNAPSHOT~d1eda60b66
dateFormat X
axisFormat %s
section baseline
no_agent (370.944 µs) : 351, 391
. : milestone, 371,
iast (479.314 µs) : 458, 500
. : milestone, 479,
iast_FULL (537.395 µs) : 517, 558
. : milestone, 537,
iast_INACTIVE (453.481 µs) : 433, 474
. : milestone, 453,
iast_TELEMETRY_OFF (470.017 µs) : 449, 491
. : milestone, 470,
tracing (441.58 µs) : 421, 462
. : milestone, 442,
section candidate
no_agent (374.093 µs) : 354, 394
. : milestone, 374,
iast (477.094 µs) : 457, 498
. : milestone, 477,
iast_FULL (541.583 µs) : 521, 562
. : milestone, 542,
iast_INACTIVE (455.357 µs) : 434, 477
. : milestone, 455,
iast_TELEMETRY_OFF (468.188 µs) : 448, 488
. : milestone, 468,
tracing (440.804 µs) : 420, 461
. : milestone, 441,
|
jmeunier28
force-pushed
the
jmeunier/DBMON-3123-two
branch
from
December 5, 2023 01:14
92c05b0 to
024fdbc
Compare
bantonsson
approved these changes
Dec 12, 2023
| "com.microsoft.sqlserver.jdbc.SQLServerConnection", | ||
| // jtds (for SQL Server and Sybase) | ||
| "net.sourceforge.jtds.jdbc.ConnectionJDBC2", // 1.2 | ||
| "net.sourceforge.jtds.jdbc.JtdsConnection", // 1.3 |
Contributor
There was a problem hiding this comment.
Had to read this twice to see that these were append before and are append now after the move. A quick comment in the PR would have been helpful.
Contributor
Author
There was a problem hiding this comment.
yeah sorry, I tried to make that clear in the title of the PR but I can update the description as well
Contributor
There was a problem hiding this comment.
No worries. Sometimes it's easier to add a comment yourself in the PR instead of trying to explain everything in the PR description.
This file contains hidden or 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
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
Fix for reported customer issue around calling procedures for
postgresqlwhile having DBM-APM link enabledThis happens when running prepared callable statements. E.g. This code:
... results in the following exception
When being run from our test application with the latest release of the java tracer. By moving comments to be appended, instead of prepended, I no longer see this exception being thrown. Things are therefore correctly instrumented as a result. Note, we should not append comments for MySQL driver classes, since this actually causes an exception to be thrown when calling the similar procedure code.**