Enable user event tracking only when AppSec is enabled#5756
Merged
Conversation
bantonsson
approved these changes
Aug 23, 2023
smola
approved these changes
Aug 23, 2023
mcculls
approved these changes
Aug 23, 2023
ValentinZakharov
force-pushed
the
vzakharov/uet_activation_fix
branch
from
August 23, 2023 10:32
b064c27 to
bdf3fc4
Compare
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 62 cases. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.20.0-SNAPSHOT~c80a110603, baseline=1.20.0-SNAPSHOT~cbe55c2700
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (988.335 ms) : 0, 988335
Total [baseline] (8.661 s) : 0, 8661236
Agent [candidate] (987.004 ms) : 0, 987004
Total [candidate] (8.652 s) : 0, 8651970
section appsec
Agent [baseline] (1.072 s) : 0, 1072490
Total [baseline] (8.727 s) : 0, 8726983
Agent [candidate] (1.072 s) : 0, 1071601
Total [candidate] (8.725 s) : 0, 8725195
section iast
Agent [baseline] (1.087 s) : 0, 1086742
Total [baseline] (9.145 s) : 0, 9144605
Agent [candidate] (1.091 s) : 0, 1091254
Total [candidate] (9.197 s) : 0, 9196733
section profiling
Agent [baseline] (1.156 s) : 0, 1155887
Total [baseline] (8.866 s) : 0, 8865724
Agent [candidate] (1.157 s) : 0, 1156693
Total [candidate] (8.884 s) : 0, 8884035
gantt
title insecure-bank - break down per module: candidate=1.20.0-SNAPSHOT~c80a110603, baseline=1.20.0-SNAPSHOT~cbe55c2700
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (612.575 ms) : 0, 612575
BytebuddyAgent [candidate] (611.225 ms) : 0, 611225
GlobalTracer [baseline] (284.706 ms) : 0, 284706
GlobalTracer [candidate] (284.63 ms) : 0, 284630
AppSec [baseline] (50.044 ms) : 0, 50044
AppSec [candidate] (50.277 ms) : 0, 50277
Remote Config [baseline] (667.427 µs) : 0, 667
Remote Config [candidate] (664.721 µs) : 0, 665
Telemetry [baseline] (6.013 ms) : 0, 6013
Telemetry [candidate] (6.001 ms) : 0, 6001
section appsec
BytebuddyAgent [baseline] (612.252 ms) : 0, 612252
BytebuddyAgent [candidate] (611.056 ms) : 0, 611056
GlobalTracer [baseline] (284.628 ms) : 0, 284628
GlobalTracer [candidate] (284.942 ms) : 0, 284942
AppSec [baseline] (134.923 ms) : 0, 134923
AppSec [candidate] (135.054 ms) : 0, 135054
Remote Config [baseline] (720.02 µs) : 0, 720
Remote Config [candidate] (726.031 µs) : 0, 726
Telemetry [baseline] (5.73 ms) : 0, 5730
Telemetry [candidate] (5.741 ms) : 0, 5741
section iast
BytebuddyAgent [baseline] (715.173 ms) : 0, 715173
BytebuddyAgent [candidate] (716.633 ms) : 0, 716633
GlobalTracer [baseline] (269.966 ms) : 0, 269966
GlobalTracer [candidate] (272.193 ms) : 0, 272193
AppSec [baseline] (47.381 ms) : 0, 47381
AppSec [candidate] (47.843 ms) : 0, 47843
Remote Config [baseline] (547.545 µs) : 0, 548
Remote Config [candidate] (558.209 µs) : 0, 558
Telemetry [baseline] (5.656 ms) : 0, 5656
Telemetry [candidate] (5.805 ms) : 0, 5805
IAST [baseline] (13.769 ms) : 0, 13769
IAST [candidate] (13.968 ms) : 0, 13968
section profiling
BytebuddyAgent [baseline] (624.037 ms) : 0, 624037
BytebuddyAgent [candidate] (624.335 ms) : 0, 624335
GlobalTracer [baseline] (345.966 ms) : 0, 345966
GlobalTracer [candidate] (346.885 ms) : 0, 346885
AppSec [baseline] (49.18 ms) : 0, 49180
AppSec [candidate] (48.871 ms) : 0, 48871
Remote Config [baseline] (640.256 µs) : 0, 640
Remote Config [candidate] (649.09 µs) : 0, 649
Telemetry [baseline] (5.934 ms) : 0, 5934
Telemetry [candidate] (5.931 ms) : 0, 5931
ProfilingAgent [baseline] (77.228 ms) : 0, 77228
ProfilingAgent [candidate] (77.272 ms) : 0, 77272
Profiling [baseline] (77.252 ms) : 0, 77252
Profiling [candidate] (77.297 ms) : 0, 77297
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.20.0-SNAPSHOT~c80a110603, baseline=1.20.0-SNAPSHOT~cbe55c2700
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (994.724 ms) : 0, 994724
Total [baseline] (9.217 s) : 0, 9217470
Agent [candidate] (989.021 ms) : 0, 989021
Total [candidate] (9.216 s) : 0, 9216300
section appsec
Agent [baseline] (1.08 s) : 0, 1080199
Total [baseline] (9.264 s) : 0, 9264042
Agent [candidate] (1.081 s) : 0, 1080828
Total [candidate] (9.315 s) : 0, 9315233
section iast
Agent [baseline] (1.099 s) : 0, 1098869
Total [baseline] (9.425 s) : 0, 9424651
Agent [candidate] (1.099 s) : 0, 1099360
Total [candidate] (9.427 s) : 0, 9427401
section profiling
Agent [baseline] (1.156 s) : 0, 1156289
Total [baseline] (9.463 s) : 0, 9463040
Agent [candidate] (1.165 s) : 0, 1164610
Total [candidate] (9.478 s) : 0, 9477915
gantt
title petclinic - break down per module: candidate=1.20.0-SNAPSHOT~c80a110603, baseline=1.20.0-SNAPSHOT~cbe55c2700
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (616.325 ms) : 0, 616325
BytebuddyAgent [candidate] (612.646 ms) : 0, 612646
GlobalTracer [baseline] (286.671 ms) : 0, 286671
GlobalTracer [candidate] (285.649 ms) : 0, 285649
AppSec [baseline] (50.47 ms) : 0, 50470
AppSec [candidate] (49.9 ms) : 0, 49900
Remote Config [baseline] (674.328 µs) : 0, 674
Remote Config [candidate] (666.776 µs) : 0, 667
Telemetry [baseline] (6.035 ms) : 0, 6035
Telemetry [candidate] (5.954 ms) : 0, 5954
section appsec
BytebuddyAgent [baseline] (616.932 ms) : 0, 616932
BytebuddyAgent [candidate] (617.175 ms) : 0, 617175
GlobalTracer [baseline] (286.625 ms) : 0, 286625
GlobalTracer [candidate] (287.423 ms) : 0, 287423
AppSec [baseline] (135.532 ms) : 0, 135532
AppSec [candidate] (135.168 ms) : 0, 135168
Remote Config [baseline] (731.645 µs) : 0, 732
Remote Config [candidate] (738.328 µs) : 0, 738
Telemetry [baseline] (5.775 ms) : 0, 5775
Telemetry [candidate] (5.776 ms) : 0, 5776
section iast
BytebuddyAgent [baseline] (724.428 ms) : 0, 724428
BytebuddyAgent [candidate] (724.055 ms) : 0, 724055
GlobalTracer [baseline] (272.218 ms) : 0, 272218
GlobalTracer [candidate] (272.929 ms) : 0, 272929
AppSec [baseline] (47.449 ms) : 0, 47449
AppSec [candidate] (47.584 ms) : 0, 47584
Remote Config [baseline] (558.779 µs) : 0, 559
Remote Config [candidate] (567.711 µs) : 0, 568
Telemetry [baseline] (5.766 ms) : 0, 5766
Telemetry [candidate] (5.802 ms) : 0, 5802
IAST [baseline] (13.918 ms) : 0, 13918
IAST [candidate] (13.993 ms) : 0, 13993
section profiling
BytebuddyAgent [baseline] (624.517 ms) : 0, 624517
BytebuddyAgent [candidate] (628.848 ms) : 0, 628848
GlobalTracer [baseline] (346.007 ms) : 0, 346007
GlobalTracer [candidate] (348.952 ms) : 0, 348952
AppSec [baseline] (49.176 ms) : 0, 49176
AppSec [candidate] (49.407 ms) : 0, 49407
Remote Config [baseline] (656.248 µs) : 0, 656
Remote Config [candidate] (655.383 µs) : 0, 655
Telemetry [baseline] (5.94 ms) : 0, 5940
Telemetry [candidate] (6.027 ms) : 0, 6027
ProfilingAgent [baseline] (77.248 ms) : 0, 77248
ProfilingAgent [candidate] (77.476 ms) : 0, 77476
Profiling [baseline] (77.272 ms) : 0, 77272
Profiling [candidate] (77.5 ms) : 0, 77500
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 24 cases. Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.20.0-SNAPSHOT~c80a110603, baseline=1.20.0-SNAPSHOT~cbe55c2700
dateFormat X
axisFormat %s
section baseline
no_agent (364.583 µs) : 344, 385
. : milestone, 365,
appsec (658.342 µs) : 638, 679
. : milestone, 658,
iast (459.758 µs) : 439, 481
. : milestone, 460,
iast_FULL (522.815 µs) : 502, 543
. : milestone, 523,
iast_INACTIVE (430.993 µs) : 411, 451
. : milestone, 431,
profiling (447.915 µs) : 426, 470
. : milestone, 448,
tracing (436.44 µs) : 416, 457
. : milestone, 436,
section candidate
no_agent (363.737 µs) : 343, 385
. : milestone, 364,
appsec (667.96 µs) : 647, 689
. : milestone, 668,
iast (450.305 µs) : 430, 471
. : milestone, 450,
iast_FULL (511.496 µs) : 491, 532
. : milestone, 511,
iast_INACTIVE (433.609 µs) : 413, 455
. : milestone, 434,
profiling (428.064 µs) : 407, 449
. : milestone, 428,
tracing (427.661 µs) : 407, 448
. : milestone, 428,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.20.0-SNAPSHOT~c80a110603, baseline=1.20.0-SNAPSHOT~cbe55c2700
dateFormat X
axisFormat %s
section baseline
no_agent (1.348 ms) : 1329, 1367
. : milestone, 1348,
appsec (1.657 ms) : 1632, 1682
. : milestone, 1657,
iast (1.457 ms) : 1433, 1481
. : milestone, 1457,
profiling (1.448 ms) : 1423, 1474
. : milestone, 1448,
tracing (1.433 ms) : 1409, 1457
. : milestone, 1433,
section candidate
no_agent (1.338 ms) : 1319, 1358
. : milestone, 1338,
appsec (1.697 ms) : 1673, 1722
. : milestone, 1697,
iast (1.444 ms) : 1420, 1469
. : milestone, 1444,
profiling (1.453 ms) : 1428, 1478
. : milestone, 1453,
tracing (1.442 ms) : 1417, 1467
. : milestone, 1442,
|
ValentinZakharov
force-pushed
the
vzakharov/uet_activation_fix
branch
2 times, most recently
from
August 23, 2023 11:39
6575c99 to
60d02d3
Compare
ValentinZakharov
force-pushed
the
vzakharov/uet_activation_fix
branch
from
August 23, 2023 11:42
60d02d3 to
c80a110
Compare
smola
approved these changes
Aug 23, 2023
smola
pushed a commit
that referenced
this pull request
Aug 23, 2023
* Fixed User Event Tracking activation
smola
added a commit
that referenced
this pull request
Aug 23, 2023
Co-authored-by: ValentinZakharov <[email protected]>
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
Fixed activation for User Event Tracking.
Active only if AppSec is active with
DD_APPSEC_ENABLED=trueor via remote config.Motivation
Customer reported an issue when User Event Tracking was working even with inactive AppSec.
Additional Notes