Layer the APM Basic SSI target on top of the selected plan #60677
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 240 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.328
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #60677"
general
weight: 0.35
iamluc
<!--Please give us some feedback on your experience writing this PR ! https://app.datadoghq.com/forms/43db4c02-6837-400c-8083-692e141b1b88 !-->
What does this PR do?
Makes the APM Basic SSI target add dd-trace-c to the libraries a pod already gets, instead of replacing them.
Motivation
The Cluster Agent injects the plan of the first matching source. The APM Basic target (#58621) sits ahead of user targets and inject-all, so a pod labeled
admission.datadoghq.com/apm-basic.enabled: "true"that also matches a Python target gets only dd-trace-c; the Python tracer is dropped and the pod loses its traces. APM Basic should add RED metrics next to regular APM, not replace it.APM Basic is now resolved after the other sources and layered on top of the selected plan:
DD_INJECT_NATIVE=alwaysandDD_APM_BASIC_ENABLED=trueare added. dd-trace-c is added after language detection, and the selected target's tracer configs win on a shared name.c-libannotation) are unchanged, so their tracer is not switched to RED metrics only.Describe how you validated your changes
c-libannotation, the GPU target, APM Basic alone and opt-out, plus an end-to-endMutatePodtest (both init containers, env precedence, shared plan not modified).trace-using-ssi: python) and APM Basic got bothdd-lib-python-initanddd-lib-c-init; ddtrace emittedflask.requestspans and dd-trace-c computed APM Basic stats.