-
Notifications
You must be signed in to change notification settings - Fork 318
Remote Config. Add target service+env check. #6636
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
Conversation
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 44 metrics, 10 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.31.0-SNAPSHOT~b7d232dc25, baseline=1.31.0-SNAPSHOT~58ffdd26f7
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.067 s) : 0, 1067241
Total [baseline] (9.348 s) : 0, 9348032
Agent [candidate] (1.064 s) : 0, 1064221
Total [candidate] (9.354 s) : 0, 9354456
section appsec
Agent [baseline] (1.167 s) : 0, 1166719
Total [baseline] (9.553 s) : 0, 9553454
Agent [candidate] (1.163 s) : 0, 1162791
Total [candidate] (9.446 s) : 0, 9446015
section iast
Agent [baseline] (1.184 s) : 0, 1184316
Total [baseline] (9.703 s) : 0, 9702563
Agent [candidate] (1.185 s) : 0, 1185461
Total [candidate] (9.727 s) : 0, 9726955
section profiling
Agent [baseline] (1.284 s) : 0, 1284214
Total [baseline] (9.599 s) : 0, 9598509
Agent [candidate] (1.281 s) : 0, 1280648
Total [candidate] (9.643 s) : 0, 9642560
gantt
title petclinic - break down per module: candidate=1.31.0-SNAPSHOT~b7d232dc25, baseline=1.31.0-SNAPSHOT~58ffdd26f7
dateFormat X
axisFormat %s
section tracing
BytebuddyAgent [baseline] (672.225 ms) : 0, 672225
BytebuddyAgent [candidate] (670.273 ms) : 0, 670273
GlobalTracer [baseline] (299.839 ms) : 0, 299839
GlobalTracer [candidate] (299.797 ms) : 0, 299797
AppSec [baseline] (52.281 ms) : 0, 52281
AppSec [candidate] (51.461 ms) : 0, 51461
Remote Config [baseline] (710.751 µs) : 0, 711
Remote Config [candidate] (703.373 µs) : 0, 703
Telemetry [baseline] (7.739 ms) : 0, 7739
Telemetry [candidate] (7.687 ms) : 0, 7687
section appsec
BytebuddyAgent [baseline] (672.595 ms) : 0, 672595
BytebuddyAgent [candidate] (669.385 ms) : 0, 669385
GlobalTracer [baseline] (300.066 ms) : 0, 300066
GlobalTracer [candidate] (300.082 ms) : 0, 300082
AppSec [baseline] (152.036 ms) : 0, 152036
AppSec [candidate] (151.406 ms) : 0, 151406
Remote Config [baseline] (657.267 µs) : 0, 657
Remote Config [candidate] (653.438 µs) : 0, 653
Telemetry [baseline] (6.888 ms) : 0, 6888
Telemetry [candidate] (6.841 ms) : 0, 6841
section iast
BytebuddyAgent [baseline] (778.663 ms) : 0, 778663
BytebuddyAgent [candidate] (778.756 ms) : 0, 778756
GlobalTracer [baseline] (288.76 ms) : 0, 288760
GlobalTracer [candidate] (290.26 ms) : 0, 290260
AppSec [baseline] (51.47 ms) : 0, 51470
AppSec [candidate] (53.611 ms) : 0, 53611
Remote Config [baseline] (628.906 µs) : 0, 629
Remote Config [candidate] (605.982 µs) : 0, 606
Telemetry [baseline] (6.61 ms) : 0, 6610
Telemetry [candidate] (6.596 ms) : 0, 6596
IAST [baseline] (23.813 ms) : 0, 23813
IAST [candidate] (21.377 ms) : 0, 21377
section profiling
ProfilingAgent [baseline] (111.858 ms) : 0, 111858
ProfilingAgent [candidate] (112.433 ms) : 0, 112433
BytebuddyAgent [baseline] (669.637 ms) : 0, 669637
BytebuddyAgent [candidate] (666.686 ms) : 0, 666686
GlobalTracer [baseline] (383.188 ms) : 0, 383188
GlobalTracer [candidate] (383.918 ms) : 0, 383918
AppSec [baseline] (52.42 ms) : 0, 52420
AppSec [candidate] (52.018 ms) : 0, 52018
Remote Config [baseline] (673.101 µs) : 0, 673
Remote Config [candidate] (662.542 µs) : 0, 663
Telemetry [baseline] (11.629 ms) : 0, 11629
Telemetry [candidate] (10.295 ms) : 0, 10295
Profiling [baseline] (111.882 ms) : 0, 111882
Profiling [candidate] (112.457 ms) : 0, 112457
LoadParameters
See matching parameters
SummaryFound 0 performance improvements and 1 performance regressions! Performance is the same for 9 metrics, 16 unstable metrics.
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.31.0-SNAPSHOT~b7d232dc25, baseline=1.31.0-SNAPSHOT~58ffdd26f7
dateFormat X
axisFormat %s
section baseline
no_agent (1.296 ms) : 1290, 1301
. : milestone, 1296,
appsec (1.773 ms) : 1748, 1797
. : milestone, 1773,
iast (1.526 ms) : 1502, 1550
. : milestone, 1526,
profiling (1.564 ms) : 1537, 1591
. : milestone, 1564,
tracing (1.482 ms) : 1457, 1506
. : milestone, 1482,
section candidate
no_agent (1.38 ms) : 1360, 1399
. : milestone, 1380,
appsec (1.779 ms) : 1754, 1804
. : milestone, 1779,
iast (1.507 ms) : 1482, 1531
. : milestone, 1507,
profiling (1.541 ms) : 1516, 1566
. : milestone, 1541,
tracing (1.493 ms) : 1468, 1518
. : milestone, 1493,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.31.0-SNAPSHOT~b7d232dc25, baseline=1.31.0-SNAPSHOT~58ffdd26f7
dateFormat X
axisFormat %s
section baseline
no_agent (371.667 µs) : 351, 392
. : milestone, 372,
iast (479.546 µs) : 458, 501
. : milestone, 480,
iast_FULL (547.514 µs) : 527, 569
. : milestone, 548,
iast_GLOBAL (504.758 µs) : 484, 526
. : milestone, 505,
iast_HARDCODED_SECRET_DISABLED (481.857 µs) : 461, 503
. : milestone, 482,
iast_INACTIVE (457.633 µs) : 436, 479
. : milestone, 458,
iast_TELEMETRY_OFF (477.531 µs) : 456, 499
. : milestone, 478,
tracing (446.566 µs) : 426, 467
. : milestone, 447,
section candidate
no_agent (369.322 µs) : 349, 389
. : milestone, 369,
iast (473.916 µs) : 453, 494
. : milestone, 474,
iast_FULL (547.812 µs) : 527, 569
. : milestone, 548,
iast_GLOBAL (495.22 µs) : 475, 516
. : milestone, 495,
iast_HARDCODED_SECRET_DISABLED (473.645 µs) : 453, 494
. : milestone, 474,
iast_INACTIVE (452.021 µs) : 431, 473
. : milestone, 452,
iast_TELEMETRY_OFF (470.48 µs) : 450, 491
. : milestone, 470,
tracing (451.477 µs) : 431, 472
. : milestone, 451,
|
fb07b60 to
7909728
Compare
| "service": "${Config.get().getServiceName()}", | ||
| "env": "${Config.get().getEnv()}" |
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.
Should we add a test case to check the config is not apply when one of those values do not match?
7909728 to
8ecc48d
Compare
8ecc48d to
b7d232d
Compare
What Does This Do
Add the target service and env checks.
Motivation
Prevent remote config update if service+env doesn't match.
Additional Notes
Jira ticket: APMJAVA-1222
DataDog/system-tests#2144