-
Notifications
You must be signed in to change notification settings - Fork 1.9k
chore(dev): add opentelemetry traces e2e tests #24118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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
| inputs: | ||
| - source0.traces | ||
| encoding: | ||
| codec: json |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| 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> { |
There was a problem hiding this comment.
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.
Summary
Vector configuration
How did you test this PR?
Change Type
Is this a breaking change?
Does this PR include user facing changes?
no-changeloglabel to this PR.References
Notes
@vectordotdev/vectorto reach out to us regarding this PR.pre-pushhook, please see this template.make fmtmake check-clippy(if there are failures it's possible some of them can be fixed withmake clippy-fix)make testgit merge origin masterandgit push.Cargo.lock), pleaserun
make build-licensesto regenerate the license inventory and commit the changes (if any). More details here.