-
Notifications
You must be signed in to change notification settings - Fork 291
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
Add log file if size is not too big #6993
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
mcculls
reviewed
May 7, 2024
dd-trace-core/src/main/java/datadog/trace/core/flare/TracerFlareService.java
Outdated
Show resolved
Hide resolved
mcculls
reviewed
May 7, 2024
dd-trace-core/src/main/java/datadog/trace/core/flare/TracerFlareService.java
Outdated
Show resolved
Hide resolved
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 49 metrics, 14 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.35.0-SNAPSHOT~47112bab0b, baseline=1.35.0-SNAPSHOT~6df14c1b0f
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.078 s) : 0, 1078175
Total [baseline] (10.543 s) : 0, 10542593
Agent [candidate] (1.078 s) : 0, 1077737
Total [candidate] (10.485 s) : 0, 10484861
section appsec
Agent [baseline] (1.195 s) : 0, 1195170
Total [baseline] (10.457 s) : 0, 10456576
Agent [candidate] (1.201 s) : 0, 1200697
Total [candidate] (10.508 s) : 0, 10507771
section iast
Agent [baseline] (1.202 s) : 0, 1201926
Total [baseline] (10.754 s) : 0, 10754134
Agent [candidate] (1.211 s) : 0, 1211434
Total [candidate] (10.82 s) : 0, 10819924
section profiling
Agent [baseline] (1.276 s) : 0, 1276429
Total [baseline] (10.68 s) : 0, 10680244
Agent [candidate] (1.273 s) : 0, 1272914
Total [candidate] (10.603 s) : 0, 10602845
gantt
title petclinic - break down per module: candidate=1.35.0-SNAPSHOT~47112bab0b, baseline=1.35.0-SNAPSHOT~6df14c1b0f
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (675.25 ms) : 0, 675250
BytebuddyAgent [candidate] (673.909 ms) : 0, 673909
GlobalTracer [baseline] (310.684 ms) : 0, 310684
GlobalTracer [candidate] (311.646 ms) : 0, 311646
AppSec [baseline] (49.414 ms) : 0, 49414
AppSec [candidate] (49.535 ms) : 0, 49535
Remote Config [baseline] (664.154 µs) : 0, 664
Remote Config [candidate] (659.784 µs) : 0, 660
Telemetry [baseline] (7.603 ms) : 0, 7603
Telemetry [candidate] (7.611 ms) : 0, 7611
section appsec
BytebuddyAgent [baseline] (697.906 ms) : 0, 697906
BytebuddyAgent [candidate] (701.463 ms) : 0, 701463
GlobalTracer [baseline] (294.641 ms) : 0, 294641
GlobalTracer [candidate] (295.905 ms) : 0, 295905
AppSec [baseline] (149.48 ms) : 0, 149480
AppSec [candidate] (150.08 ms) : 0, 150080
IAST [baseline] (19.341 ms) : 0, 19341
IAST [candidate] (19.561 ms) : 0, 19561
Remote Config [baseline] (617.325 µs) : 0, 617
Remote Config [candidate] (622.408 µs) : 0, 622
Telemetry [baseline] (8.464 ms) : 0, 8464
Telemetry [candidate] (8.188 ms) : 0, 8188
section iast
BytebuddyAgent [baseline] (795.397 ms) : 0, 795397
BytebuddyAgent [candidate] (800.602 ms) : 0, 800602
GlobalTracer [baseline] (290.86 ms) : 0, 290860
GlobalTracer [candidate] (293.074 ms) : 0, 293074
AppSec [baseline] (50.834 ms) : 0, 50834
AppSec [candidate] (49.876 ms) : 0, 49876
IAST [baseline] (23.308 ms) : 0, 23308
IAST [candidate] (26.133 ms) : 0, 26133
Remote Config [baseline] (582.567 µs) : 0, 583
Remote Config [candidate] (596.422 µs) : 0, 596
Telemetry [baseline] (6.616 ms) : 0, 6616
Telemetry [candidate] (6.601 ms) : 0, 6601
section profiling
BytebuddyAgent [baseline] (682.191 ms) : 0, 682191
BytebuddyAgent [candidate] (679.606 ms) : 0, 679606
GlobalTracer [baseline] (382.28 ms) : 0, 382280
GlobalTracer [candidate] (382.223 ms) : 0, 382223
AppSec [baseline] (50.474 ms) : 0, 50474
AppSec [candidate] (50.1 ms) : 0, 50100
Remote Config [baseline] (709.887 µs) : 0, 710
Remote Config [candidate] (711.006 µs) : 0, 711
Telemetry [baseline] (7.57 ms) : 0, 7570
Telemetry [candidate] (7.51 ms) : 0, 7510
ProfilingAgent [baseline] (96.372 ms) : 0, 96372
ProfilingAgent [candidate] (96.196 ms) : 0, 96196
Profiling [baseline] (96.396 ms) : 0, 96396
Profiling [candidate] (96.221 ms) : 0, 96221
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.35.0-SNAPSHOT~47112bab0b, baseline=1.35.0-SNAPSHOT~6df14c1b0f
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.085 s) : 0, 1085192
Total [baseline] (8.543 s) : 0, 8543443
Agent [candidate] (1.084 s) : 0, 1084291
Total [candidate] (8.563 s) : 0, 8562903
section iast
Agent [baseline] (1.212 s) : 0, 1212264
Total [baseline] (9.017 s) : 0, 9016695
Agent [candidate] (1.203 s) : 0, 1203257
Total [candidate] (9.02 s) : 0, 9019620
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.202 s) : 0, 1201672
Total [baseline] (8.979 s) : 0, 8978877
Agent [candidate] (1.204 s) : 0, 1203871
Total [candidate] (8.981 s) : 0, 8981003
section iast_TELEMETRY_OFF
Agent [baseline] (1.219 s) : 0, 1218546
Total [baseline] (9.025 s) : 0, 9024636
Agent [candidate] (1.208 s) : 0, 1208281
Total [candidate] (9.066 s) : 0, 9065807
gantt
title insecure-bank - break down per module: candidate=1.35.0-SNAPSHOT~47112bab0b, baseline=1.35.0-SNAPSHOT~6df14c1b0f
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (679.545 ms) : 0, 679545
BytebuddyAgent [candidate] (678.405 ms) : 0, 678405
GlobalTracer [baseline] (312.921 ms) : 0, 312921
GlobalTracer [candidate] (313.03 ms) : 0, 313030
AppSec [baseline] (49.768 ms) : 0, 49768
AppSec [candidate] (49.987 ms) : 0, 49987
Remote Config [baseline] (659.869 µs) : 0, 660
Remote Config [candidate] (680.977 µs) : 0, 681
Telemetry [baseline] (7.636 ms) : 0, 7636
Telemetry [candidate] (7.641 ms) : 0, 7641
section iast
BytebuddyAgent [baseline] (802.231 ms) : 0, 802231
BytebuddyAgent [candidate] (795.052 ms) : 0, 795052
GlobalTracer [baseline] (293.219 ms) : 0, 293219
GlobalTracer [candidate] (291.359 ms) : 0, 291359
AppSec [baseline] (50.533 ms) : 0, 50533
AppSec [candidate] (49.558 ms) : 0, 49558
Remote Config [baseline] (587.506 µs) : 0, 588
Remote Config [candidate] (606.797 µs) : 0, 607
Telemetry [baseline] (6.62 ms) : 0, 6620
Telemetry [candidate] (6.596 ms) : 0, 6596
IAST [baseline] (24.475 ms) : 0, 24475
IAST [candidate] (25.852 ms) : 0, 25852
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (793.938 ms) : 0, 793938
BytebuddyAgent [candidate] (794.816 ms) : 0, 794816
GlobalTracer [baseline] (290.821 ms) : 0, 290821
GlobalTracer [candidate] (291.206 ms) : 0, 291206
AppSec [baseline] (50.323 ms) : 0, 50323
AppSec [candidate] (50.712 ms) : 0, 50712
Remote Config [baseline] (2.066 ms) : 0, 2066
Remote Config [candidate] (596.916 µs) : 0, 597
Telemetry [baseline] (6.665 ms) : 0, 6665
Telemetry [candidate] (6.558 ms) : 0, 6558
IAST [baseline] (23.561 ms) : 0, 23561
IAST [candidate] (25.415 ms) : 0, 25415
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (804.749 ms) : 0, 804749
BytebuddyAgent [candidate] (798.498 ms) : 0, 798498
GlobalTracer [baseline] (295.081 ms) : 0, 295081
GlobalTracer [candidate] (292.895 ms) : 0, 292895
AppSec [baseline] (49.769 ms) : 0, 49769
AppSec [candidate] (49.97 ms) : 0, 49970
Remote Config [baseline] (632.673 µs) : 0, 633
Remote Config [candidate] (606.641 µs) : 0, 607
Telemetry [baseline] (7.435 ms) : 0, 7435
Telemetry [candidate] (7.417 ms) : 0, 7417
IAST [baseline] (25.995 ms) : 0, 25995
IAST [candidate] (24.366 ms) : 0, 24366
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 1 performance regressions! Performance is the same for 10 metrics, 17 unstable metrics.
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.35.0-SNAPSHOT~47112bab0b, baseline=1.35.0-SNAPSHOT~6df14c1b0f
dateFormat X
axisFormat %s
section baseline
no_agent (365.936 µs) : 346, 386
. : milestone, 366,
iast (465.768 µs) : 445, 487
. : milestone, 466,
iast_FULL (535.908 µs) : 515, 557
. : milestone, 536,
iast_GLOBAL (493.523 µs) : 472, 515
. : milestone, 494,
iast_HARDCODED_SECRET_DISABLED (462.819 µs) : 442, 483
. : milestone, 463,
iast_INACTIVE (437.976 µs) : 418, 458
. : milestone, 438,
iast_TELEMETRY_OFF (465.158 µs) : 444, 486
. : milestone, 465,
tracing (439.074 µs) : 418, 460
. : milestone, 439,
section candidate
no_agent (364.093 µs) : 344, 384
. : milestone, 364,
iast (471.036 µs) : 450, 492
. : milestone, 471,
iast_FULL (530.247 µs) : 509, 551
. : milestone, 530,
iast_GLOBAL (494.777 µs) : 473, 516
. : milestone, 495,
iast_HARDCODED_SECRET_DISABLED (465.304 µs) : 445, 485
. : milestone, 465,
iast_INACTIVE (443.508 µs) : 423, 464
. : milestone, 444,
iast_TELEMETRY_OFF (464.354 µs) : 443, 486
. : milestone, 464,
tracing (441.61 µs) : 421, 462
. : milestone, 442,
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.35.0-SNAPSHOT~47112bab0b, baseline=1.35.0-SNAPSHOT~6df14c1b0f
dateFormat X
axisFormat %s
section baseline
no_agent (1.336 ms) : 1316, 1356
. : milestone, 1336,
appsec (1.712 ms) : 1688, 1735
. : milestone, 1712,
appsec_no_iast (1.693 ms) : 1668, 1718
. : milestone, 1693,
iast (1.461 ms) : 1438, 1484
. : milestone, 1461,
profiling (1.482 ms) : 1458, 1505
. : milestone, 1482,
tracing (1.465 ms) : 1442, 1489
. : milestone, 1465,
section candidate
no_agent (1.354 ms) : 1333, 1374
. : milestone, 1354,
appsec (1.704 ms) : 1680, 1727
. : milestone, 1704,
appsec_no_iast (1.694 ms) : 1669, 1719
. : milestone, 1694,
iast (1.471 ms) : 1447, 1494
. : milestone, 1471,
profiling (1.555 ms) : 1529, 1581
. : milestone, 1555,
tracing (1.473 ms) : 1449, 1496
. : milestone, 1473,
DacapoParameters
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.35.0-SNAPSHOT~47112bab0b, baseline=1.35.0-SNAPSHOT~6df14c1b0f
dateFormat X
axisFormat %s
section baseline
no_agent (15.419 s) : 15419000, 15419000
. : milestone, 15419000,
appsec (14.999 s) : 14999000, 14999000
. : milestone, 14999000,
iast (18.983 s) : 18983000, 18983000
. : milestone, 18983000,
iast_GLOBAL (17.761 s) : 17761000, 17761000
. : milestone, 17761000,
profiling (15.279 s) : 15279000, 15279000
. : milestone, 15279000,
tracing (14.963 s) : 14963000, 14963000
. : milestone, 14963000,
section candidate
no_agent (15.342 s) : 15342000, 15342000
. : milestone, 15342000,
appsec (14.76 s) : 14760000, 14760000
. : milestone, 14760000,
iast (18.747 s) : 18747000, 18747000
. : milestone, 18747000,
iast_GLOBAL (17.787 s) : 17787000, 17787000
. : milestone, 17787000,
profiling (15.376 s) : 15376000, 15376000
. : milestone, 15376000,
tracing (14.791 s) : 14791000, 14791000
. : milestone, 14791000,
Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.35.0-SNAPSHOT~47112bab0b, baseline=1.35.0-SNAPSHOT~6df14c1b0f
dateFormat X
axisFormat %s
section baseline
no_agent (1.469 ms) : 1457, 1481
. : milestone, 1469,
appsec (2.192 ms) : 2157, 2226
. : milestone, 2192,
iast (1.873 ms) : 1838, 1907
. : milestone, 1873,
iast_GLOBAL (1.912 ms) : 1877, 1947
. : milestone, 1912,
profiling (1.852 ms) : 1818, 1885
. : milestone, 1852,
tracing (1.835 ms) : 1803, 1867
. : milestone, 1835,
section candidate
no_agent (1.461 ms) : 1450, 1472
. : milestone, 1461,
appsec (2.199 ms) : 2165, 2233
. : milestone, 2199,
iast (1.887 ms) : 1851, 1923
. : milestone, 1887,
iast_GLOBAL (1.924 ms) : 1889, 1960
. : milestone, 1924,
profiling (1.842 ms) : 1810, 1874
. : milestone, 1842,
tracing (1.825 ms) : 1794, 1857
. : milestone, 1825,
|
mcculls
reviewed
May 10, 2024
dd-trace-core/src/main/java/datadog/trace/core/flare/TracerFlareService.java
Outdated
Show resolved
Hide resolved
mcculls
reviewed
May 10, 2024
dd-trace-core/src/main/java/datadog/trace/core/flare/TracerFlareService.java
Show resolved
Hide resolved
mcculls
approved these changes
May 10, 2024
cecile75
force-pushed
the
cecile/tracer_debugfile
branch
from
May 10, 2024 11:17
8e3ea7e
to
47112ba
Compare
mcculls
approved these changes
May 10, 2024
dougqh
approved these changes
May 10, 2024
smola
changed the title
Add log file if size is not to big
Add log file if size is not too big
May 13, 2024
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
Add tracer log file to tracer flare, requested by the UI or by Triage mode:
Motivation
Getting tracer logs in tracer flare to get as much information as possible to better troubleshoot issues
Additional Notes
This is only a Draft
Jira ticket: APMAPI-32