Skip to content

Conversation

@thomasqueirozb
Copy link
Contributor

Summary

Vector configuration

How did you test this PR?

Change Type

  • Bug fix
  • New feature
  • Non-functional (chore, refactoring, docs)
  • Performance

Is this a breaking change?

  • Yes
  • No

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.

References

Notes

  • Please read our Vector contributor resources.
  • Do not hesitate to use @vectordotdev/vector to reach out to us regarding this PR.
  • Some CI checks run only after we manually approve them.
    • We recommend adding a pre-push hook, please see this template.
    • Alternatively, we recommend running the following locally before pushing to the remote branch:
      • make fmt
      • make check-clippy (if there are failures it's possible some of them can be fixed with make clippy-fix)
      • make test
  • 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.
  • If this PR introduces changes Vector dependencies (modifies Cargo.lock), please
    run make build-licenses to regenerate the license inventory and commit the changes (if any). More details here.

@github-actions github-actions bot added the domain: ci Anything related to Vector's CI environment label Oct 30, 2025
@thomasqueirozb thomasqueirozb added the no-changelog Changes in this PR do not need user-facing explanations in the release changelog label Oct 30, 2025
Copy link
Member

@pront pront left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/ci-run-e2e-opentelemetry-traces

@datadog-vectordotdev
Copy link

datadog-vectordotdev bot commented Oct 30, 2025

✅ Tests

🎉 All green!

❄️ No new flaky tests detected
🧪 All tests passed

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: bb94b39 | Docs | Was this helpful? Give us feedback!

inputs:
- source0.traces
encoding:
codec: json
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
codec: json
codec: otlp

if you did the above, would it eliminate the need for decode_span_id?

/// The collector outputs IDs as hex strings (e.g., "804ab72eed55cea1"),
/// Vector outputs as base64 (standard JSON encoding for binary fields).
/// Works for both span_id (8 bytes) and trace_id (16 bytes).
fn decode_span_id(id: &[u8]) -> Vec<u8> {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this https://github.com/vectordotdev/vector/pull/24118/files#r2487430711 doesn't work for whatever reason (e.g. we prefer to write as JSON for easier debugging), the problem with this function is that it's doing too much. Instead you can have decode_base64_id and decode_hex_id.

@pront pront changed the title feat(dev): add opentelemetry traces e2e tests chore(dev): add opentelemetry traces e2e tests Nov 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: ci Anything related to Vector's CI environment no-changelog Changes in this PR do not need user-facing explanations in the release changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants