-
Notifications
You must be signed in to change notification settings - Fork 283
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
Avoid NumberFormatException when logging 128bit trace ID #6570
Merged
+11
−2
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
amarziali
added
type: bug
comp: core
Tracer core
inst: aws sdk
AWS SDK instrumentation
labels
Jan 26, 2024
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 43 metrics, 11 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.29.0-SNAPSHOT~084288f31a, baseline=1.29.0-SNAPSHOT~7f977d8e06
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.054 s) : 0, 1054338
Total [baseline] (9.331 s) : 0, 9330545
Agent [candidate] (1.066 s) : 0, 1066156
Total [candidate] (9.422 s) : 0, 9422392
section appsec
Agent [baseline] (1.153 s) : 0, 1153031
Total [baseline] (9.445 s) : 0, 9445171
Agent [candidate] (1.162 s) : 0, 1161939
Total [candidate] (9.464 s) : 0, 9464288
section iast
Agent [baseline] (1.18 s) : 0, 1180099
Total [baseline] (9.625 s) : 0, 9624858
Agent [candidate] (1.181 s) : 0, 1180649
Total [candidate] (9.652 s) : 0, 9652424
section profiling
Agent [baseline] (1.292 s) : 0, 1292048
Total [baseline] (9.677 s) : 0, 9676686
Agent [candidate] (1.281 s) : 0, 1280835
Total [candidate] (9.587 s) : 0, 9586886
gantt
title petclinic - break down per module: candidate=1.29.0-SNAPSHOT~084288f31a, baseline=1.29.0-SNAPSHOT~7f977d8e06
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (665.249 ms) : 0, 665249
BytebuddyAgent [candidate] (672.546 ms) : 0, 672546
GlobalTracer [baseline] (295.112 ms) : 0, 295112
GlobalTracer [candidate] (298.484 ms) : 0, 298484
AppSec [baseline] (51.551 ms) : 0, 51551
AppSec [candidate] (52.277 ms) : 0, 52277
Remote Config [baseline] (691.519 µs) : 0, 692
Remote Config [candidate] (715.142 µs) : 0, 715
Telemetry [baseline] (7.544 ms) : 0, 7544
Telemetry [candidate] (7.603 ms) : 0, 7603
section appsec
BytebuddyAgent [baseline] (666.135 ms) : 0, 666135
BytebuddyAgent [candidate] (671.073 ms) : 0, 671073
GlobalTracer [baseline] (295.509 ms) : 0, 295509
GlobalTracer [candidate] (298.102 ms) : 0, 298102
AppSec [baseline] (149.823 ms) : 0, 149823
AppSec [candidate] (150.837 ms) : 0, 150837
Remote Config [baseline] (648.291 µs) : 0, 648
Remote Config [candidate] (653.889 µs) : 0, 654
Telemetry [baseline] (6.708 ms) : 0, 6708
Telemetry [candidate] (6.793 ms) : 0, 6793
section iast
BytebuddyAgent [baseline] (776.709 ms) : 0, 776709
BytebuddyAgent [candidate] (776.483 ms) : 0, 776483
GlobalTracer [baseline] (286.48 ms) : 0, 286480
GlobalTracer [candidate] (287.609 ms) : 0, 287609
AppSec [baseline] (53.886 ms) : 0, 53886
AppSec [candidate] (53.402 ms) : 0, 53402
Remote Config [baseline] (607.989 µs) : 0, 608
Remote Config [candidate] (624.885 µs) : 0, 625
Telemetry [baseline] (6.545 ms) : 0, 6545
Telemetry [candidate] (7.364 ms) : 0, 7364
IAST [baseline] (21.679 ms) : 0, 21679
IAST [candidate] (20.909 ms) : 0, 20909
section profiling
BytebuddyAgent [baseline] (668.783 ms) : 0, 668783
BytebuddyAgent [candidate] (663.831 ms) : 0, 663831
GlobalTracer [baseline] (381.472 ms) : 0, 381472
GlobalTracer [candidate] (379.655 ms) : 0, 379655
AppSec [baseline] (52.433 ms) : 0, 52433
AppSec [candidate] (52.286 ms) : 0, 52286
Remote Config [baseline] (667.269 µs) : 0, 667
Remote Config [candidate] (673.582 µs) : 0, 674
Telemetry [baseline] (7.501 ms) : 0, 7501
Telemetry [candidate] (7.47 ms) : 0, 7470
ProfilingAgent [baseline] (126.371 ms) : 0, 126371
ProfilingAgent [candidate] (122.571 ms) : 0, 122571
Profiling [baseline] (126.395 ms) : 0, 126395
Profiling [candidate] (122.596 ms) : 0, 122596
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 10 metrics, 16 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.29.0-SNAPSHOT~084288f31a, baseline=1.29.0-SNAPSHOT~7f977d8e06
dateFormat X
axisFormat %s
section baseline
no_agent (1.346 ms) : 1328, 1365
. : milestone, 1346,
appsec (1.74 ms) : 1715, 1765
. : milestone, 1740,
iast (1.514 ms) : 1490, 1538
. : milestone, 1514,
profiling (1.528 ms) : 1501, 1555
. : milestone, 1528,
tracing (1.489 ms) : 1465, 1514
. : milestone, 1489,
section candidate
no_agent (1.347 ms) : 1328, 1366
. : milestone, 1347,
appsec (1.769 ms) : 1744, 1795
. : milestone, 1769,
iast (1.501 ms) : 1476, 1526
. : milestone, 1501,
profiling (1.494 ms) : 1469, 1519
. : milestone, 1494,
tracing (1.492 ms) : 1466, 1517
. : milestone, 1492,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.29.0-SNAPSHOT~084288f31a, baseline=1.29.0-SNAPSHOT~7f977d8e06
dateFormat X
axisFormat %s
section baseline
no_agent (365.605 µs) : 345, 387
. : milestone, 366,
iast (474.129 µs) : 454, 495
. : milestone, 474,
iast_FULL (532.915 µs) : 512, 554
. : milestone, 533,
iast_GLOBAL (510.725 µs) : 489, 533
. : milestone, 511,
iast_HARDCODED_SECRET_DISABLED (473.619 µs) : 453, 494
. : milestone, 474,
iast_INACTIVE (444.911 µs) : 424, 466
. : milestone, 445,
iast_TELEMETRY_OFF (466.242 µs) : 445, 488
. : milestone, 466,
tracing (444.348 µs) : 423, 466
. : milestone, 444,
section candidate
no_agent (359.997 µs) : 340, 380
. : milestone, 360,
iast (471.288 µs) : 450, 492
. : milestone, 471,
iast_FULL (533.784 µs) : 513, 554
. : milestone, 534,
iast_GLOBAL (493.248 µs) : 473, 514
. : milestone, 493,
iast_HARDCODED_SECRET_DISABLED (467.859 µs) : 447, 488
. : milestone, 468,
iast_INACTIVE (441.807 µs) : 421, 462
. : milestone, 442,
iast_TELEMETRY_OFF (464.076 µs) : 444, 484
. : milestone, 464,
tracing (439.869 µs) : 419, 461
. : milestone, 440,
|
am312
approved these changes
Jan 26, 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
When
trace.128.bit.traceid.logging.enabled
istrue
and the aws instrumentation is not using the legacy tracing (by default) a NumberFormatException like this is thrown:This PR adds a tests and fix to remediate to it
Motivation
Additional Notes
Jira ticket: [PROJ-IDENT]