-
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
Implement telemetry for CI Visibility #6664
Merged
nikita-tkachenko-datadog
merged 1 commit into
master
from
nikita-tkachenko/ci-vis-telemetry
Feb 13, 2024
Merged
Implement telemetry for CI Visibility #6664
nikita-tkachenko-datadog
merged 1 commit into
master
from
nikita-tkachenko/ci-vis-telemetry
Feb 13, 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
33df66a
to
5001f17
Compare
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 47 metrics, 7 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.31.0-SNAPSHOT~8936a3f0a8, baseline=1.31.0-SNAPSHOT~d2d8296831
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.058 s) : 0, 1057546
Total [baseline] (9.335 s) : 0, 9335140
Agent [candidate] (1.062 s) : 0, 1061509
Total [candidate] (9.329 s) : 0, 9328741
section appsec
Agent [baseline] (1.157 s) : 0, 1157276
Total [baseline] (9.464 s) : 0, 9463897
Agent [candidate] (1.166 s) : 0, 1165906
Total [candidate] (9.495 s) : 0, 9495436
section iast
Agent [baseline] (1.182 s) : 0, 1182482
Total [baseline] (9.688 s) : 0, 9687863
Agent [candidate] (1.188 s) : 0, 1188014
Total [candidate] (9.716 s) : 0, 9715861
section profiling
Agent [baseline] (1.282 s) : 0, 1281969
Total [baseline] (9.596 s) : 0, 9596023
Agent [candidate] (1.278 s) : 0, 1277908
Total [candidate] (9.568 s) : 0, 9567586
gantt
title petclinic - break down per module: candidate=1.31.0-SNAPSHOT~8936a3f0a8, baseline=1.31.0-SNAPSHOT~d2d8296831
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (666.656 ms) : 0, 666656
BytebuddyAgent [candidate] (668.65 ms) : 0, 668650
GlobalTracer [baseline] (296.87 ms) : 0, 296870
GlobalTracer [candidate] (298.466 ms) : 0, 298466
AppSec [baseline] (51.449 ms) : 0, 51449
AppSec [candidate] (51.936 ms) : 0, 51936
Remote Config [baseline] (689.962 µs) : 0, 690
Remote Config [candidate] (680.404 µs) : 0, 680
Telemetry [baseline] (7.62 ms) : 0, 7620
Telemetry [candidate] (7.588 ms) : 0, 7588
section appsec
BytebuddyAgent [baseline] (666.835 ms) : 0, 666835
BytebuddyAgent [candidate] (672.231 ms) : 0, 672231
GlobalTracer [baseline] (297.48 ms) : 0, 297480
GlobalTracer [candidate] (299.918 ms) : 0, 299918
AppSec [baseline] (151.267 ms) : 0, 151267
AppSec [candidate] (151.792 ms) : 0, 151792
Remote Config [baseline] (653.162 µs) : 0, 653
Remote Config [candidate] (651.416 µs) : 0, 651
Telemetry [baseline] (6.842 ms) : 0, 6842
Telemetry [candidate] (6.875 ms) : 0, 6875
section iast
BytebuddyAgent [baseline] (777.571 ms) : 0, 777571
BytebuddyAgent [candidate] (781.34 ms) : 0, 781340
GlobalTracer [baseline] (287.948 ms) : 0, 287948
GlobalTracer [candidate] (289.822 ms) : 0, 289822
AppSec [baseline] (52.458 ms) : 0, 52458
AppSec [candidate] (55.269 ms) : 0, 55269
IAST [baseline] (23.028 ms) : 0, 23028
IAST [candidate] (19.951 ms) : 0, 19951
Remote Config [baseline] (619.7 µs) : 0, 620
Remote Config [candidate] (617.667 µs) : 0, 618
Telemetry [baseline] (6.544 ms) : 0, 6544
Telemetry [candidate] (6.644 ms) : 0, 6644
section profiling
BytebuddyAgent [baseline] (668.968 ms) : 0, 668968
BytebuddyAgent [candidate] (665.157 ms) : 0, 665157
GlobalTracer [baseline] (382.016 ms) : 0, 382016
GlobalTracer [candidate] (382.472 ms) : 0, 382472
AppSec [baseline] (52.371 ms) : 0, 52371
AppSec [candidate] (52.056 ms) : 0, 52056
Remote Config [baseline] (662.45 µs) : 0, 662
Remote Config [candidate] (667.676 µs) : 0, 668
Telemetry [baseline] (10.172 ms) : 0, 10172
Telemetry [candidate] (11.476 ms) : 0, 11476
ProfilingAgent [baseline] (112.997 ms) : 0, 112997
ProfilingAgent [candidate] (111.495 ms) : 0, 111495
Profiling [baseline] (113.021 ms) : 0, 113021
Profiling [candidate] (111.519 ms) : 0, 111519
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 15 unstable metrics. Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.31.0-SNAPSHOT~8936a3f0a8, baseline=1.31.0-SNAPSHOT~d2d8296831
dateFormat X
axisFormat %s
section baseline
no_agent (1.365 ms) : 1346, 1384
. : milestone, 1365,
appsec (1.775 ms) : 1750, 1801
. : milestone, 1775,
iast (1.536 ms) : 1512, 1561
. : milestone, 1536,
profiling (1.53 ms) : 1505, 1556
. : milestone, 1530,
tracing (1.498 ms) : 1473, 1523
. : milestone, 1498,
section candidate
no_agent (1.355 ms) : 1336, 1374
. : milestone, 1355,
appsec (1.791 ms) : 1766, 1817
. : milestone, 1791,
iast (1.531 ms) : 1506, 1555
. : milestone, 1531,
profiling (1.516 ms) : 1491, 1542
. : milestone, 1516,
tracing (1.498 ms) : 1473, 1523
. : milestone, 1498,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.31.0-SNAPSHOT~8936a3f0a8, baseline=1.31.0-SNAPSHOT~d2d8296831
dateFormat X
axisFormat %s
section baseline
no_agent (372.687 µs) : 352, 393
. : milestone, 373,
iast (484.853 µs) : 463, 506
. : milestone, 485,
iast_FULL (549.793 µs) : 529, 571
. : milestone, 550,
iast_GLOBAL (509.959 µs) : 488, 532
. : milestone, 510,
iast_HARDCODED_SECRET_DISABLED (477.66 µs) : 457, 499
. : milestone, 478,
iast_INACTIVE (451.119 µs) : 431, 472
. : milestone, 451,
iast_TELEMETRY_OFF (478.722 µs) : 457, 500
. : milestone, 479,
tracing (446.613 µs) : 425, 468
. : milestone, 447,
section candidate
no_agent (372.146 µs) : 352, 393
. : milestone, 372,
iast (476.322 µs) : 455, 497
. : milestone, 476,
iast_FULL (544.595 µs) : 524, 565
. : milestone, 545,
iast_GLOBAL (507.738 µs) : 486, 530
. : milestone, 508,
iast_HARDCODED_SECRET_DISABLED (475.337 µs) : 455, 496
. : milestone, 475,
iast_INACTIVE (453.509 µs) : 432, 475
. : milestone, 454,
iast_TELEMETRY_OFF (483.717 µs) : 463, 505
. : milestone, 484,
tracing (447.265 µs) : 426, 469
. : milestone, 447,
|
5001f17
to
8936a3f
Compare
tonyredondo
approved these changes
Feb 13, 2024
jandro996
pushed a commit
that referenced
this pull request
Feb 16, 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
Implements telemetry mechanism for CI Visibility logic.
Motivation
To have better observability of CI Visibility behaviour.
Additional Notes
This PR only contains the generic logic for submitting and aggregating metrics. Actual metric invocations will be added in subsequent PRs.
Jira ticket: CIVIS-2427