Skip to content

Conversation

MattAlp
Copy link
Contributor

@MattAlp MattAlp commented Aug 28, 2025

What Does This Do

Registers a new reporter for the tracer flare that dumps all profiling-specific configuration

Motivation

Historically, we've dumped profiling settings into the JFRs we produce under a special category. We're looking to make use of the tracer flare & reporting mechanism to compliment that (for customers who aren't seeing profiles generated, or otherwise only provide us with flares when troubleshooting).

Additional Notes

At the moment, the flare reporting / dumping mechanism is closely coupled to the CoreTracer lifecycle, so we won't see flares get generated for customers running the profiler unless they have either tracing or CI vis enabled. APMAPI-1591 addresses the need to make the flare functionality subsystem-agnostic.

Contributor Checklist

Jira ticket: PROF-12386

@MattAlp MattAlp requested a review from a team as a code owner August 28, 2025 15:00
@MattAlp MattAlp closed this Aug 28, 2025
@MattAlp MattAlp added type: enhancement Enhancements and improvements comp: profiling Profiling labels Aug 28, 2025
@MattAlp MattAlp changed the title Created a profile flare reporter (requires tracing or CI vis to be enabled) Create a profile flare reporter (requires tracing or CI vis to be enabled) Aug 28, 2025
@MattAlp MattAlp requested review from mcculls and jbachorik August 28, 2025 15:05
@MattAlp MattAlp reopened this Aug 28, 2025
@DataDog DataDog deleted a comment from github-actions bot Aug 28, 2025
ProfilingConfig.PROFILING_BACKPRESSURE_SAMPLE_LIMIT_DEFAULT);

sb.append("\n=== JFR Settings ===\n");
appendConfig(sb, "JFR Template Override File", config.getProfilingTemplateOverrideFile(), null);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be worth dumping the file contents to the flare, in case a customer misconfigures JFR events in the override.

Copy link

datadog-official bot commented Aug 28, 2025

🎯 Code Coverage
Patch Coverage: 100.00%
Total Coverage: 57.56% (-0.03%)

View detailed report

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 79c5bb1 | Docs | Was this helpful? Give us feedback!

@pr-commenter
Copy link

pr-commenter bot commented Aug 28, 2025

Benchmarks

Startup

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master mattalp/profiling-flare
git_commit_date 1756388169 1756396795
git_commit_sha 962f2c5 79c5bb1
release_version 1.53.0-SNAPSHOT~962f2c5514 1.53.0-SNAPSHOT~79c5bb1f68
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1756398595 1756398595
ci_job_id 1103858473 1103858473
ci_pipeline_id 74995330 74995330
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-1-sv43fccz 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-1-sv43fccz 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
module Agent Agent
parent None None

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 47 metrics, 12 unstable metrics.

Startup time reports for petclinic
gantt
    title petclinic - global startup overhead: candidate=1.53.0-SNAPSHOT~79c5bb1f68, baseline=1.53.0-SNAPSHOT~962f2c5514

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.055 s) : 0, 1055204
Total [baseline] (10.851 s) : 0, 10850722
Agent [candidate] (1.05 s) : 0, 1050474
Total [candidate] (10.767 s) : 0, 10766549
section appsec
Agent [baseline] (1.232 s) : 0, 1232426
Total [baseline] (10.854 s) : 0, 10854082
Agent [candidate] (1.223 s) : 0, 1222884
Total [candidate] (10.766 s) : 0, 10765608
section iast
Agent [baseline] (1.187 s) : 0, 1187200
Total [baseline] (10.976 s) : 0, 10976020
Agent [candidate] (1.179 s) : 0, 1178837
Total [candidate] (10.9 s) : 0, 10899630
section profiling
Agent [baseline] (1.199 s) : 0, 1198917
Total [baseline] (10.929 s) : 0, 10929031
Agent [candidate] (1.21 s) : 0, 1209687
Total [candidate] (10.908 s) : 0, 10908396
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.055 s -
Agent appsec 1.232 s 177.222 ms (16.8%)
Agent iast 1.187 s 131.996 ms (12.5%)
Agent profiling 1.199 s 143.714 ms (13.6%)
Total tracing 10.851 s -
Total appsec 10.854 s 3.36 ms (0.0%)
Total iast 10.976 s 125.298 ms (1.2%)
Total profiling 10.929 s 78.309 ms (0.7%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.05 s -
Agent appsec 1.223 s 172.41 ms (16.4%)
Agent iast 1.179 s 128.362 ms (12.2%)
Agent profiling 1.21 s 159.213 ms (15.2%)
Total tracing 10.767 s -
Total appsec 10.766 s -941.707 µs (-0.0%)
Total iast 10.9 s 133.081 ms (1.2%)
Total profiling 10.908 s 141.846 ms (1.3%)
gantt
    title petclinic - break down per module: candidate=1.53.0-SNAPSHOT~79c5bb1f68, baseline=1.53.0-SNAPSHOT~962f2c5514

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.484 ms) : 0, 1484
crashtracking [candidate] (1.448 ms) : 0, 1448
BytebuddyAgent [baseline] (740.292 ms) : 0, 740292
BytebuddyAgent [candidate] (733.673 ms) : 0, 733673
GlobalTracer [baseline] (244.935 ms) : 0, 244935
GlobalTracer [candidate] (242.86 ms) : 0, 242860
AppSec [baseline] (30.38 ms) : 0, 30380
AppSec [candidate] (30.171 ms) : 0, 30171
Debugger [baseline] (6.12 ms) : 0, 6120
Debugger [candidate] (6.059 ms) : 0, 6059
Remote Config [baseline] (679.807 µs) : 0, 680
Remote Config [candidate] (667.367 µs) : 0, 667
Telemetry [baseline] (10.124 ms) : 0, 10124
Telemetry [candidate] (14.477 ms) : 0, 14477
section appsec
crashtracking [baseline] (1.459 ms) : 0, 1459
crashtracking [candidate] (1.461 ms) : 0, 1461
BytebuddyAgent [baseline] (760.288 ms) : 0, 760288
BytebuddyAgent [candidate] (755.667 ms) : 0, 755667
GlobalTracer [baseline] (237.985 ms) : 0, 237985
GlobalTracer [candidate] (234.912 ms) : 0, 234912
IAST [baseline] (23.917 ms) : 0, 23917
IAST [candidate] (23.644 ms) : 0, 23644
AppSec [baseline] (170.978 ms) : 0, 170978
AppSec [candidate] (170.453 ms) : 0, 170453
Debugger [baseline] (6.584 ms) : 0, 6584
Debugger [candidate] (6.492 ms) : 0, 6492
Remote Config [baseline] (650.129 µs) : 0, 650
Remote Config [candidate] (625.051 µs) : 0, 625
Telemetry [baseline] (9.362 ms) : 0, 9362
Telemetry [candidate] (8.417 ms) : 0, 8417
section iast
crashtracking [baseline] (1.467 ms) : 0, 1467
crashtracking [candidate] (1.446 ms) : 0, 1446
BytebuddyAgent [baseline] (856.912 ms) : 0, 856912
BytebuddyAgent [candidate] (850.412 ms) : 0, 850412
GlobalTracer [baseline] (234.197 ms) : 0, 234197
GlobalTracer [candidate] (233.137 ms) : 0, 233137
IAST [baseline] (30.668 ms) : 0, 30668
IAST [candidate] (28.692 ms) : 0, 28692
AppSec [baseline] (26.339 ms) : 0, 26339
AppSec [candidate] (28.653 ms) : 0, 28653
Debugger [baseline] (7.526 ms) : 0, 7526
Debugger [candidate] (6.581 ms) : 0, 6581
Remote Config [baseline] (610.227 µs) : 0, 610
Remote Config [candidate] (592.111 µs) : 0, 592
Telemetry [baseline] (8.372 ms) : 0, 8372
Telemetry [candidate] (8.231 ms) : 0, 8231
section profiling
crashtracking [baseline] (1.439 ms) : 0, 1439
crashtracking [candidate] (1.437 ms) : 0, 1437
BytebuddyAgent [baseline] (763.912 ms) : 0, 763912
BytebuddyAgent [candidate] (770.142 ms) : 0, 770142
GlobalTracer [baseline] (222.487 ms) : 0, 222487
GlobalTracer [candidate] (224.236 ms) : 0, 224236
AppSec [baseline] (30.092 ms) : 0, 30092
AppSec [candidate] (30.546 ms) : 0, 30546
Debugger [baseline] (6.338 ms) : 0, 6338
Debugger [candidate] (6.385 ms) : 0, 6385
Remote Config [baseline] (689.61 µs) : 0, 690
Remote Config [candidate] (700.802 µs) : 0, 701
Telemetry [baseline] (15.524 ms) : 0, 15524
Telemetry [candidate] (16.584 ms) : 0, 16584
ProfilingAgent [baseline] (108.724 ms) : 0, 108724
ProfilingAgent [candidate] (108.835 ms) : 0, 108835
Profiling [baseline] (109.368 ms) : 0, 109368
Profiling [candidate] (109.502 ms) : 0, 109502
Loading
Startup time reports for insecure-bank
gantt
    title insecure-bank - global startup overhead: candidate=1.53.0-SNAPSHOT~79c5bb1f68, baseline=1.53.0-SNAPSHOT~962f2c5514

    dateFormat X
    axisFormat %s
section tracing
Agent [baseline] (1.059 s) : 0, 1059024
Total [baseline] (8.64 s) : 0, 8639790
Agent [candidate] (1.052 s) : 0, 1052207
Total [candidate] (8.626 s) : 0, 8625989
section iast
Agent [baseline] (1.187 s) : 0, 1186758
Total [baseline] (9.429 s) : 0, 9428510
Agent [candidate] (1.188 s) : 0, 1188418
Total [candidate] (9.36 s) : 0, 9360002
Loading
  • baseline results
Module Variant Duration Δ tracing
Agent tracing 1.059 s -
Agent iast 1.187 s 127.734 ms (12.1%)
Total tracing 8.64 s -
Total iast 9.429 s 788.719 ms (9.1%)
  • candidate results
Module Variant Duration Δ tracing
Agent tracing 1.052 s -
Agent iast 1.188 s 136.21 ms (12.9%)
Total tracing 8.626 s -
Total iast 9.36 s 734.013 ms (8.5%)
gantt
    title insecure-bank - break down per module: candidate=1.53.0-SNAPSHOT~79c5bb1f68, baseline=1.53.0-SNAPSHOT~962f2c5514

    dateFormat X
    axisFormat %s
section tracing
crashtracking [baseline] (1.476 ms) : 0, 1476
crashtracking [candidate] (1.45 ms) : 0, 1450
BytebuddyAgent [baseline] (739.891 ms) : 0, 739891
BytebuddyAgent [candidate] (734.681 ms) : 0, 734681
GlobalTracer [baseline] (244.317 ms) : 0, 244317
GlobalTracer [candidate] (243.404 ms) : 0, 243404
AppSec [baseline] (30.24 ms) : 0, 30240
AppSec [candidate] (30.236 ms) : 0, 30236
Debugger [baseline] (6.108 ms) : 0, 6108
Debugger [candidate] (6.097 ms) : 0, 6097
Remote Config [baseline] (685.344 µs) : 0, 685
Remote Config [candidate] (683.825 µs) : 0, 684
Telemetry [baseline] (15.24 ms) : 0, 15240
Telemetry [candidate] (14.649 ms) : 0, 14649
section iast
crashtracking [baseline] (1.466 ms) : 0, 1466
crashtracking [candidate] (1.466 ms) : 0, 1466
BytebuddyAgent [baseline] (856.457 ms) : 0, 856457
BytebuddyAgent [candidate] (859.324 ms) : 0, 859324
GlobalTracer [baseline] (234.287 ms) : 0, 234287
GlobalTracer [candidate] (234.434 ms) : 0, 234434
IAST [baseline] (29.726 ms) : 0, 29726
IAST [candidate] (29.409 ms) : 0, 29409
AppSec [baseline] (27.164 ms) : 0, 27164
AppSec [candidate] (25.345 ms) : 0, 25345
Debugger [baseline] (7.493 ms) : 0, 7493
Debugger [candidate] (7.608 ms) : 0, 7608
Remote Config [baseline] (615.582 µs) : 0, 616
Remote Config [candidate] (601.748 µs) : 0, 602
Telemetry [baseline] (8.395 ms) : 0, 8395
Telemetry [candidate] (9.137 ms) : 0, 9137
Loading

Load

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master mattalp/profiling-flare
git_commit_date 1756388169 1756396795
git_commit_sha 962f2c5 79c5bb1
release_version 1.53.0-SNAPSHOT~962f2c5514 1.53.0-SNAPSHOT~79c5bb1f68
See matching parameters
Baseline Candidate
application insecure-bank insecure-bank
ci_job_date 1756398340 1756398340
ci_job_id 1103858474 1103858474
ci_pipeline_id 74995330 74995330
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-2-2p9hxt44 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-2-2p9hxt44 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

Found 0 performance improvements and 1 performance regressions! Performance is the same for 11 metrics, 12 unstable metrics.

scenario Δ mean http_req_duration Δ mean throughput candidate mean http_req_duration candidate mean throughput baseline mean http_req_duration baseline mean throughput
scenario:load:petclinic:no_agent:high_load worse
[+1.530ms; +2.171ms] or [+4.245%; +6.023%]
unstable
[-14.922op/s; +2.272op/s] or [-11.500%; +1.751%]
37.891ms 123.438op/s 36.040ms 129.762op/s
Request duration reports for insecure-bank
gantt
    title insecure-bank - request duration [CI 0.99] : candidate=1.53.0-SNAPSHOT~79c5bb1f68, baseline=1.53.0-SNAPSHOT~962f2c5514
    dateFormat X
    axisFormat %s
section baseline
no_agent (4.314 ms) : 4258, 4369
.   : milestone, 4314,
iast (9.612 ms) : 9455, 9769
.   : milestone, 9612,
iast_FULL (14.299 ms) : 14018, 14579
.   : milestone, 14299,
iast_GLOBAL (10.561 ms) : 10371, 10752
.   : milestone, 10561,
profiling (9.015 ms) : 8864, 9166
.   : milestone, 9015,
tracing (7.382 ms) : 7273, 7491
.   : milestone, 7382,
section candidate
no_agent (4.438 ms) : 4389, 4488
.   : milestone, 4438,
iast (9.68 ms) : 9520, 9839
.   : milestone, 9680,
iast_FULL (14.131 ms) : 13853, 14410
.   : milestone, 14131,
iast_GLOBAL (10.211 ms) : 10031, 10391
.   : milestone, 10211,
profiling (9.12 ms) : 8962, 9277
.   : milestone, 9120,
tracing (7.535 ms) : 7430, 7640
.   : milestone, 7535,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.314 ms [4.258 ms, 4.369 ms] -
iast 9.612 ms [9.455 ms, 9.769 ms] 5.298 ms (122.8%)
iast_FULL 14.299 ms [14.018 ms, 14.579 ms] 9.985 ms (231.5%)
iast_GLOBAL 10.561 ms [10.371 ms, 10.752 ms] 6.248 ms (144.8%)
profiling 9.015 ms [8.864 ms, 9.166 ms] 4.702 ms (109.0%)
tracing 7.382 ms [7.273 ms, 7.491 ms] 3.069 ms (71.1%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 4.438 ms [4.389 ms, 4.488 ms] -
iast 9.68 ms [9.52 ms, 9.839 ms] 5.242 ms (118.1%)
iast_FULL 14.131 ms [13.853 ms, 14.41 ms] 9.693 ms (218.4%)
iast_GLOBAL 10.211 ms [10.031 ms, 10.391 ms] 5.773 ms (130.1%)
profiling 9.12 ms [8.962 ms, 9.277 ms] 4.682 ms (105.5%)
tracing 7.535 ms [7.43 ms, 7.64 ms] 3.097 ms (69.8%)
Request duration reports for petclinic
gantt
    title petclinic - request duration [CI 0.99] : candidate=1.53.0-SNAPSHOT~79c5bb1f68, baseline=1.53.0-SNAPSHOT~962f2c5514
    dateFormat X
    axisFormat %s
section baseline
no_agent (36.04 ms) : 35753, 36328
.   : milestone, 36040,
appsec (48.549 ms) : 48117, 48980
.   : milestone, 48549,
code_origins (45.595 ms) : 45192, 45998
.   : milestone, 45595,
iast (45.003 ms) : 44632, 45375
.   : milestone, 45003,
profiling (50.304 ms) : 49840, 50768
.   : milestone, 50304,
tracing (45.665 ms) : 45262, 46067
.   : milestone, 45665,
section candidate
no_agent (37.891 ms) : 37583, 38198
.   : milestone, 37891,
appsec (49.293 ms) : 48856, 49730
.   : milestone, 49293,
code_origins (45.059 ms) : 44677, 45441
.   : milestone, 45059,
iast (44.466 ms) : 44080, 44851
.   : milestone, 44466,
profiling (49.362 ms) : 48879, 49845
.   : milestone, 49362,
tracing (46.101 ms) : 45701, 46501
.   : milestone, 46101,
Loading
  • baseline results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 36.04 ms [35.753 ms, 36.328 ms] -
appsec 48.549 ms [48.117 ms, 48.98 ms] 12.508 ms (34.7%)
code_origins 45.595 ms [45.192 ms, 45.998 ms] 9.554 ms (26.5%)
iast 45.003 ms [44.632 ms, 45.375 ms] 8.963 ms (24.9%)
profiling 50.304 ms [49.84 ms, 50.768 ms] 14.264 ms (39.6%)
tracing 45.665 ms [45.262 ms, 46.067 ms] 9.624 ms (26.7%)
  • candidate results
Variant Request duration [CI 0.99] Δ no_agent
no_agent 37.891 ms [37.583 ms, 38.198 ms] -
appsec 49.293 ms [48.856 ms, 49.73 ms] 11.402 ms (30.1%)
code_origins 45.059 ms [44.677 ms, 45.441 ms] 7.168 ms (18.9%)
iast 44.466 ms [44.08 ms, 44.851 ms] 6.575 ms (17.4%)
profiling 49.362 ms [48.879 ms, 49.845 ms] 11.471 ms (30.3%)
tracing 46.101 ms [45.701 ms, 46.501 ms] 8.21 ms (21.7%)

Dacapo

Parameters

Baseline Candidate
baseline_or_candidate baseline candidate
git_branch master mattalp/profiling-flare
git_commit_date 1756388169 1756396795
git_commit_sha 962f2c5 79c5bb1
release_version 1.53.0-SNAPSHOT~962f2c5514 1.53.0-SNAPSHOT~79c5bb1f68
See matching parameters
Baseline Candidate
application biojava biojava
ci_job_date 1756398822 1756398822
ci_job_id 1103858475 1103858475
ci_pipeline_id 74995330 74995330
cpu_model Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz
kernel_version Linux runner-zfyrx7zua-project-304-concurrent-3-tvzc5cme 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux Linux runner-zfyrx7zua-project-304-concurrent-3-tvzc5cme 6.8.0-1031-aws #33~22.04.1-Ubuntu SMP Thu Jun 26 14:22:30 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux

Summary

Found 0 performance improvements and 0 performance regressions! Performance is the same for 10 metrics, 2 unstable metrics.

Execution time for tomcat
gantt
    title tomcat - execution time [CI 0.99] : candidate=1.53.0-SNAPSHOT~79c5bb1f68, baseline=1.53.0-SNAPSHOT~962f2c5514
    dateFormat X
    axisFormat %s
section baseline
no_agent (1.476 ms) : 1465, 1488
.   : milestone, 1476,
appsec (3.656 ms) : 3433, 3878
.   : milestone, 3656,
iast (2.206 ms) : 2144, 2269
.   : milestone, 2206,
iast_GLOBAL (2.247 ms) : 2183, 2310
.   : milestone, 2247,
profiling (2.502 ms) : 2330, 2673
.   : milestone, 2502,
tracing (2.026 ms) : 1977, 2075
.   : milestone, 2026,
section candidate
no_agent (1.476 ms) : 1465, 1488
.   : milestone, 1476,
appsec (3.672 ms) : 3455, 3890
.   : milestone, 3672,
iast (2.207 ms) : 2144, 2269
.   : milestone, 2207,
iast_GLOBAL (2.253 ms) : 2190, 2317
.   : milestone, 2253,
profiling (2.066 ms) : 2014, 2118
.   : milestone, 2066,
tracing (2.028 ms) : 1979, 2077
.   : milestone, 2028,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.476 ms [1.465 ms, 1.488 ms] -
appsec 3.656 ms [3.433 ms, 3.878 ms] 2.179 ms (147.6%)
iast 2.206 ms [2.144 ms, 2.269 ms] 729.849 µs (49.4%)
iast_GLOBAL 2.247 ms [2.183 ms, 2.31 ms] 770.304 µs (52.2%)
profiling 2.502 ms [2.33 ms, 2.673 ms] 1.025 ms (69.4%)
tracing 2.026 ms [1.977 ms, 2.075 ms] 549.388 µs (37.2%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 1.476 ms [1.465 ms, 1.488 ms] -
appsec 3.672 ms [3.455 ms, 3.89 ms] 2.196 ms (148.7%)
iast 2.207 ms [2.144 ms, 2.269 ms] 730.198 µs (49.5%)
iast_GLOBAL 2.253 ms [2.19 ms, 2.317 ms] 776.859 µs (52.6%)
profiling 2.066 ms [2.014 ms, 2.118 ms] 589.41 µs (39.9%)
tracing 2.028 ms [1.979 ms, 2.077 ms] 551.849 µs (37.4%)
Execution time for biojava
gantt
    title biojava - execution time [CI 0.99] : candidate=1.53.0-SNAPSHOT~79c5bb1f68, baseline=1.53.0-SNAPSHOT~962f2c5514
    dateFormat X
    axisFormat %s
section baseline
no_agent (15.64 s) : 15640000, 15640000
.   : milestone, 15640000,
appsec (14.898 s) : 14898000, 14898000
.   : milestone, 14898000,
iast (18.451 s) : 18451000, 18451000
.   : milestone, 18451000,
iast_GLOBAL (18.041 s) : 18041000, 18041000
.   : milestone, 18041000,
profiling (15.958 s) : 15958000, 15958000
.   : milestone, 15958000,
tracing (15.15 s) : 15150000, 15150000
.   : milestone, 15150000,
section candidate
no_agent (14.852 s) : 14852000, 14852000
.   : milestone, 14852000,
appsec (15.017 s) : 15017000, 15017000
.   : milestone, 15017000,
iast (18.27 s) : 18270000, 18270000
.   : milestone, 18270000,
iast_GLOBAL (17.986 s) : 17986000, 17986000
.   : milestone, 17986000,
profiling (15.761 s) : 15761000, 15761000
.   : milestone, 15761000,
tracing (15.2 s) : 15200000, 15200000
.   : milestone, 15200000,
Loading
  • baseline results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 15.64 s [15.64 s, 15.64 s] -
appsec 14.898 s [14.898 s, 14.898 s] -742.0 ms (-4.7%)
iast 18.451 s [18.451 s, 18.451 s] 2.811 s (18.0%)
iast_GLOBAL 18.041 s [18.041 s, 18.041 s] 2.401 s (15.4%)
profiling 15.958 s [15.958 s, 15.958 s] 318.0 ms (2.0%)
tracing 15.15 s [15.15 s, 15.15 s] -490.0 ms (-3.1%)
  • candidate results
Variant Execution Time [CI 0.99] Δ no_agent
no_agent 14.852 s [14.852 s, 14.852 s] -
appsec 15.017 s [15.017 s, 15.017 s] 165.0 ms (1.1%)
iast 18.27 s [18.27 s, 18.27 s] 3.418 s (23.0%)
iast_GLOBAL 17.986 s [17.986 s, 17.986 s] 3.134 s (21.1%)
profiling 15.761 s [15.761 s, 15.761 s] 909.0 ms (6.1%)
tracing 15.2 s [15.2 s, 15.2 s] 348.0 ms (2.3%)

@MattAlp MattAlp requested a review from jbachorik August 28, 2025 16:02
@PerfectSlayer
Copy link
Contributor

cc @mhlidd about Config Inversion
This will be more code to port 😉

TracerFlare.addText(zip, "profiling_template_override.jfp", fileContents);
}
} catch (IOException e) {
// no-op, ignore if we can't read the template override file
Copy link
Contributor Author

@MattAlp MattAlp Aug 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optionally, we could write a message in place of the JFP contents into the file. I don't believe the TEEs have voiced a preference.

@MattAlp MattAlp merged commit 5ddf547 into master Aug 29, 2025
502 checks passed
@MattAlp MattAlp deleted the mattalp/profiling-flare branch August 29, 2025 13:23
@github-actions github-actions bot added this to the 1.53.0 milestone Aug 29, 2025
svc-squareup-copybara pushed a commit to cashapp/misk that referenced this pull request Sep 4, 2025
| Package | Type | Package file | Manager | Update | Change |
|---|---|---|---|---|---|
| [com.datadoghq:dd-trace-api](https://github.com/datadog/dd-trace-java)
| dependencies | misk/gradle/libs.versions.toml | gradle | minor |
`1.52.1` -> `1.53.0` |

---

### Release Notes

<details>
<summary>datadog/dd-trace-java (com.datadoghq:dd-trace-api)</summary>

###
[`v1.53.0`](https://github.com/DataDog/dd-trace-java/releases/tag/v1.53.0):
1.53.0

### Components

#### Application Security Management (WAF)

- 🐛 Fix NullPointerException log in AppSec
([#&#8203;9355](DataDog/dd-trace-java#9355) -
[@&#8203;jandro996](https://github.com/jandro996))
- ✨ Add Forwarded header as a source to client IP resolution
([#&#8203;9310](DataDog/dd-trace-java#9310) -
[@&#8203;jandro996](https://github.com/jandro996))

#### Build & Tooling

- 📖 Update CODEOWNERS
([#&#8203;9294](DataDog/dd-trace-java#9294) -
[@&#8203;mhlidd](https://github.com/mhlidd))
- ✨ Add dependency on Maven Central deployment to OCI publish
jobs
([#&#8203;9204](DataDog/dd-trace-java#9204) -
[@&#8203;sarahchen6](https://github.com/sarahchen6))

#### Continuous Integration Visibility

- ✨ Upload code coverage reports to Datadog
([#&#8203;9425](DataDog/dd-trace-java#9425) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- ✨⚡ Do not follow symlinks by default when building
repository index
([#&#8203;9318](DataDog/dd-trace-java#9318) -
[@&#8203;nikita-tkachenko-datadog](https://github.com/nikita-tkachenko-datadog))
- ✨ Improve tag propagation between test event levels
([#&#8203;9278](DataDog/dd-trace-java#9278) -
[@&#8203;daniel-mohedano](https://github.com/daniel-mohedano))

#### Data Streams Monitoring

- ✨ Create container hash tags propagation
([#&#8203;9282](DataDog/dd-trace-java#9282) -
[@&#8203;ygree](https://github.com/ygree))

#### Database Monitoring

- 🐛 Prevent crash in SQL Server's JDBC when tracing execute methods
with generated keys
([#&#8203;9321](DataDog/dd-trace-java#9321) -
[@&#8203;na-ji](https://github.com/na-ji))
- ✨ Create container hash tags propagation
([#&#8203;9282](DataDog/dd-trace-java#9282) -
[@&#8203;ygree](https://github.com/ygree))

#### GraalVM native-image

- 🐛 Update GraalVM config to reflect TempLocationManager's new
package
([#&#8203;9337](DataDog/dd-trace-java#9337) -
[@&#8203;luneo7](https://github.com/luneo7) - thanks for the
contribution!)

#### Metrics

- 🐛 Add reflect config for CSS and graalvm
([#&#8203;9449](DataDog/dd-trace-java#9449) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Align CSS health metrics
([#&#8203;9444](DataDog/dd-trace-java#9444) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Aggregate peer tags for consumer span kind
([#&#8203;9442](DataDog/dd-trace-java#9442) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Implement health metrics for client stats
([#&#8203;9377](DataDog/dd-trace-java#9377) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Add peer tags, span kind and trace root flag to MetricKey
bucket
([#&#8203;9178](DataDog/dd-trace-java#9178) -
[@&#8203;bric3](https://github.com/bric3))

#### Profiling

- ✨ Create a profile flare reporter (requires tracing or CI vis
to be enabled)
([#&#8203;9433](DataDog/dd-trace-java#9433) -
[@&#8203;MattAlp](https://github.com/MattAlp))
- 🐛 Properly fall-back on UDS profiling URL
([#&#8203;9401](DataDog/dd-trace-java#9401) -
[@&#8203;jbachorik](https://github.com/jbachorik))
- 🐛 Properly handle trace agent IPv6 URL in profiling
([#&#8203;9334](DataDog/dd-trace-java#9334) -
[@&#8203;jbachorik](https://github.com/jbachorik))

#### Realtime User Monitoring

- 🐛 Avoid multiple injections on dispatch on jboss
([#&#8203;9392](DataDog/dd-trace-java#9392) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Support async servlet for RUM injection
([#&#8203;9333](DataDog/dd-trace-java#9333) -
[@&#8203;amarziali](https://github.com/amarziali))
- 🐛 Improve RUM injection matching and avoid truncating responses
([#&#8203;9323](DataDog/dd-trace-java#9323) -
[@&#8203;amarziali](https://github.com/amarziali))
- 💡 Add telemetry for the RUM injector
([#&#8203;9267](DataDog/dd-trace-java#9267) -
[@&#8203;sarahchen6](https://github.com/sarahchen6))
- ✨ Make rum injector stream/writer more resilient to errors
([#&#8203;9184](DataDog/dd-trace-java#9184) -
[@&#8203;amarziali](https://github.com/amarziali))

#### Telemetry

- 🐛 Remediate error logs
([#&#8203;9459](DataDog/dd-trace-java#9459) -
[@&#8203;ygree](https://github.com/ygree))
- ✨ Report config\_id for Hands Off Config files
([#&#8203;9299](DataDog/dd-trace-java#9299) -
[@&#8203;mtoffl01](https://github.com/mtoffl01))
- ✨ Adding Config Inversion Telemetry component
([#&#8203;9244](DataDog/dd-trace-java#9244) -
[@&#8203;mhlidd](https://github.com/mhlidd))

#### Trace context propagation

- 🧹 Migrate instrumentations to Context API
([#&#8203;9384](DataDog/dd-trace-java#9384),
[#&#8203;9378](DataDog/dd-trace-java#9378),
[#&#8203;9358](DataDog/dd-trace-java#9358) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))
- ✨🔍 Add baggage propagation telemetry
([#&#8203;9289](DataDog/dd-trace-java#9289) -
[@&#8203;rachelyangdog](https://github.com/rachelyangdog))
- 🧹 Improve Instrumenter API to use Context instead of Span
([#&#8203;9211](DataDog/dd-trace-java#9211) -
[@&#8203;PerfectSlayer](https://github.com/PerfectSlayer))

#### Tracer core

- 💡:test\_tube: Enable process level tags for java 21 applications
([#&#8203;9458](DataDog/dd-trace-java#9458) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Move base and peer service adder before span is published
([#&#8203;9408](DataDog/dd-trace-java#9408) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Add ErrorPriorities level for manual instrumentation
([#&#8203;9387](DataDog/dd-trace-java#9387) -
[@&#8203;cecile75](https://github.com/cecile75))
- ✨ Throw InvalidBooleanValueException in
ConfigConverter.booleanValueOf
([#&#8203;9370](DataDog/dd-trace-java#9370) -
[@&#8203;mtoffl01](https://github.com/mtoffl01))
- 🐛 Avoid NPE on featureDiscovery creation
([#&#8203;9353](DataDog/dd-trace-java#9353) -
[@&#8203;amarziali](https://github.com/amarziali))
- ✨ Stable Config improvements
([#&#8203;9259](DataDog/dd-trace-java#9259) -
[@&#8203;mtoffl01](https://github.com/mtoffl01))

### Instrumentations

#### gRPC instrumentation

- 🐛 Changing GRPC instrumentation codes from `status.code` to
`grpc.status.code`
([#&#8203;9367](DataDog/dd-trace-java#9367) -
[@&#8203;mhlidd](https://github.com/mhlidd))

#### JDBC instrumentation

- 🐛 Prevent crash in SQL Server's JDBC when tracing execute methods
with generated keys
([#&#8203;9321](DataDog/dd-trace-java#9321) -
[@&#8203;na-ji](https://github.com/na-ji))

#### Kotlin instrumentation

- 🐛 Take defensive copy of original scope stack when restoring on
different thread
([#&#8203;9403](DataDog/dd-trace-java#9403) -
[@&#8203;mcculls](https://github.com/mcculls))

#### OpenTelemetry instrumentation

- 🐛 Fix using SpanAttribute annotation on multiple parameters
([#&#8203;9412](DataDog/dd-trace-java#9412) -
[@&#8203;cecile75](https://github.com/cecile75))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "after 6pm every weekday,before 2am
every weekday" in timezone Australia/Melbourne, Automerge - At any time
(no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Never, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Renovate
Bot](https://github.com/renovatebot/renovate).

GitOrigin-RevId: e23ec866cef91afc6b5226d5f0dc7da538d947e8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp: profiling Profiling type: enhancement Enhancements and improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants