chore(opentelemetry): map OTLP traces onto the RFC 25329 typed event #26590
All Vouch review confidence checks passed
Residual risk 0.20 = Change Risk (0.37) × (1 − Review Confidence (0.47)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.37 · 237 lines diff across 2 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.327
Real PR Conversation Timeline
1 comments
"Review active on #26590"
general
weight: 0.35
clreaume
Summary
Adds ResourceSpans decode, ExportTraceServiceRequest encode, and hinted legacy conversion so Stage 2 can sit on the typed TraceEvent without changing Event::Trace.
The legacy converter does not map legacy LogEvent layouts to typed events directly. It parses each layout back into protobuf ResourceSpans and converts them with the same ResourceSpans decoding that the opentelemetry source will call once it emits typed events, so legacy records and wire input share one mapping.
References
#25329
#26436
Vector configuration
<!-- Include Vector configuration(s) you used to test and debug your changes. -->
How did you test this PR?
There are no direct users of the code yet so the testing is through internal unit and property tests.
Does this PR include user facing changes?
<!-- If this PR alters Vector behavior in any way, for example, it adds a new config field or changes internal metrics it is considered a user facing change.
Changes to CI, website, playground and similar are generally not considered user facing -->
no-changeloglabel to this PR.Contributor Guidelines
@vectordotdev/vectorto reach out to us regarding this PR.- Feel free to push as many commits as you want. They will be squashed into one before merging.
- For example, you can run
git merge origin masterandgit push.