-
Notifications
You must be signed in to change notification settings - Fork 300
Migrating all HttpServer Instrumentations to use Context
and ContextScope
#8820
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
Draft
mhlidd
wants to merge
16
commits into
master
Choose a base branch
from
mhlidd/migrate_http_server_instrumentations
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
resolve merge conflicts
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 57 metrics, 14 unstable metrics. Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.50.0-SNAPSHOT~44188ec4e2, baseline=1.50.0-SNAPSHOT~7c80dbede3
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.026 s) : 0, 1026188
Total [baseline] (8.67 s) : 0, 8670082
Agent [candidate] (1.032 s) : 0, 1031576
Total [candidate] (8.706 s) : 0, 8706370
section iast
Agent [baseline] (1.149 s) : 0, 1148753
Total [baseline] (9.233 s) : 0, 9233173
Agent [candidate] (1.152 s) : 0, 1151658
Total [candidate] (9.23 s) : 0, 9230489
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.15 s) : 0, 1149733
Total [baseline] (9.193 s) : 0, 9192935
Agent [candidate] (1.155 s) : 0, 1155270
Total [candidate] (9.256 s) : 0, 9255932
section iast_TELEMETRY_OFF
Agent [baseline] (1.146 s) : 0, 1145950
Total [baseline] (9.215 s) : 0, 9215479
Agent [candidate] (1.147 s) : 0, 1146767
Total [candidate] (9.24 s) : 0, 9239854
gantt
title insecure-bank - break down per module: candidate=1.50.0-SNAPSHOT~44188ec4e2, baseline=1.50.0-SNAPSHOT~7c80dbede3
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (685.709 ms) : 0, 685709
BytebuddyAgent [candidate] (691.309 ms) : 0, 691309
GlobalTracer [baseline] (240.936 ms) : 0, 240936
GlobalTracer [candidate] (243.024 ms) : 0, 243024
AppSec [baseline] (56.293 ms) : 0, 56293
AppSec [candidate] (54.975 ms) : 0, 54975
Debugger [baseline] (8.349 ms) : 0, 8349
Debugger [candidate] (7.74 ms) : 0, 7740
Remote Config [baseline] (697.992 µs) : 0, 698
Remote Config [candidate] (724.786 µs) : 0, 725
Telemetry [baseline] (10.562 ms) : 0, 10562
Telemetry [candidate] (9.93 ms) : 0, 9930
section iast
BytebuddyAgent [baseline] (802.033 ms) : 0, 802033
BytebuddyAgent [candidate] (803.841 ms) : 0, 803841
GlobalTracer [baseline] (230.446 ms) : 0, 230446
GlobalTracer [candidate] (231.346 ms) : 0, 231346
IAST [baseline] (28.247 ms) : 0, 28247
IAST [candidate] (29.098 ms) : 0, 29098
AppSec [baseline] (49.443 ms) : 0, 49443
AppSec [candidate] (49.439 ms) : 0, 49439
Debugger [baseline] (5.852 ms) : 0, 5852
Debugger [candidate] (5.867 ms) : 0, 5867
Remote Config [baseline] (608.281 µs) : 0, 608
Remote Config [candidate] (595.441 µs) : 0, 595
Telemetry [baseline] (7.875 ms) : 0, 7875
Telemetry [candidate] (7.9 ms) : 0, 7900
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (802.153 ms) : 0, 802153
BytebuddyAgent [candidate] (806.171 ms) : 0, 806171
GlobalTracer [baseline] (230.839 ms) : 0, 230839
GlobalTracer [candidate] (231.806 ms) : 0, 231806
IAST [baseline] (28.316 ms) : 0, 28316
IAST [candidate] (29.483 ms) : 0, 29483
AppSec [baseline] (50.462 ms) : 0, 50462
AppSec [candidate] (49.594 ms) : 0, 49594
Debugger [baseline] (5.914 ms) : 0, 5914
Debugger [candidate] (5.91 ms) : 0, 5910
Remote Config [baseline] (593.293 µs) : 0, 593
Remote Config [candidate] (619.965 µs) : 0, 620
Telemetry [baseline] (7.898 ms) : 0, 7898
Telemetry [candidate] (8.019 ms) : 0, 8019
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (799.146 ms) : 0, 799146
BytebuddyAgent [candidate] (799.685 ms) : 0, 799685
GlobalTracer [baseline] (230.974 ms) : 0, 230974
GlobalTracer [candidate] (231.32 ms) : 0, 231320
IAST [baseline] (22.233 ms) : 0, 22233
IAST [candidate] (24.549 ms) : 0, 24549
AppSec [baseline] (55.803 ms) : 0, 55803
AppSec [candidate] (53.276 ms) : 0, 53276
Debugger [baseline] (5.91 ms) : 0, 5910
Debugger [candidate] (5.96 ms) : 0, 5960
Remote Config [baseline] (589.882 µs) : 0, 590
Remote Config [candidate] (612.085 µs) : 0, 612
Telemetry [baseline] (7.717 ms) : 0, 7717
Telemetry [candidate] (7.814 ms) : 0, 7814
Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.50.0-SNAPSHOT~44188ec4e2, baseline=1.50.0-SNAPSHOT~7c80dbede3
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.019 s) : 0, 1019276
Total [baseline] (10.526 s) : 0, 10526324
Agent [candidate] (1.021 s) : 0, 1020689
Total [candidate] (10.504 s) : 0, 10503936
section appsec
Agent [baseline] (1.162 s) : 0, 1162442
Total [baseline] (10.722 s) : 0, 10722305
Agent [candidate] (1.168 s) : 0, 1168153
Total [candidate] (10.684 s) : 0, 10683907
section iast
Agent [baseline] (1.15 s) : 0, 1149669
Total [baseline] (10.94 s) : 0, 10939556
Agent [candidate] (1.148 s) : 0, 1147957
Total [candidate] (10.919 s) : 0, 10918908
section profiling
Agent [baseline] (1.277 s) : 0, 1276707
Total [baseline] (10.867 s) : 0, 10866637
Agent [candidate] (1.279 s) : 0, 1278637
Total [candidate] (10.827 s) : 0, 10827209
gantt
title petclinic - break down per module: candidate=1.50.0-SNAPSHOT~44188ec4e2, baseline=1.50.0-SNAPSHOT~7c80dbede3
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (681.508 ms) : 0, 681508
BytebuddyAgent [candidate] (682.87 ms) : 0, 682870
GlobalTracer [baseline] (240.415 ms) : 0, 240415
GlobalTracer [candidate] (240.742 ms) : 0, 240742
AppSec [baseline] (54.444 ms) : 0, 54444
AppSec [candidate] (54.36 ms) : 0, 54360
Debugger [baseline] (8.277 ms) : 0, 8277
Debugger [candidate] (7.597 ms) : 0, 7597
Remote Config [baseline] (709.128 µs) : 0, 709
Remote Config [candidate] (717.876 µs) : 0, 718
Telemetry [baseline] (10.301 ms) : 0, 10301
Telemetry [candidate] (10.698 ms) : 0, 10698
section appsec
BytebuddyAgent [baseline] (701.299 ms) : 0, 701299
BytebuddyAgent [candidate] (705.348 ms) : 0, 705348
GlobalTracer [baseline] (236.551 ms) : 0, 236551
GlobalTracer [candidate] (238.241 ms) : 0, 238241
AppSec [baseline] (175.801 ms) : 0, 175801
AppSec [candidate] (176.0 ms) : 0, 176000
Debugger [baseline] (5.952 ms) : 0, 5952
Debugger [candidate] (5.979 ms) : 0, 5979
Remote Config [baseline] (623.212 µs) : 0, 623
Remote Config [candidate] (622.584 µs) : 0, 623
Telemetry [baseline] (7.731 ms) : 0, 7731
Telemetry [candidate] (7.443 ms) : 0, 7443
IAST [baseline] (21.628 ms) : 0, 21628
IAST [candidate] (21.671 ms) : 0, 21671
section iast
BytebuddyAgent [baseline] (802.479 ms) : 0, 802479
BytebuddyAgent [candidate] (801.197 ms) : 0, 801197
GlobalTracer [baseline] (231.245 ms) : 0, 231245
GlobalTracer [candidate] (230.587 ms) : 0, 230587
AppSec [baseline] (50.063 ms) : 0, 50063
AppSec [candidate] (50.236 ms) : 0, 50236
Debugger [baseline] (5.79 ms) : 0, 5790
Debugger [candidate] (5.875 ms) : 0, 5875
Remote Config [baseline] (575.977 µs) : 0, 576
Remote Config [candidate] (599.24 µs) : 0, 599
Telemetry [baseline] (7.748 ms) : 0, 7748
Telemetry [candidate] (7.856 ms) : 0, 7856
IAST [baseline] (28.289 ms) : 0, 28289
IAST [candidate] (28.113 ms) : 0, 28113
section profiling
ProfilingAgent [baseline] (102.759 ms) : 0, 102759
ProfilingAgent [candidate] (102.714 ms) : 0, 102714
BytebuddyAgent [baseline] (672.139 ms) : 0, 672139
BytebuddyAgent [candidate] (672.954 ms) : 0, 672954
GlobalTracer [baseline] (374.552 ms) : 0, 374552
GlobalTracer [candidate] (375.166 ms) : 0, 375166
AppSec [baseline] (61.373 ms) : 0, 61373
AppSec [candidate] (61.81 ms) : 0, 61810
Debugger [baseline] (6.318 ms) : 0, 6318
Debugger [candidate] (6.251 ms) : 0, 6251
Remote Config [baseline] (653.186 µs) : 0, 653
Remote Config [candidate] (646.497 µs) : 0, 646
Telemetry [baseline] (8.197 ms) : 0, 8197
Telemetry [candidate] (8.195 ms) : 0, 8195
Profiling [baseline] (102.783 ms) : 0, 102783
Profiling [candidate] (102.738 ms) : 0, 102738
LoadDacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 12 metrics, 0 unstable metrics. Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.50.0-SNAPSHOT~44188ec4e2, baseline=1.50.0-SNAPSHOT~7c80dbede3
dateFormat X
axisFormat %s
section baseline
no_agent (14.977 s) : 14977000, 14977000
. : milestone, 14977000,
appsec (14.979 s) : 14979000, 14979000
. : milestone, 14979000,
iast (18.474 s) : 18474000, 18474000
. : milestone, 18474000,
iast_GLOBAL (18.108 s) : 18108000, 18108000
. : milestone, 18108000,
profiling (15.061 s) : 15061000, 15061000
. : milestone, 15061000,
tracing (15.065 s) : 15065000, 15065000
. : milestone, 15065000,
section candidate
no_agent (15.241 s) : 15241000, 15241000
. : milestone, 15241000,
appsec (15.105 s) : 15105000, 15105000
. : milestone, 15105000,
iast (18.876 s) : 18876000, 18876000
. : milestone, 18876000,
iast_GLOBAL (17.975 s) : 17975000, 17975000
. : milestone, 17975000,
profiling (15.001 s) : 15001000, 15001000
. : milestone, 15001000,
tracing (15.006 s) : 15006000, 15006000
. : milestone, 15006000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.50.0-SNAPSHOT~44188ec4e2, baseline=1.50.0-SNAPSHOT~7c80dbede3
dateFormat X
axisFormat %s
section baseline
no_agent (1.486 ms) : 1475, 1498
. : milestone, 1486,
appsec (2.419 ms) : 2370, 2469
. : milestone, 2419,
iast (2.201 ms) : 2138, 2263
. : milestone, 2201,
iast_GLOBAL (2.247 ms) : 2185, 2310
. : milestone, 2247,
profiling (2.038 ms) : 1988, 2088
. : milestone, 2038,
tracing (2.026 ms) : 1978, 2075
. : milestone, 2026,
section candidate
no_agent (1.484 ms) : 1473, 1496
. : milestone, 1484,
appsec (2.413 ms) : 2364, 2462
. : milestone, 2413,
iast (2.201 ms) : 2139, 2263
. : milestone, 2201,
iast_GLOBAL (2.245 ms) : 2182, 2308
. : milestone, 2245,
profiling (2.046 ms) : 1996, 2095
. : milestone, 2046,
tracing (2.014 ms) : 1966, 2062
. : milestone, 2014,
|
Context
and ContextScope
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
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: [PROJ-IDENT]