-
Notifications
You must be signed in to change notification settings - Fork 292
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
Fix span decoration probe EMITTING status #7569
Conversation
Don't emit the status when no tag are set for the span
Debugger benchmarksParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 8 metrics, 7 unstable metrics. See unchanged results
Request duration reports for reportsgantt
title reports - request duration [CI 0.99] : candidate=None, baseline=None
dateFormat X
axisFormat %s
section baseline
noprobe (300.905 µs) : 255, 346
. : milestone, 301,
basic (304.457 µs) : 294, 315
. : milestone, 304,
loop (10.53 ms) : 10490, 10570
. : milestone, 10530,
section candidate
noprobe (310.434 µs) : 244, 377
. : milestone, 310,
basic (297.982 µs) : 284, 312
. : milestone, 298,
loop (10.515 ms) : 10485, 10545
. : milestone, 10515,
|
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 50 metrics, 13 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.40.0-SNAPSHOT~cce93a551f, baseline=1.40.0-SNAPSHOT~123a2c8614
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.058 s) : 0, 1058315
Total [baseline] (10.424 s) : 0, 10423651
Agent [candidate] (1.05 s) : 0, 1049682
Total [candidate] (10.35 s) : 0, 10350187
section appsec
Agent [baseline] (1.183 s) : 0, 1182560
Total [baseline] (10.639 s) : 0, 10639472
Agent [candidate] (1.189 s) : 0, 1188719
Total [candidate] (10.633 s) : 0, 10632558
section iast
Agent [baseline] (1.173 s) : 0, 1172561
Total [baseline] (10.816 s) : 0, 10815847
Agent [candidate] (1.183 s) : 0, 1183475
Total [candidate] (10.794 s) : 0, 10793507
section profiling
Agent [baseline] (1.243 s) : 0, 1243486
Total [baseline] (10.608 s) : 0, 10607542
Agent [candidate] (1.261 s) : 0, 1260630
Total [candidate] (10.587 s) : 0, 10587088
gantt
title petclinic - break down per module: candidate=1.40.0-SNAPSHOT~cce93a551f, baseline=1.40.0-SNAPSHOT~123a2c8614
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (676.195 ms) : 0, 676195
BytebuddyAgent [candidate] (669.06 ms) : 0, 669060
GlobalTracer [baseline] (308.542 ms) : 0, 308542
GlobalTracer [candidate] (307.464 ms) : 0, 307464
AppSec [baseline] (51.632 ms) : 0, 51632
AppSec [candidate] (51.452 ms) : 0, 51452
Remote Config [baseline] (681.825 µs) : 0, 682
Remote Config [candidate] (676.692 µs) : 0, 677
Telemetry [baseline] (7.519 ms) : 0, 7519
Telemetry [candidate] (7.467 ms) : 0, 7467
section appsec
BytebuddyAgent [baseline] (690.376 ms) : 0, 690376
BytebuddyAgent [candidate] (692.937 ms) : 0, 692937
GlobalTracer [baseline] (300.309 ms) : 0, 300309
GlobalTracer [candidate] (302.031 ms) : 0, 302031
AppSec [baseline] (158.194 ms) : 0, 158194
AppSec [candidate] (160.411 ms) : 0, 160411
Remote Config [baseline] (623.415 µs) : 0, 623
Remote Config [candidate] (622.926 µs) : 0, 623
Telemetry [baseline] (9.633 ms) : 0, 9633
Telemetry [candidate] (8.833 ms) : 0, 8833
IAST [baseline] (19.718 ms) : 0, 19718
IAST [candidate] (20.491 ms) : 0, 20491
section iast
BytebuddyAgent [baseline] (780.528 ms) : 0, 780528
BytebuddyAgent [candidate] (787.212 ms) : 0, 787212
GlobalTracer [baseline] (296.105 ms) : 0, 296105
GlobalTracer [candidate] (298.18 ms) : 0, 298180
AppSec [baseline] (50.951 ms) : 0, 50951
AppSec [candidate] (52.758 ms) : 0, 52758
Remote Config [baseline] (583.803 µs) : 0, 584
Remote Config [candidate] (587.821 µs) : 0, 588
Telemetry [baseline] (7.301 ms) : 0, 7301
Telemetry [candidate] (7.322 ms) : 0, 7322
IAST [baseline] (23.534 ms) : 0, 23534
IAST [candidate] (23.711 ms) : 0, 23711
section profiling
BytebuddyAgent [baseline] (662.929 ms) : 0, 662929
BytebuddyAgent [candidate] (672.71 ms) : 0, 672710
GlobalTracer [baseline] (387.923 ms) : 0, 387923
GlobalTracer [candidate] (393.379 ms) : 0, 393379
AppSec [baseline] (51.882 ms) : 0, 51882
AppSec [candidate] (52.289 ms) : 0, 52289
Remote Config [baseline] (668.361 µs) : 0, 668
Remote Config [candidate] (687.655 µs) : 0, 688
Telemetry [baseline] (7.352 ms) : 0, 7352
Telemetry [candidate] (7.359 ms) : 0, 7359
ProfilingAgent [baseline] (94.958 ms) : 0, 94958
ProfilingAgent [candidate] (95.89 ms) : 0, 95890
Profiling [baseline] (94.982 ms) : 0, 94982
Profiling [candidate] (95.914 ms) : 0, 95914
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.40.0-SNAPSHOT~cce93a551f, baseline=1.40.0-SNAPSHOT~123a2c8614
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.058 s) : 0, 1057838
Total [baseline] (8.501 s) : 0, 8500562
Agent [candidate] (1.05 s) : 0, 1050331
Total [candidate] (8.493 s) : 0, 8493006
section iast
Agent [baseline] (1.172 s) : 0, 1172428
Total [baseline] (8.946 s) : 0, 8946006
Agent [candidate] (1.182 s) : 0, 1181831
Total [candidate] (8.996 s) : 0, 8996196
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.174 s) : 0, 1174363
Total [baseline] (8.952 s) : 0, 8951502
Agent [candidate] (1.182 s) : 0, 1182312
Total [candidate] (8.974 s) : 0, 8973632
section iast_TELEMETRY_OFF
Agent [baseline] (1.173 s) : 0, 1172852
Total [baseline] (8.982 s) : 0, 8982006
Agent [candidate] (1.172 s) : 0, 1171729
Total [candidate] (8.935 s) : 0, 8935374
gantt
title insecure-bank - break down per module: candidate=1.40.0-SNAPSHOT~cce93a551f, baseline=1.40.0-SNAPSHOT~123a2c8614
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (675.206 ms) : 0, 675206
BytebuddyAgent [candidate] (670.188 ms) : 0, 670188
GlobalTracer [baseline] (309.056 ms) : 0, 309056
GlobalTracer [candidate] (307.431 ms) : 0, 307431
AppSec [baseline] (51.672 ms) : 0, 51672
AppSec [candidate] (51.055 ms) : 0, 51055
Remote Config [baseline] (676.488 µs) : 0, 676
Remote Config [candidate] (656.48 µs) : 0, 656
Telemetry [baseline] (7.526 ms) : 0, 7526
Telemetry [candidate] (7.426 ms) : 0, 7426
section iast
BytebuddyAgent [baseline] (780.118 ms) : 0, 780118
BytebuddyAgent [candidate] (786.331 ms) : 0, 786331
GlobalTracer [baseline] (295.591 ms) : 0, 295591
GlobalTracer [candidate] (297.816 ms) : 0, 297816
AppSec [baseline] (51.6 ms) : 0, 51600
AppSec [candidate] (51.87 ms) : 0, 51870
IAST [baseline] (22.891 ms) : 0, 22891
IAST [candidate] (24.247 ms) : 0, 24247
Remote Config [baseline] (592.734 µs) : 0, 593
Remote Config [candidate] (608.047 µs) : 0, 608
Telemetry [baseline] (8.045 ms) : 0, 8045
Telemetry [candidate] (7.274 ms) : 0, 7274
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (780.809 ms) : 0, 780809
BytebuddyAgent [candidate] (785.894 ms) : 0, 785894
GlobalTracer [baseline] (296.282 ms) : 0, 296282
GlobalTracer [candidate] (298.389 ms) : 0, 298389
AppSec [baseline] (53.998 ms) : 0, 53998
AppSec [candidate] (53.623 ms) : 0, 53623
IAST [baseline] (21.823 ms) : 0, 21823
IAST [candidate] (22.692 ms) : 0, 22692
Remote Config [baseline] (581.682 µs) : 0, 582
Remote Config [candidate] (597.642 µs) : 0, 598
Telemetry [baseline] (7.278 ms) : 0, 7278
Telemetry [candidate] (7.391 ms) : 0, 7391
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (779.729 ms) : 0, 779729
BytebuddyAgent [candidate] (778.426 ms) : 0, 778426
GlobalTracer [baseline] (296.511 ms) : 0, 296511
GlobalTracer [candidate] (296.479 ms) : 0, 296479
AppSec [baseline] (52.064 ms) : 0, 52064
AppSec [candidate] (52.307 ms) : 0, 52307
IAST [baseline] (22.276 ms) : 0, 22276
IAST [candidate] (22.36 ms) : 0, 22360
Remote Config [baseline] (576.804 µs) : 0, 577
Remote Config [candidate] (570.383 µs) : 0, 570
Telemetry [baseline] (8.047 ms) : 0, 8047
Telemetry [candidate] (7.969 ms) : 0, 7969
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 10 metrics, 18 unstable metrics. Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.40.0-SNAPSHOT~cce93a551f, baseline=1.40.0-SNAPSHOT~123a2c8614
dateFormat X
axisFormat %s
section baseline
no_agent (383.353 µs) : 363, 404
. : milestone, 383,
iast (488.151 µs) : 466, 510
. : milestone, 488,
iast_FULL (553.99 µs) : 533, 575
. : milestone, 554,
iast_GLOBAL (514.634 µs) : 492, 537
. : milestone, 515,
iast_HARDCODED_SECRET_DISABLED (481.701 µs) : 460, 503
. : milestone, 482,
iast_INACTIVE (448.199 µs) : 427, 469
. : milestone, 448,
iast_TELEMETRY_OFF (472.986 µs) : 451, 495
. : milestone, 473,
tracing (444.727 µs) : 424, 466
. : milestone, 445,
section candidate
no_agent (370.794 µs) : 350, 392
. : milestone, 371,
iast (485.81 µs) : 463, 509
. : milestone, 486,
iast_FULL (551.143 µs) : 530, 573
. : milestone, 551,
iast_GLOBAL (527.719 µs) : 505, 550
. : milestone, 528,
iast_HARDCODED_SECRET_DISABLED (482.426 µs) : 461, 504
. : milestone, 482,
iast_INACTIVE (444.758 µs) : 424, 465
. : milestone, 445,
iast_TELEMETRY_OFF (471.841 µs) : 449, 494
. : milestone, 472,
tracing (438.193 µs) : 418, 458
. : milestone, 438,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.40.0-SNAPSHOT~cce93a551f, baseline=1.40.0-SNAPSHOT~123a2c8614
dateFormat X
axisFormat %s
section baseline
no_agent (1.332 ms) : 1312, 1351
. : milestone, 1332,
appsec (1.725 ms) : 1701, 1749
. : milestone, 1725,
appsec_no_iast (1.709 ms) : 1685, 1732
. : milestone, 1709,
iast (1.493 ms) : 1470, 1515
. : milestone, 1493,
profiling (1.502 ms) : 1478, 1527
. : milestone, 1502,
tracing (1.471 ms) : 1447, 1496
. : milestone, 1471,
section candidate
no_agent (1.353 ms) : 1333, 1373
. : milestone, 1353,
appsec (1.712 ms) : 1689, 1736
. : milestone, 1712,
appsec_no_iast (1.723 ms) : 1699, 1747
. : milestone, 1723,
iast (1.478 ms) : 1456, 1500
. : milestone, 1478,
profiling (1.493 ms) : 1468, 1517
. : milestone, 1493,
tracing (1.483 ms) : 1459, 1507
. : milestone, 1483,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics. Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.40.0-SNAPSHOT~cce93a551f, baseline=1.40.0-SNAPSHOT~123a2c8614
dateFormat X
axisFormat %s
section baseline
no_agent (1.458 ms) : 1447, 1469
. : milestone, 1458,
appsec (2.22 ms) : 2185, 2254
. : milestone, 2220,
iast (1.999 ms) : 1954, 2043
. : milestone, 1999,
iast_GLOBAL (2.03 ms) : 1986, 2073
. : milestone, 2030,
profiling (1.87 ms) : 1836, 1905
. : milestone, 1870,
tracing (1.849 ms) : 1816, 1883
. : milestone, 1849,
section candidate
no_agent (1.46 ms) : 1448, 1471
. : milestone, 1460,
appsec (2.243 ms) : 2207, 2278
. : milestone, 2243,
iast (1.97 ms) : 1928, 2012
. : milestone, 1970,
iast_GLOBAL (2.036 ms) : 1991, 2081
. : milestone, 2036,
profiling (2.36 ms) : 2174, 2546
. : milestone, 2360,
tracing (1.847 ms) : 1813, 1880
. : milestone, 1847,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.40.0-SNAPSHOT~cce93a551f, baseline=1.40.0-SNAPSHOT~123a2c8614
dateFormat X
axisFormat %s
section baseline
no_agent (15.0 s) : 15000000, 15000000
. : milestone, 15000000,
appsec (15.417 s) : 15417000, 15417000
. : milestone, 15417000,
iast (18.818 s) : 18818000, 18818000
. : milestone, 18818000,
iast_GLOBAL (17.93 s) : 17930000, 17930000
. : milestone, 17930000,
profiling (15.264 s) : 15264000, 15264000
. : milestone, 15264000,
tracing (15.026 s) : 15026000, 15026000
. : milestone, 15026000,
section candidate
no_agent (14.947 s) : 14947000, 14947000
. : milestone, 14947000,
appsec (15.229 s) : 15229000, 15229000
. : milestone, 15229000,
iast (18.814 s) : 18814000, 18814000
. : milestone, 18814000,
iast_GLOBAL (17.946 s) : 17946000, 17946000
. : milestone, 17946000,
profiling (15.314 s) : 15314000, 15314000
. : milestone, 15314000,
tracing (15.186 s) : 15186000, 15186000
. : milestone, 15186000,
|
@@ -232,7 +232,10 @@ private void decorateTags(SpanDecorationStatus status) { | |||
for (Pair<String, String> tag : tagsToDecorate) { | |||
agentSpan.setTag(tag.getLeft(), tag.getRight()); | |||
} | |||
DebuggerAgent.getSink().getProbeStatusSink().addEmitting(probeId); | |||
if (!tagsToDecorate.isEmpty()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice find.
Do we specify this on the RFC? better to be explicit about this edge case.
Do we have system-test to check this happens?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a system tests will be added for that
What Does This Do
Don't emit the status when no tag are set for the span
Motivation
Additional Notes
Contributor Checklist
type:
and (comp:
orinst:
) labels in addition to any usefull labelsclose
,fix
or any linking keywords when referencing an issue.Use
solves
instead, and assign the PR milestone to the issueJira ticket: DEBUG-2825