Allow mapping process tags from env or sysprops#11204
Open
Allow mapping process tags from env or sysprops#11204
Conversation
Contributor
|
Hi! 👋 Thanks for your pull request! 🎉 To help us review it, please make sure to:
If you need help, please check our contributing guidelines. |
BenchmarksStartupParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 61 metrics, 10 unstable metrics. Startup time reports for petclinicgantt
title petclinic - global startup overhead: candidate=1.62.0-SNAPSHOT~452a20b546, baseline=1.62.0-SNAPSHOT~e6cac64dfd
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.06 s) : 0, 1060221
Total [baseline] (11.026 s) : 0, 11025608
Agent [candidate] (1.069 s) : 0, 1069206
Total [candidate] (11.058 s) : 0, 11058400
section appsec
Agent [baseline] (1.269 s) : 0, 1268501
Total [baseline] (11.089 s) : 0, 11088926
Agent [candidate] (1.263 s) : 0, 1262979
Total [candidate] (11.08 s) : 0, 11080092
section iast
Agent [baseline] (1.245 s) : 0, 1245143
Total [baseline] (11.385 s) : 0, 11385280
Agent [candidate] (1.247 s) : 0, 1246902
Total [candidate] (11.414 s) : 0, 11413591
section profiling
Agent [baseline] (1.187 s) : 0, 1187499
Total [baseline] (11.064 s) : 0, 11064119
Agent [candidate] (1.189 s) : 0, 1188698
Total [candidate] (11.037 s) : 0, 11036595
gantt
title petclinic - break down per module: candidate=1.62.0-SNAPSHOT~452a20b546, baseline=1.62.0-SNAPSHOT~e6cac64dfd
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.234 ms) : 0, 1234
crashtracking [candidate] (1.235 ms) : 0, 1235
BytebuddyAgent [baseline] (633.43 ms) : 0, 633430
BytebuddyAgent [candidate] (638.94 ms) : 0, 638940
AgentMeter [baseline] (29.332 ms) : 0, 29332
AgentMeter [candidate] (29.623 ms) : 0, 29623
GlobalTracer [baseline] (247.705 ms) : 0, 247705
GlobalTracer [candidate] (249.546 ms) : 0, 249546
AppSec [baseline] (32.664 ms) : 0, 32664
AppSec [candidate] (32.844 ms) : 0, 32844
Debugger [baseline] (60.303 ms) : 0, 60303
Debugger [candidate] (60.712 ms) : 0, 60712
Remote Config [baseline] (597.813 µs) : 0, 598
Remote Config [candidate] (598.548 µs) : 0, 599
Telemetry [baseline] (8.34 ms) : 0, 8340
Telemetry [candidate] (9.96 ms) : 0, 9960
Flare Poller [baseline] (10.702 ms) : 0, 10702
Flare Poller [candidate] (9.693 ms) : 0, 9693
section appsec
crashtracking [baseline] (1.243 ms) : 0, 1243
crashtracking [candidate] (1.24 ms) : 0, 1240
BytebuddyAgent [baseline] (678.883 ms) : 0, 678883
BytebuddyAgent [candidate] (674.003 ms) : 0, 674003
AgentMeter [baseline] (12.274 ms) : 0, 12274
AgentMeter [candidate] (12.284 ms) : 0, 12284
GlobalTracer [baseline] (249.902 ms) : 0, 249902
GlobalTracer [candidate] (248.836 ms) : 0, 248836
IAST [baseline] (24.686 ms) : 0, 24686
IAST [candidate] (24.626 ms) : 0, 24626
AppSec [baseline] (185.312 ms) : 0, 185312
AppSec [candidate] (184.573 ms) : 0, 184573
Debugger [baseline] (64.874 ms) : 0, 64874
Debugger [candidate] (64.666 ms) : 0, 64666
Remote Config [baseline] (553.444 µs) : 0, 553
Remote Config [candidate] (581.51 µs) : 0, 582
Telemetry [baseline] (7.761 ms) : 0, 7761
Telemetry [candidate] (7.714 ms) : 0, 7714
Flare Poller [baseline] (6.845 ms) : 0, 6845
Flare Poller [candidate] (8.488 ms) : 0, 8488
section iast
crashtracking [baseline] (1.223 ms) : 0, 1223
crashtracking [candidate] (1.218 ms) : 0, 1218
BytebuddyAgent [baseline] (823.17 ms) : 0, 823170
BytebuddyAgent [candidate] (823.553 ms) : 0, 823553
AgentMeter [baseline] (11.293 ms) : 0, 11293
AgentMeter [candidate] (11.43 ms) : 0, 11430
GlobalTracer [baseline] (238.224 ms) : 0, 238224
GlobalTracer [candidate] (239.132 ms) : 0, 239132
IAST [baseline] (27.342 ms) : 0, 27342
IAST [candidate] (30.681 ms) : 0, 30681
AppSec [baseline] (30.602 ms) : 0, 30602
AppSec [candidate] (29.012 ms) : 0, 29012
Debugger [baseline] (65.284 ms) : 0, 65284
Debugger [candidate] (63.684 ms) : 0, 63684
Remote Config [baseline] (524.329 µs) : 0, 524
Remote Config [candidate] (539.9 µs) : 0, 540
Telemetry [baseline] (7.994 ms) : 0, 7994
Telemetry [candidate] (8.119 ms) : 0, 8119
Flare Poller [baseline] (3.396 ms) : 0, 3396
Flare Poller [candidate] (3.517 ms) : 0, 3517
section profiling
crashtracking [baseline] (1.185 ms) : 0, 1185
crashtracking [candidate] (1.177 ms) : 0, 1177
BytebuddyAgent [baseline] (692.344 ms) : 0, 692344
BytebuddyAgent [candidate] (693.34 ms) : 0, 693340
AgentMeter [baseline] (8.947 ms) : 0, 8947
AgentMeter [candidate] (8.917 ms) : 0, 8917
GlobalTracer [baseline] (208.127 ms) : 0, 208127
GlobalTracer [candidate] (209.142 ms) : 0, 209142
AppSec [baseline] (32.822 ms) : 0, 32822
AppSec [candidate] (32.914 ms) : 0, 32914
Debugger [baseline] (66.207 ms) : 0, 66207
Debugger [candidate] (66.214 ms) : 0, 66214
Remote Config [baseline] (576.204 µs) : 0, 576
Remote Config [candidate] (586.497 µs) : 0, 586
Telemetry [baseline] (8.094 ms) : 0, 8094
Telemetry [candidate] (8.104 ms) : 0, 8104
Flare Poller [baseline] (3.555 ms) : 0, 3555
Flare Poller [candidate] (3.607 ms) : 0, 3607
ProfilingAgent [baseline] (94.271 ms) : 0, 94271
ProfilingAgent [candidate] (93.509 ms) : 0, 93509
Profiling [baseline] (94.829 ms) : 0, 94829
Profiling [candidate] (94.054 ms) : 0, 94054
Startup time reports for insecure-bankgantt
title insecure-bank - global startup overhead: candidate=1.62.0-SNAPSHOT~452a20b546, baseline=1.62.0-SNAPSHOT~e6cac64dfd
dateFormat X
axisFormat %s
section tracing
Agent [baseline] (1.069 s) : 0, 1068583
Total [baseline] (8.848 s) : 0, 8848296
Agent [candidate] (1.063 s) : 0, 1063163
Total [candidate] (8.863 s) : 0, 8862559
section iast
Agent [baseline] (1.252 s) : 0, 1251810
Total [baseline] (9.612 s) : 0, 9612386
Agent [candidate] (1.253 s) : 0, 1252926
Total [candidate] (9.528 s) : 0, 9527755
gantt
title insecure-bank - break down per module: candidate=1.62.0-SNAPSHOT~452a20b546, baseline=1.62.0-SNAPSHOT~e6cac64dfd
dateFormat X
axisFormat %s
section tracing
crashtracking [baseline] (1.253 ms) : 0, 1253
crashtracking [candidate] (1.211 ms) : 0, 1211
BytebuddyAgent [baseline] (638.699 ms) : 0, 638699
BytebuddyAgent [candidate] (635.752 ms) : 0, 635752
AgentMeter [baseline] (29.59 ms) : 0, 29590
AgentMeter [candidate] (29.573 ms) : 0, 29573
GlobalTracer [baseline] (249.751 ms) : 0, 249751
GlobalTracer [candidate] (248.695 ms) : 0, 248695
AppSec [baseline] (32.726 ms) : 0, 32726
AppSec [candidate] (32.741 ms) : 0, 32741
Debugger [baseline] (60.119 ms) : 0, 60119
Debugger [candidate] (59.751 ms) : 0, 59751
Remote Config [baseline] (664.228 µs) : 0, 664
Remote Config [candidate] (603.445 µs) : 0, 603
Telemetry [baseline] (9.989 ms) : 0, 9989
Telemetry [candidate] (9.926 ms) : 0, 9926
Flare Poller [baseline] (9.818 ms) : 0, 9818
Flare Poller [candidate] (8.939 ms) : 0, 8939
section iast
crashtracking [baseline] (1.229 ms) : 0, 1229
crashtracking [candidate] (1.226 ms) : 0, 1226
BytebuddyAgent [baseline] (828.961 ms) : 0, 828961
BytebuddyAgent [candidate] (830.253 ms) : 0, 830253
AgentMeter [baseline] (11.373 ms) : 0, 11373
AgentMeter [candidate] (11.478 ms) : 0, 11478
GlobalTracer [baseline] (238.78 ms) : 0, 238780
GlobalTracer [candidate] (239.031 ms) : 0, 239031
AppSec [baseline] (31.727 ms) : 0, 31727
AppSec [candidate] (31.774 ms) : 0, 31774
Debugger [baseline] (63.334 ms) : 0, 63334
Debugger [candidate] (63.613 ms) : 0, 63613
Remote Config [baseline] (545.586 µs) : 0, 546
Remote Config [candidate] (520.651 µs) : 0, 521
Telemetry [baseline] (8.015 ms) : 0, 8015
Telemetry [candidate] (7.962 ms) : 0, 7962
Flare Poller [baseline] (3.466 ms) : 0, 3466
Flare Poller [candidate] (3.347 ms) : 0, 3347
IAST [baseline] (28.282 ms) : 0, 28282
IAST [candidate] (27.533 ms) : 0, 27533
LoadParameters
See matching parameters
SummaryFound 1 performance improvements and 1 performance regressions! Performance is the same for 17 metrics, 17 unstable metrics.
Request duration reports for petclinicgantt
title petclinic - request duration [CI 0.99] : candidate=1.62.0-SNAPSHOT~452a20b546, baseline=1.62.0-SNAPSHOT~e6cac64dfd
dateFormat X
axisFormat %s
section baseline
no_agent (17.381 ms) : 17209, 17552
. : milestone, 17381,
appsec (19.141 ms) : 18942, 19340
. : milestone, 19141,
code_origins (17.626 ms) : 17452, 17800
. : milestone, 17626,
iast (18.19 ms) : 18009, 18372
. : milestone, 18190,
profiling (19.134 ms) : 18941, 19327
. : milestone, 19134,
tracing (18.058 ms) : 17875, 18241
. : milestone, 18058,
section candidate
no_agent (18.471 ms) : 18284, 18658
. : milestone, 18471,
appsec (18.654 ms) : 18463, 18845
. : milestone, 18654,
code_origins (17.785 ms) : 17609, 17961
. : milestone, 17785,
iast (17.889 ms) : 17712, 18067
. : milestone, 17889,
profiling (18.309 ms) : 18127, 18491
. : milestone, 18309,
tracing (18.268 ms) : 18088, 18448
. : milestone, 18268,
Request duration reports for insecure-bankgantt
title insecure-bank - request duration [CI 0.99] : candidate=1.62.0-SNAPSHOT~452a20b546, baseline=1.62.0-SNAPSHOT~e6cac64dfd
dateFormat X
axisFormat %s
section baseline
no_agent (1.267 ms) : 1254, 1279
. : milestone, 1267,
iast (3.485 ms) : 3432, 3538
. : milestone, 3485,
iast_FULL (6.027 ms) : 5966, 6088
. : milestone, 6027,
iast_GLOBAL (3.734 ms) : 3669, 3798
. : milestone, 3734,
profiling (2.153 ms) : 2134, 2173
. : milestone, 2153,
tracing (1.857 ms) : 1840, 1875
. : milestone, 1857,
section candidate
no_agent (1.258 ms) : 1246, 1270
. : milestone, 1258,
iast (3.46 ms) : 3411, 3510
. : milestone, 3460,
iast_FULL (5.979 ms) : 5919, 6039
. : milestone, 5979,
iast_GLOBAL (3.771 ms) : 3707, 3835
. : milestone, 3771,
profiling (2.492 ms) : 2463, 2521
. : milestone, 2492,
tracing (1.872 ms) : 1856, 1887
. : milestone, 1872,
DacapoParameters
See matching parameters
SummaryFound 0 performance improvements and 0 performance regressions! Performance is the same for 11 metrics, 1 unstable metrics. Execution time for tomcatgantt
title tomcat - execution time [CI 0.99] : candidate=1.62.0-SNAPSHOT~452a20b546, baseline=1.62.0-SNAPSHOT~e6cac64dfd
dateFormat X
axisFormat %s
section baseline
no_agent (1.49 ms) : 1479, 1502
. : milestone, 1490,
appsec (3.84 ms) : 3617, 4062
. : milestone, 3840,
iast (2.291 ms) : 2220, 2361
. : milestone, 2291,
iast_GLOBAL (2.32 ms) : 2249, 2390
. : milestone, 2320,
profiling (2.09 ms) : 2035, 2145
. : milestone, 2090,
tracing (2.084 ms) : 2031, 2138
. : milestone, 2084,
section candidate
no_agent (1.486 ms) : 1475, 1498
. : milestone, 1486,
appsec (3.775 ms) : 3558, 3993
. : milestone, 3775,
iast (2.287 ms) : 2217, 2357
. : milestone, 2287,
iast_GLOBAL (2.322 ms) : 2252, 2392
. : milestone, 2322,
profiling (2.112 ms) : 2056, 2168
. : milestone, 2112,
tracing (2.08 ms) : 2026, 2134
. : milestone, 2080,
Execution time for biojavagantt
title biojava - execution time [CI 0.99] : candidate=1.62.0-SNAPSHOT~452a20b546, baseline=1.62.0-SNAPSHOT~e6cac64dfd
dateFormat X
axisFormat %s
section baseline
no_agent (15.506 s) : 15506000, 15506000
. : milestone, 15506000,
appsec (14.626 s) : 14626000, 14626000
. : milestone, 14626000,
iast (18.292 s) : 18292000, 18292000
. : milestone, 18292000,
iast_GLOBAL (17.813 s) : 17813000, 17813000
. : milestone, 17813000,
profiling (15.621 s) : 15621000, 15621000
. : milestone, 15621000,
tracing (15.115 s) : 15115000, 15115000
. : milestone, 15115000,
section candidate
no_agent (15.08 s) : 15080000, 15080000
. : milestone, 15080000,
appsec (14.988 s) : 14988000, 14988000
. : milestone, 14988000,
iast (18.666 s) : 18666000, 18666000
. : milestone, 18666000,
iast_GLOBAL (18.347 s) : 18347000, 18347000
. : milestone, 18347000,
profiling (15.029 s) : 15029000, 15029000
. : milestone, 15029000,
tracing (14.832 s) : 14832000, 14832000
. : milestone, 14832000,
|
raphaelgavache
approved these changes
Apr 27, 2026
4be9f5b to
470cd64
Compare
470cd64 to
452a20b
Compare
This file contains hidden or 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
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
Introduces a new configuration that lets customers derive process tags from environment variables or Java system properties.
Format:
DD_PROCESS_TAGS_MAPPING={source}config_key:process_tag_key(comma-separated list)Example:
If
my.cluster=cluster1is set as a system property, the process tag cluster_name:cluster1` is emitted.Supported sources:
env(environment variables),prop(Java system properties)Behaviour:
WARNlog; missing key or empty value →DEBUGlogMotivation
Additional Notes
Contributor Checklist
type:and (comp:orinst:) labels in addition to any other useful labelsclose,fix, or any linking keywords when referencing an issueUse
solvesinstead, and assign the PR milestone to the issueJira ticket: [PROJ-IDENT]
Note: Once your PR is ready to merge, add it to the merge queue by commenting
/merge./merge -ccancels the queue request./merge -f --reason "reason"skips all merge queue checks; please use this judiciously, as some checks do not run at the PR-level. For more information, see this doc.