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
Reduce logging noise in CI Visibility #6825
Merged
nikita-tkachenko-datadog
merged 2 commits into
master
from
nikita-tkachenko/reduce-ci-vis-log-noise
Mar 20, 2024
Merged
Reduce logging noise in CI Visibility #6825
nikita-tkachenko-datadog
merged 2 commits into
master
from
nikita-tkachenko/reduce-ci-vis-log-noise
Mar 20, 2024
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
nikita-tkachenko-datadog
added
the
comp: ci visibility
Continuous Integration Visibility
label
Mar 19, 2024
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 50 metrics, 13 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.32.0-SNAPSHOT~3c6c92bc5b, baseline=1.32.0-SNAPSHOT~f97f63248a
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.092 s) : 0, 1091549
Total [baseline] (9.222 s) : 0, 9222276
Agent [candidate] (1.081 s) : 0, 1081335
Total [candidate] (9.157 s) : 0, 9157428
section appsec
Agent [baseline] (1.209 s) : 0, 1208560
Total [baseline] (9.339 s) : 0, 9338669
Agent [candidate] (1.204 s) : 0, 1203954
Total [candidate] (9.311 s) : 0, 9310895
section iast
Agent [baseline] (1.22 s) : 0, 1219899
Total [baseline] (9.355 s) : 0, 9354627
Agent [candidate] (1.216 s) : 0, 1216409
Total [candidate] (9.379 s) : 0, 9379376
section profiling
Agent [baseline] (1.273 s) : 0, 1272517
Total [baseline] (9.337 s) : 0, 9336745
Agent [candidate] (1.273 s) : 0, 1273439
Total [candidate] (9.392 s) : 0, 9392099
gantt
title petclinic - break down per module: candidate=1.32.0-SNAPSHOT~3c6c92bc5b, baseline=1.32.0-SNAPSHOT~f97f63248a
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (704.033 ms) : 0, 704033
BytebuddyAgent [candidate] (696.979 ms) : 0, 696979
GlobalTracer [baseline] (294.441 ms) : 0, 294441
GlobalTracer [candidate] (292.35 ms) : 0, 292350
AppSec [baseline] (49.631 ms) : 0, 49631
AppSec [candidate] (49.233 ms) : 0, 49233
Remote Config [baseline] (1.105 ms) : 0, 1105
Remote Config [candidate] (1.076 ms) : 0, 1076
Telemetry [baseline] (7.518 ms) : 0, 7518
Telemetry [candidate] (7.471 ms) : 0, 7471
section appsec
BytebuddyAgent [baseline] (700.775 ms) : 0, 700775
BytebuddyAgent [candidate] (697.968 ms) : 0, 697968
GlobalTracer [baseline] (293.424 ms) : 0, 293424
GlobalTracer [candidate] (292.441 ms) : 0, 292441
AppSec [baseline] (154.361 ms) : 0, 154361
AppSec [candidate] (153.91 ms) : 0, 153910
IAST [baseline] (17.998 ms) : 0, 17998
IAST [candidate] (17.948 ms) : 0, 17948
Remote Config [baseline] (618.123 µs) : 0, 618
Remote Config [candidate] (612.44 µs) : 0, 612
Telemetry [baseline] (6.895 ms) : 0, 6895
Telemetry [candidate] (6.862 ms) : 0, 6862
section iast
BytebuddyAgent [baseline] (812.087 ms) : 0, 812087
BytebuddyAgent [candidate] (808.859 ms) : 0, 808859
GlobalTracer [baseline] (291.685 ms) : 0, 291685
GlobalTracer [candidate] (291.271 ms) : 0, 291271
AppSec [baseline] (50.693 ms) : 0, 50693
AppSec [candidate] (52.895 ms) : 0, 52895
IAST [baseline] (23.475 ms) : 0, 23475
IAST [candidate] (21.73 ms) : 0, 21730
Remote Config [baseline] (575.591 µs) : 0, 576
Remote Config [candidate] (575.431 µs) : 0, 575
Telemetry [baseline] (6.629 ms) : 0, 6629
Telemetry [candidate] (6.672 ms) : 0, 6672
section profiling
BytebuddyAgent [baseline] (687.713 ms) : 0, 687713
BytebuddyAgent [candidate] (689.045 ms) : 0, 689045
GlobalTracer [baseline] (375.71 ms) : 0, 375710
GlobalTracer [candidate] (375.64 ms) : 0, 375640
AppSec [baseline] (49.968 ms) : 0, 49968
AppSec [candidate] (50.194 ms) : 0, 50194
Remote Config [baseline] (854.249 µs) : 0, 854
Remote Config [candidate] (820.97 µs) : 0, 821
Telemetry [baseline] (7.261 ms) : 0, 7261
Telemetry [candidate] (7.29 ms) : 0, 7290
ProfilingAgent [baseline] (94.996 ms) : 0, 94996
ProfilingAgent [candidate] (94.496 ms) : 0, 94496
Profiling [baseline] (95.019 ms) : 0, 95019
Profiling [candidate] (94.519 ms) : 0, 94519
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.32.0-SNAPSHOT~3c6c92bc5b, baseline=1.32.0-SNAPSHOT~f97f63248a
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.079 s) : 0, 1079492
Total [baseline] (8.601 s) : 0, 8601044
Agent [candidate] (1.088 s) : 0, 1087705
Total [candidate] (8.583 s) : 0, 8582866
section iast
Agent [baseline] (1.207 s) : 0, 1206681
Total [baseline] (9.085 s) : 0, 9085079
Agent [candidate] (1.206 s) : 0, 1206373
Total [candidate] (9.098 s) : 0, 9097751
section iast_HARDCODED_SECRET_DISABLED
Agent [baseline] (1.207 s) : 0, 1207150
Total [baseline] (9.077 s) : 0, 9076788
Agent [candidate] (1.206 s) : 0, 1206041
Total [candidate] (9.029 s) : 0, 9029032
section iast_TELEMETRY_OFF
Agent [baseline] (1.213 s) : 0, 1213430
Total [baseline] (9.076 s) : 0, 9076058
Agent [candidate] (1.203 s) : 0, 1203008
Total [candidate] (9.106 s) : 0, 9106277
gantt
title insecure-bank - break down per module: candidate=1.32.0-SNAPSHOT~3c6c92bc5b, baseline=1.32.0-SNAPSHOT~f97f63248a
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (696.764 ms) : 0, 696764
BytebuddyAgent [candidate] (701.542 ms) : 0, 701542
GlobalTracer [baseline] (291.285 ms) : 0, 291285
GlobalTracer [candidate] (293.982 ms) : 0, 293982
AppSec [baseline] (48.807 ms) : 0, 48807
AppSec [candidate] (49.26 ms) : 0, 49260
Remote Config [baseline] (1.088 ms) : 0, 1088
Remote Config [candidate] (1.065 ms) : 0, 1065
Telemetry [baseline] (7.339 ms) : 0, 7339
Telemetry [candidate] (7.401 ms) : 0, 7401
section iast
BytebuddyAgent [baseline] (800.108 ms) : 0, 800108
BytebuddyAgent [candidate] (800.806 ms) : 0, 800806
GlobalTracer [baseline] (290.088 ms) : 0, 290088
GlobalTracer [candidate] (289.557 ms) : 0, 289557
AppSec [baseline] (50.92 ms) : 0, 50920
AppSec [candidate] (50.476 ms) : 0, 50476
Remote Config [baseline] (576.545 µs) : 0, 577
Remote Config [candidate] (563.438 µs) : 0, 563
Telemetry [baseline] (7.465 ms) : 0, 7465
Telemetry [candidate] (6.63 ms) : 0, 6630
IAST [baseline] (23.21 ms) : 0, 23210
IAST [candidate] (23.896 ms) : 0, 23896
section iast_HARDCODED_SECRET_DISABLED
BytebuddyAgent [baseline] (802.176 ms) : 0, 802176
BytebuddyAgent [candidate] (800.824 ms) : 0, 800824
GlobalTracer [baseline] (289.516 ms) : 0, 289516
GlobalTracer [candidate] (289.654 ms) : 0, 289654
AppSec [baseline] (50.538 ms) : 0, 50538
AppSec [candidate] (48.937 ms) : 0, 48937
Remote Config [baseline] (577.04 µs) : 0, 577
Remote Config [candidate] (562.005 µs) : 0, 562
Telemetry [baseline] (6.643 ms) : 0, 6643
Telemetry [candidate] (7.302 ms) : 0, 7302
IAST [baseline] (23.285 ms) : 0, 23285
IAST [candidate] (24.475 ms) : 0, 24475
section iast_TELEMETRY_OFF
BytebuddyAgent [baseline] (804.178 ms) : 0, 804178
BytebuddyAgent [candidate] (795.651 ms) : 0, 795651
GlobalTracer [baseline] (293.088 ms) : 0, 293088
GlobalTracer [candidate] (290.977 ms) : 0, 290977
AppSec [baseline] (49.486 ms) : 0, 49486
AppSec [candidate] (50.604 ms) : 0, 50604
Remote Config [baseline] (577.368 µs) : 0, 577
Remote Config [candidate] (593.185 µs) : 0, 593
Telemetry [baseline] (6.574 ms) : 0, 6574
Telemetry [candidate] (6.642 ms) : 0, 6642
IAST [baseline] (24.84 ms) : 0, 24840
IAST [candidate] (24.149 ms) : 0, 24149
LoadRequest duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.32.0-SNAPSHOT~3c6c92bc5b, baseline=1.32.0-SNAPSHOT~f97f63248a
dateFormat X
axisFormat %s
section baseline
no_agent (1.361 ms) : 1342, 1380
. : milestone, 1361,
appsec (1.798 ms) : 1775, 1821
. : milestone, 1798,
iast (1.535 ms) : 1512, 1559
. : milestone, 1535,
profiling (1.564 ms) : 1540, 1589
. : milestone, 1564,
tracing (1.515 ms) : 1491, 1538
. : milestone, 1515,
section candidate
no_agent (1.355 ms) : 1336, 1374
. : milestone, 1355,
appsec (1.792 ms) : 1768, 1815
. : milestone, 1792,
iast (1.528 ms) : 1506, 1551
. : milestone, 1528,
profiling (1.596 ms) : 1572, 1621
. : milestone, 1596,
tracing (1.491 ms) : 1468, 1515
. : milestone, 1491,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.32.0-SNAPSHOT~3c6c92bc5b, baseline=1.32.0-SNAPSHOT~f97f63248a
dateFormat X
axisFormat %s
section baseline
no_agent (379.172 µs) : 357, 401
. : milestone, 379,
iast (476.963 µs) : 457, 497
. : milestone, 477,
iast_FULL (541.548 µs) : 521, 562
. : milestone, 542,
iast_GLOBAL (504.708 µs) : 484, 526
. : milestone, 505,
iast_HARDCODED_SECRET_DISABLED (483.548 µs) : 463, 504
. : milestone, 484,
iast_INACTIVE (451.085 µs) : 431, 471
. : milestone, 451,
iast_TELEMETRY_OFF (478.905 µs) : 458, 500
. : milestone, 479,
tracing (446.187 µs) : 426, 467
. : milestone, 446,
section candidate
no_agent (371.744 µs) : 351, 392
. : milestone, 372,
iast (474.589 µs) : 454, 495
. : milestone, 475,
iast_FULL (548.144 µs) : 527, 569
. : milestone, 548,
iast_GLOBAL (503.802 µs) : 482, 526
. : milestone, 504,
iast_HARDCODED_SECRET_DISABLED (477.015 µs) : 457, 497
. : milestone, 477,
iast_INACTIVE (456.243 µs) : 436, 477
. : milestone, 456,
iast_TELEMETRY_OFF (479.899 µs) : 459, 501
. : milestone, 480,
tracing (445.843 µs) : 426, 466
. : milestone, 446,
|
…eaks Maven instrumentation
juan-fernandez
approved these changes
Mar 20, 2024
nikita-tkachenko-datadog
deleted the
nikita-tkachenko/reduce-ci-vis-log-noise
branch
March 20, 2024 12:43
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
Decreases log level of
INFO
logs toDEBUG
.The only log statement with level
INFO
left is the one that prints CI Visibility settings when the tracer is initialised.Also updates logic that propagates system properties from parent process (Maven/Gradle) to children processes: not only
dd.*
properties are now propagated, but alsodatadog.*
properties.This is needed to ensure that
datadog.slf4j.simpleLogger.defaultLogLevel
property is propagated from parent to children.Motivation
There is a CI Visibility customer complaining about the logs being too noisy.
Jira ticket: APMS-11714