-
Notifications
You must be signed in to change notification settings - Fork 293
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 the possibility to output the logs of the Java tracer in JSON #8083
base: master
Are you sure you want to change the base?
Conversation
Hi! 👋 Looks like you updated a Git Submodule.
|
Hi! 👋 Looks like you updated a Git Submodule.
|
BenchmarksStartupLoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 17 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.45.0-SNAPSHOT~e85525e12c, baseline=1.45.0-SNAPSHOT~73f194e3ea
dateFormat X
axisFormat %s
section baseline
no_agent (1.353 ms) : 1333, 1372
. : milestone, 1353,
appsec (1.743 ms) : 1720, 1767
. : milestone, 1743,
appsec_no_iast (1.737 ms) : 1713, 1760
. : milestone, 1737,
iast (1.505 ms) : 1482, 1529
. : milestone, 1505,
profiling (1.548 ms) : 1523, 1572
. : milestone, 1548,
tracing (1.465 ms) : 1440, 1490
. : milestone, 1465,
section candidate
no_agent (1.357 ms) : 1337, 1377
. : milestone, 1357,
appsec (1.758 ms) : 1734, 1781
. : milestone, 1758,
appsec_no_iast (1.764 ms) : 1740, 1789
. : milestone, 1764,
iast (1.518 ms) : 1495, 1540
. : milestone, 1518,
profiling (1.504 ms) : 1481, 1528
. : milestone, 1504,
tracing (1.481 ms) : 1457, 1506
. : milestone, 1481,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.45.0-SNAPSHOT~e85525e12c, baseline=1.45.0-SNAPSHOT~73f194e3ea
dateFormat X
axisFormat %s
section baseline
no_agent (375.781 µs) : 354, 397
. : milestone, 376,
iast (489.228 µs) : 468, 511
. : milestone, 489,
iast_FULL (649.325 µs) : 628, 671
. : milestone, 649,
iast_GLOBAL (523.021 µs) : 501, 545
. : milestone, 523,
iast_HARDCODED_SECRET_DISABLED (488.877 µs) : 468, 510
. : milestone, 489,
iast_INACTIVE (447.248 µs) : 426, 468
. : milestone, 447,
iast_TELEMETRY_OFF (482.844 µs) : 461, 505
. : milestone, 483,
tracing (443.509 µs) : 423, 464
. : milestone, 444,
section candidate
no_agent (372.637 µs) : 352, 394
. : milestone, 373,
iast (491.834 µs) : 471, 513
. : milestone, 492,
iast_FULL (652.121 µs) : 630, 674
. : milestone, 652,
iast_GLOBAL (517.036 µs) : 495, 539
. : milestone, 517,
iast_HARDCODED_SECRET_DISABLED (491.619 µs) : 470, 513
. : milestone, 492,
iast_INACTIVE (454.537 µs) : 433, 476
. : milestone, 455,
iast_TELEMETRY_OFF (476.574 µs) : 455, 498
. : milestone, 477,
tracing (449.971 µs) : 429, 471
. : milestone, 450,
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 tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.45.0-SNAPSHOT~e85525e12c, baseline=1.45.0-SNAPSHOT~73f194e3ea
dateFormat X
axisFormat %s
section baseline
no_agent (1.472 ms) : 1461, 1484
. : milestone, 1472,
appsec (2.366 ms) : 2322, 2409
. : milestone, 2366,
iast (2.11 ms) : 2056, 2165
. : milestone, 2110,
iast_GLOBAL (2.156 ms) : 2101, 2211
. : milestone, 2156,
profiling (1.983 ms) : 1938, 2028
. : milestone, 1983,
tracing (1.956 ms) : 1913, 1998
. : milestone, 1956,
section candidate
no_agent (1.476 ms) : 1465, 1488
. : milestone, 1476,
appsec (2.368 ms) : 2326, 2411
. : milestone, 2368,
iast (2.091 ms) : 2038, 2145
. : milestone, 2091,
iast_GLOBAL (2.134 ms) : 2081, 2187
. : milestone, 2134,
profiling (1.969 ms) : 1926, 2012
. : milestone, 1969,
tracing (1.936 ms) : 1895, 1977
. : milestone, 1936,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.45.0-SNAPSHOT~e85525e12c, baseline=1.45.0-SNAPSHOT~73f194e3ea
dateFormat X
axisFormat %s
section baseline
no_agent (15.282 s) : 15282000, 15282000
. : milestone, 15282000,
appsec (15.119 s) : 15119000, 15119000
. : milestone, 15119000,
iast (19.067 s) : 19067000, 19067000
. : milestone, 19067000,
iast_GLOBAL (17.986 s) : 17986000, 17986000
. : milestone, 17986000,
profiling (15.79 s) : 15790000, 15790000
. : milestone, 15790000,
tracing (14.876 s) : 14876000, 14876000
. : milestone, 14876000,
section candidate
no_agent (15.636 s) : 15636000, 15636000
. : milestone, 15636000,
appsec (15.152 s) : 15152000, 15152000
. : milestone, 15152000,
iast (18.771 s) : 18771000, 18771000
. : milestone, 18771000,
iast_GLOBAL (17.583 s) : 17583000, 17583000
. : milestone, 17583000,
profiling (14.982 s) : 14982000, 14982000
. : milestone, 14982000,
tracing (15.255 s) : 15255000, 15255000
. : milestone, 15255000,
|
What Does This Do
Add the possibility to output the logs of the Java tracer in JSON.
The JSON keys have been chosen to be compatible out of the box with the Logs UI of Datadog.
You will be able to identify all the logs coming from the tracer by filtering them using @origin:dd.trace
Note:
If you don’t configure a specific
datadog.slf4j.simpleLogger.dateTimeFormat
,yyyy-MM-dd'T'HH:mm:ss.SSSZ
to be compatible with the logs UI .[dd.trace 'yyyy-MM-dd HH:mm:ss:SSS Z']
Usage
System property:
datadog.slf4j.simpleLogger.jsonEnabled
Default: false
Description: This configuration key set to true will output the logs of the Java tracer in JSON.
Motivation
#1109
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]