-
Notifications
You must be signed in to change notification settings - Fork 279
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
Ensure OpenTelemetry span kind is set #6205
Merged
Merged
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
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 54 cases. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.24.0-SNAPSHOT~d80ad1f79a, baseline=1.24.0-SNAPSHOT~3fb888b81b
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.033 s) : 0, 1033091
Total [baseline] (9.269 s) : 0, 9268668
Agent [candidate] (1.036 s) : 0, 1035816
Total [candidate] (9.299 s) : 0, 9298878
section appsec
Agent [baseline] (1.119 s) : 0, 1118710
Total [baseline] (9.427 s) : 0, 9426539
Agent [candidate] (1.121 s) : 0, 1120814
Total [candidate] (9.448 s) : 0, 9447955
section iast
Agent [baseline] (1.149 s) : 0, 1148957
Total [baseline] (9.56 s) : 0, 9559651
Agent [candidate] (1.15 s) : 0, 1150066
Total [candidate] (9.554 s) : 0, 9553810
section profiling
Agent [baseline] (1.217 s) : 0, 1216516
Total [baseline] (9.512 s) : 0, 9511880
Agent [candidate] (1.218 s) : 0, 1218118
Total [candidate] (9.509 s) : 0, 9509197
gantt
title petclinic - break down per module: candidate=1.24.0-SNAPSHOT~d80ad1f79a, baseline=1.24.0-SNAPSHOT~3fb888b81b
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (644.574 ms) : 0, 644574
BytebuddyAgent [candidate] (646.174 ms) : 0, 646174
GlobalTracer [baseline] (293.117 ms) : 0, 293117
GlobalTracer [candidate] (294.491 ms) : 0, 294491
AppSec [baseline] (48.881 ms) : 0, 48881
AppSec [candidate] (48.737 ms) : 0, 48737
Remote Config [baseline] (697.406 µs) : 0, 697
Remote Config [candidate] (689.968 µs) : 0, 690
Telemetry [baseline] (11.285 ms) : 0, 11285
Telemetry [candidate] (11.216 ms) : 0, 11216
section appsec
BytebuddyAgent [baseline] (644.74 ms) : 0, 644740
BytebuddyAgent [candidate] (645.535 ms) : 0, 645535
GlobalTracer [baseline] (293.644 ms) : 0, 293644
GlobalTracer [candidate] (294.341 ms) : 0, 294341
AppSec [baseline] (138.554 ms) : 0, 138554
AppSec [candidate] (139.023 ms) : 0, 139023
Remote Config [baseline] (640.56 µs) : 0, 641
Remote Config [candidate] (642.002 µs) : 0, 642
Telemetry [baseline] (6.839 ms) : 0, 6839
Telemetry [candidate] (6.853 ms) : 0, 6853
section iast
BytebuddyAgent [baseline] (763.926 ms) : 0, 763926
BytebuddyAgent [candidate] (765.842 ms) : 0, 765842
GlobalTracer [baseline] (273.903 ms) : 0, 273903
GlobalTracer [candidate] (274.675 ms) : 0, 274675
AppSec [baseline] (46.655 ms) : 0, 46655
AppSec [candidate] (47.025 ms) : 0, 47025
IAST [baseline] (16.157 ms) : 0, 16157
IAST [candidate] (15.582 ms) : 0, 15582
Remote Config [baseline] (575.452 µs) : 0, 575
Remote Config [candidate] (571.47 µs) : 0, 571
Telemetry [baseline] (13.236 ms) : 0, 13236
Telemetry [candidate] (11.892 ms) : 0, 11892
section profiling
BytebuddyAgent [baseline] (655.135 ms) : 0, 655135
BytebuddyAgent [candidate] (656.297 ms) : 0, 656297
GlobalTracer [baseline] (358.254 ms) : 0, 358254
GlobalTracer [candidate] (358.266 ms) : 0, 358266
AppSec [baseline] (48.824 ms) : 0, 48824
AppSec [candidate] (48.845 ms) : 0, 48845
Remote Config [baseline] (646.578 µs) : 0, 647
Remote Config [candidate] (652.195 µs) : 0, 652
Telemetry [baseline] (11.252 ms) : 0, 11252
Telemetry [candidate] (11.387 ms) : 0, 11387
ProfilingAgent [baseline] (88.006 ms) : 0, 88006
ProfilingAgent [candidate] (88.378 ms) : 0, 88378
Profiling [baseline] (88.03 ms) : 0, 88030
Profiling [candidate] (88.402 ms) : 0, 88402
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.24.0-SNAPSHOT~d80ad1f79a, baseline=1.24.0-SNAPSHOT~3fb888b81b
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.031 s) : 0, 1031240
Total [baseline] (8.769 s) : 0, 8769253
Agent [candidate] (1.035 s) : 0, 1035400
Total [candidate] (8.795 s) : 0, 8795400
section iast
Agent [baseline] (1.152 s) : 0, 1151879
Total [baseline] (9.337 s) : 0, 9337461
Agent [candidate] (1.154 s) : 0, 1154385
Total [candidate] (9.355 s) : 0, 9355016
section iast_TELEMETRY_OFF
Agent [baseline] (1.148 s) : 0, 1148008
Total [baseline] (9.321 s) : 0, 9321280
Agent [candidate] (1.153 s) : 0, 1153265
Total [candidate] (9.279 s) : 0, 9278986
gantt
title insecure-bank - break down per module: candidate=1.24.0-SNAPSHOT~d80ad1f79a, baseline=1.24.0-SNAPSHOT~3fb888b81b
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (643.947 ms) : 0, 643947
BytebuddyAgent [candidate] (646.188 ms) : 0, 646188
GlobalTracer [baseline] (292.161 ms) : 0, 292161
GlobalTracer [candidate] (293.978 ms) : 0, 293978
AppSec [baseline] (48.857 ms) : 0, 48857
AppSec [candidate] (48.824 ms) : 0, 48824
Remote Config [baseline] (691.309 µs) : 0, 691
Remote Config [candidate] (692.191 µs) : 0, 692
Telemetry [baseline] (11.287 ms) : 0, 11287
Telemetry [candidate] (11.235 ms) : 0, 11235
section iast
BytebuddyAgent [baseline] (763.934 ms) : 0, 763934
BytebuddyAgent [candidate] (766.892 ms) : 0, 766892
GlobalTracer [baseline] (274.917 ms) : 0, 274917
GlobalTracer [candidate] (274.828 ms) : 0, 274828
AppSec [baseline] (46.529 ms) : 0, 46529
AppSec [candidate] (46.898 ms) : 0, 46898
IAST [baseline] (17.592 ms) : 0, 17592
IAST [candidate] (18.17 ms) : 0, 18170
Remote Config [baseline] (587.338 µs) : 0, 587
Remote Config [candidate] (573.732 µs) : 0, 574
Telemetry [baseline] (13.927 ms) : 0, 13927
Telemetry [candidate] (12.507 ms) : 0, 12507
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (762.556 ms) : 0, 762556
BytebuddyAgent [candidate] (765.719 ms) : 0, 765719
GlobalTracer [baseline] (274.57 ms) : 0, 274570
GlobalTracer [candidate] (276.604 ms) : 0, 276604
AppSec [baseline] (46.952 ms) : 0, 46952
AppSec [candidate] (46.495 ms) : 0, 46495
IAST [baseline] (17.529 ms) : 0, 17529
IAST [candidate] (16.448 ms) : 0, 16448
Remote Config [baseline] (580.698 µs) : 0, 581
Remote Config [candidate] (587.495 µs) : 0, 587
Telemetry [baseline] (11.216 ms) : 0, 11216
Telemetry [candidate] (12.715 ms) : 0, 12715
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 22 cases. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.24.0-SNAPSHOT~d80ad1f79a, baseline=1.24.0-SNAPSHOT~3fb888b81b
dateFormat X
axisFormat %s
section baseline
no_agent (1.326 ms) : 1307, 1345
. : milestone, 1326,
appsec (1.726 ms) : 1702, 1751
. : milestone, 1726,
iast (1.489 ms) : 1465, 1513
. : milestone, 1489,
profiling (1.474 ms) : 1447, 1500
. : milestone, 1474,
tracing (1.467 ms) : 1442, 1491
. : milestone, 1467,
section candidate
no_agent (1.343 ms) : 1325, 1362
. : milestone, 1343,
appsec (1.703 ms) : 1678, 1727
. : milestone, 1703,
iast (1.464 ms) : 1440, 1488
. : milestone, 1464,
profiling (1.47 ms) : 1445, 1495
. : milestone, 1470,
tracing (1.45 ms) : 1425, 1475
. : milestone, 1450,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.24.0-SNAPSHOT~d80ad1f79a, baseline=1.24.0-SNAPSHOT~3fb888b81b
dateFormat X
axisFormat %s
section baseline
no_agent (360.148 µs) : 340, 380
. : milestone, 360,
iast (464.437 µs) : 444, 485
. : milestone, 464,
iast_FULL (524.394 µs) : 504, 545
. : milestone, 524,
iast_INACTIVE (437.506 µs) : 416, 459
. : milestone, 438,
iast_TELEMETRY_OFF (454.695 µs) : 434, 476
. : milestone, 455,
tracing (431.856 µs) : 411, 453
. : milestone, 432,
section candidate
no_agent (359.58 µs) : 340, 380
. : milestone, 360,
iast (459.484 µs) : 439, 480
. : milestone, 459,
iast_FULL (524.314 µs) : 503, 545
. : milestone, 524,
iast_INACTIVE (443.328 µs) : 421, 466
. : milestone, 443,
iast_TELEMETRY_OFF (462.7 µs) : 441, 484
. : milestone, 463,
tracing (429.263 µs) : 408, 451
. : milestone, 429,
|
6eeeea5
to
d80ad1f
Compare
mcculls
approved these changes
Nov 13, 2023
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.
LGTM
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
This PR will make OpenTelemetry span kind always set (to
INTERNAL
by default).Motivation
The OTel SDK behavior always defines a span kind to its spans.
Additional Notes
Jira ticket: APMJAVA-1121