[procmgr] add all-in-one processes.d catalog #59208
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 319 lines diff across 3 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.345
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #59208"
general
weight: 0.35
dd-gplassard
What does this PR do?
Adds process definitions for the Linux all-in-one image under
Dockerfiles/agent/processes.d/aio/. Each file mirrors the binary and command line that the matching s6runscript starts:datadog-agent.yaml: the core agent, withrestart: neverandexit_with_supervisor: truedatadog-agent-trace.yaml,-process,-sysprobe,-security,-otel,-data-plane: auxiliaries withrestart: on-failure,restart_sec: 2,start_limit_interval_sec: 10, andstart_limit_burst: 5, each gated bycondition_path_existsand config keysdatadog-agent-par-control.yamlanddatadog-agent-action-executor.yaml: the definitions live inaio/. The top-level paths are symlinks to those files, so the s6 PAR entrypoint still loads only those two processesThe config gate table gains
compliance_config.enabledandotelcollector.enabled, both defaulting to false, with env binding tests.s6 remains the entrypoint. Nothing in the image reads this directory yet.
Motivation
Container Agent still relies on s6-overlay as PID 1. These definitions are what
dd-procmgrdneeds to supervise the same binaries, onceDD_PM_CONFIG_DIRpoints ataio/.The files sit in
aio/becauseload_configsdoes not recurse. Anauto_start: truefile at the top level would start a second core agent inside the s6 PAR split-mode service, so the top-level directory stays limited to the two PAR symlinks.Describe how you validated your changes
cargo fmt -p dd-procmgrd -- --checkcargo test -p dd-procmgrd --lib -- aio_(6 passed, including the top-level symlink check)//pkg/procmgr/rust:dd-procmgrd_testwith the same filter under Bazel, passed before the trimThe tests load the shipped catalog through
load_configsand check the core and auxiliary restart fields, the commands against the s6 run scripts, thecondition_path_existsgates, and that the top-level PAR paths are symlinks intoaio/.No container boot and no image build.
Additional Notes
trace-agent,process-agent, andsecurity-agentare installed under/opt/datadog-agent/embedded/bin/, which is where the imagePATHresolves them. The catalog uses those paths.trace-loaderis kept as the wrapper, matching the s6 trace run script.compliance_config.enabledis included for security-agent even though the Windows template omits it, because the container binary also runs for compliance-only.windows_crash_detection.enabledkey is left out of the system-probe entry.