[CONTP-2299] Add jemalloc disable annotation #3723
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 234 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.327
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #3723"
general
weight: 0.35
levan-m
What does this PR do?
Replace the jemalloc enablement annotation with
agent.datadoghq.com/jemalloc-disable: "true"to opt out of the default jemalloc preload in Agent 7.87+ images.LD_PRELOAD=/opt/lib/nosys.so, preserving the syscall compatibility shim while removing jemalloc from the preload list. Stop injectingMALLOC_CONF.otel-agent), including single-container mode, and to Cluster Checks Runners."false", restoring the image defaults.Motivation
Agent images will preload jemalloc by default starting with 7.87 (DataDog/datadog-agent#58918). The Operator needs an opt-out annotation so users can disable jemalloc without manually configuring each container's environment.
Addresses CONTP-2299.
Describe how you validated your changes
make lintpassed with 0 issues.git diff --checkpassed.Live-cluster QA was not run.
[CONTP-2299]: https://datadoghq.atlassian.net/browse/CONTP-2299?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ