Layering multiple v2 and v1 config file inputs #3314
All Vouch review confidence checks passed
Residual risk 0.23 = Change Risk (0.59) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.59 · 202 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.318
Shallow Review Depth
shallow_review_depth
0.289
Sensitive Paths
sensitive_paths
0.059
Real PR Conversation Timeline
1 comments
"Review active on #3314"
general
weight: 0.35
mariomac
Beyla can now load several configuration files and layer them:
-configflags in order, then thecomma-separated
BEYLA_CONFIG_PATHentries.defaults; each later file overrides only the settings that differ from the
defaults of its own version. Lists and maps replace the previous value.
reloads the whole stack when any of them changes.
Rationale
Smoothen the transition from v1 to v2 in existing users. Users can keep their legacy v1 configuration while adding new features in v2 config.
This is also a useful feature independently of the v1->v2 transition. Yo can define a base configuration and pack it inside a container and then override few environment-dependant features.
Compatibility
-configflag (now repeatable, additive) andOTEL_EBPF_CONFIG_PATH.multi-file reload;
make lint,make lint-markdown.A theoretically breaking change but I consider it as an edge case that would not justify a major version increase: an OBI installation defining both
OTEL_EBPF_CONFIG_PATHand-confignow mix both configurations instead of prioritizing the env var over the CLI arg.