Add process context propagation guidance #5421
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.39) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 268 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.335
Real PR Conversation Timeline
1 comments
"Review active on #5421"
general
weight: 0.35
pellared
Fixes https://github.com/open-telemetry/opentelemetry-specification/issues/5398
Motivation
Commands, CI jobs, and test runners can propagate context through process environments using existing propagators and carriers. Instrumentation can automate this at invocation and child-launch boundaries, but accepting incoming context and forwarding baggage across trust boundaries needs an explicit application/operator decision.
Provide guidance for opt-in process instrumentation without introducing persistent SDK fallback or changing existing span parent-selection semantics.
Changes
parentmode and enabled child-process injection, with independent controls.parent,link, andnonemodes, invocation scope, application parent/root precedence, and baggage inheritance, including the risk of restoring removed startup values.Related work:
Configuration discussion: https://github.com/open-telemetry/opentelemetry-dotnet-instrumentation/pull/5660#discussion_r4523361422