Skip to content

chore(core): add the RFC 25329 typed trace event model - #26436

Open
bruceg wants to merge 1 commit into
masterfrom
bruceg/trace-data-model-types
Open

bruceg wants to merge 1 commit into
masterfrom
bruceg/trace-data-model-types

Conversation

@bruceg

@bruceg bruceg commented Sep 18, 2026

Copy link
Copy Markdown
Member

Summary

Sink conversions need a canonical in-memory trace that can hold OTLP and Datadog fields without stuffing them into a LogEvent map. Add vector_core::event::typed_trace behind the typed-trace feature and leave Event::Trace as the legacy newtype so sources and the topology stay unchanged.

The type encodes the data types specified in RFC 25329 plus the invariants later mappings rely on.

References

Vector configuration

N/A

How did you test this PR?

N/A code adds no active functionality

Does this PR include user facing changes?

  • Yes. Please add a changelog fragment based on our guidelines.
  • No. A maintainer will apply the no-changelog label to this PR.

Contributor Guidelines

  • Please read our Vector contributor resources.
  • Do not hesitate to use @vectordotdev/vector to reach out to us regarding this PR.
  • Before pushing, follow our pre-push guidance.
  • After a review is requested, please avoid force pushes to help us review incrementally.
    • 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 master and git push.

Sink conversions need a canonical in-memory trace that can hold OTLP and Datadog
fields without stuffing them into a LogEvent map. Add
`vector_core::event::typed_trace` behind the typed-trace feature and leave
`Event::Trace` as the legacy newtype so sources and the topology stay unchanged.

The type encodes the data types specified in RFC 25329 plus the invariants later
mappings rely on.
@bruceg bruceg added the type: tech debt A code change that does not add user value. label Sep 18, 2026
@bruceg
bruceg requested review from a team as code owners September 18, 2026 22:24
@bruceg bruceg added domain: traces Anything related to Vectors' trace events domain: core Anything related to core crates i.e. vector-core, core-common, etc no-changelog Changes in this PR do not need user-facing explanations in the release changelog labels Sep 18, 2026
@github-actions github-actions Bot added the docs review on hold The documentation team reviews PRs only after a PR is approved by the COSE team. label Sep 18, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 18, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-18T22:28:12.212244Z a0f1624 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@bruceg
bruceg requested a review from tessneau September 18, 2026 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs review on hold The documentation team reviews PRs only after a PR is approved by the COSE team. domain: core Anything related to core crates i.e. vector-core, core-common, etc domain: traces Anything related to Vectors' trace events no-changelog Changes in this PR do not need user-facing explanations in the release changelog type: tech debt A code change that does not add user value.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant