-
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
Get access to tag values from the top of TraceSegments #6560
Conversation
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 46 metrics, 8 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.29.0-SNAPSHOT~59300325de, baseline=1.29.0-SNAPSHOT~281e492170
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.057 s) : 0, 1056724
Total [baseline] (9.351 s) : 0, 9351485
Agent [candidate] (1.061 s) : 0, 1060902
Total [candidate] (9.4 s) : 0, 9400176
section appsec
Agent [baseline] (1.16 s) : 0, 1160337
Total [baseline] (9.481 s) : 0, 9480766
Agent [candidate] (1.158 s) : 0, 1157957
Total [candidate] (9.466 s) : 0, 9466054
section iast
Agent [baseline] (1.19 s) : 0, 1189582
Total [baseline] (9.715 s) : 0, 9715088
Agent [candidate] (1.181 s) : 0, 1181149
Total [candidate] (9.685 s) : 0, 9684773
section profiling
Agent [baseline] (1.285 s) : 0, 1285240
Total [baseline] (9.548 s) : 0, 9548236
Agent [candidate] (1.288 s) : 0, 1288188
Total [candidate] (9.623 s) : 0, 9622796
gantt
title petclinic - break down per module: candidate=1.29.0-SNAPSHOT~59300325de, baseline=1.29.0-SNAPSHOT~281e492170
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (665.329 ms) : 0, 665329
BytebuddyAgent [candidate] (667.78 ms) : 0, 667780
GlobalTracer [baseline] (296.783 ms) : 0, 296783
GlobalTracer [candidate] (297.895 ms) : 0, 297895
AppSec [baseline] (52.231 ms) : 0, 52231
AppSec [candidate] (52.6 ms) : 0, 52600
Remote Config [baseline] (675.423 µs) : 0, 675
Remote Config [candidate] (685.424 µs) : 0, 685
Telemetry [baseline] (7.461 ms) : 0, 7461
Telemetry [candidate] (7.532 ms) : 0, 7532
section appsec
BytebuddyAgent [baseline] (670.15 ms) : 0, 670150
BytebuddyAgent [candidate] (668.139 ms) : 0, 668139
GlobalTracer [baseline] (297.989 ms) : 0, 297989
GlobalTracer [candidate] (297.776 ms) : 0, 297776
AppSec [baseline] (150.28 ms) : 0, 150280
AppSec [candidate] (150.303 ms) : 0, 150303
Remote Config [baseline] (651.27 µs) : 0, 651
Remote Config [candidate] (652.422 µs) : 0, 652
Telemetry [baseline] (6.774 ms) : 0, 6774
Telemetry [candidate] (6.739 ms) : 0, 6739
section iast
BytebuddyAgent [baseline] (782.09 ms) : 0, 782090
BytebuddyAgent [candidate] (776.279 ms) : 0, 776279
GlobalTracer [baseline] (289.663 ms) : 0, 289663
GlobalTracer [candidate] (287.766 ms) : 0, 287766
AppSec [baseline] (53.986 ms) : 0, 53986
AppSec [candidate] (54.243 ms) : 0, 54243
Remote Config [baseline] (616.003 µs) : 0, 616
Remote Config [candidate] (619.779 µs) : 0, 620
Telemetry [baseline] (7.432 ms) : 0, 7432
Telemetry [candidate] (6.677 ms) : 0, 6677
IAST [baseline] (21.154 ms) : 0, 21154
IAST [candidate] (21.276 ms) : 0, 21276
section profiling
BytebuddyAgent [baseline] (664.938 ms) : 0, 664938
BytebuddyAgent [candidate] (666.256 ms) : 0, 666256
GlobalTracer [baseline] (380.231 ms) : 0, 380231
GlobalTracer [candidate] (381.288 ms) : 0, 381288
AppSec [baseline] (52.168 ms) : 0, 52168
AppSec [candidate] (52.501 ms) : 0, 52501
Remote Config [baseline] (662.043 µs) : 0, 662
Remote Config [candidate] (668.949 µs) : 0, 669
Telemetry [baseline] (7.44 ms) : 0, 7440
Telemetry [candidate] (8.076 ms) : 0, 8076
ProfilingAgent [baseline] (125.296 ms) : 0, 125296
ProfilingAgent [candidate] (124.794 ms) : 0, 124794
Profiling [baseline] (125.32 ms) : 0, 125320
Profiling [candidate] (124.818 ms) : 0, 124818
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~59300325de, baseline=1.29.0-SNAPSHOT~281e492170
dateFormat X
axisFormat %s
section baseline
no_agent (1.346 ms) : 1327, 1365
. : milestone, 1346,
appsec (1.757 ms) : 1731, 1783
. : milestone, 1757,
iast (1.504 ms) : 1479, 1529
. : milestone, 1504,
profiling (1.5 ms) : 1476, 1525
. : milestone, 1500,
tracing (1.484 ms) : 1459, 1510
. : milestone, 1484,
section candidate
no_agent (1.345 ms) : 1326, 1364
. : milestone, 1345,
appsec (1.762 ms) : 1738, 1787
. : milestone, 1762,
iast (1.523 ms) : 1498, 1547
. : milestone, 1523,
profiling (1.511 ms) : 1486, 1536
. : milestone, 1511,
tracing (1.487 ms) : 1462, 1513
. : milestone, 1487,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.29.0-SNAPSHOT~59300325de, baseline=1.29.0-SNAPSHOT~281e492170
dateFormat X
axisFormat %s
section baseline
no_agent (363.333 µs) : 344, 383
. : milestone, 363,
iast (467.843 µs) : 447, 489
. : milestone, 468,
iast_FULL (527.82 µs) : 507, 548
. : milestone, 528,
iast_GLOBAL (514.984 µs) : 492, 538
. : milestone, 515,
iast_HARDCODED_SECRET_DISABLED (470.859 µs) : 450, 492
. : milestone, 471,
iast_INACTIVE (439.556 µs) : 419, 460
. : milestone, 440,
iast_TELEMETRY_OFF (466.535 µs) : 446, 487
. : milestone, 467,
tracing (439.213 µs) : 419, 460
. : milestone, 439,
section candidate
no_agent (365.764 µs) : 346, 386
. : milestone, 366,
iast (468.048 µs) : 447, 489
. : milestone, 468,
iast_FULL (532.513 µs) : 512, 553
. : milestone, 533,
iast_GLOBAL (490.584 µs) : 469, 512
. : milestone, 491,
iast_HARDCODED_SECRET_DISABLED (465.759 µs) : 445, 487
. : milestone, 466,
iast_INACTIVE (440.278 µs) : 420, 461
. : milestone, 440,
iast_TELEMETRY_OFF (457.565 µs) : 437, 478
. : milestone, 458,
tracing (434.023 µs) : 414, 454
. : milestone, 434,
|
a397fb2
to
04cb62f
Compare
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.
Looks good to me other than the log level I mentioned.
It'd be good for APM core to review TracerSegment/DDSpanContext changes.
dd-java-agent/agent-iast/src/main/java/com/datadog/iast/Reporter.java
Outdated
Show resolved
Hide resolved
04cb62f
to
d39c525
Compare
d39c525
to
5f675e2
Compare
5f675e2
to
7c24e13
Compare
7c24e13
to
5930032
Compare
What Does This Do
Add getters to query for data from the top of the current trace segment.
Motivation
From IAST we want to be able to add vulnerabilities even when there is no active request (e.g. Kafka)
Additional Notes
Jira ticket: APPSEC-10440
This is required to make IAST work in Kafka consumers: #6465