-
Notifications
You must be signed in to change notification settings - Fork 21
feat!: add encoder from v04 to v1 #1896
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
Merged
gh-worker-dd-mergequeue-cf854d
merged 19 commits into
main
from
anais/add-v1-encoder-from-v04
May 20, 2026
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
1ca2eab
feat: add encoder from v04 to v1
anais-raison 93626ba
Merge branch 'main' into anais/add-v1-encoder-from-v04
anais-raison 01e38e3
fix: fmt
anais-raison 21cf191
fix: address comments
anais-raison aa0e325
fix: fmt
anais-raison 8a3fd2b
Merge branch 'main' into anais/add-v1-encoder-from-v04
anais-raison 9122f36
fix
anais-raison b865b38
feat: add integration test
anais-raison 29cab17
fix: address lasts comments
anais-raison 430cf20
Merge branch 'main' into anais/add-v1-encoder-from-v04
anais-raison cfd258f
fix: apply suggestion
anais-raison bff2ea0
Merge remote-tracking branch 'origin/main' into anais/add-v1-encoder-…
anais-raison 2e9717a
fix: update dd apm test agent version
anais-raison b1dbf1b
fix: rollback test agent version
anais-raison d2ccbc4
Merge branch 'main' into anais/add-v1-encoder-from-v04
anais-raison b7e778b
fix: rollback test agent changes
anais-raison 81e709f
fix: address comments
anais-raison 28211e9
fix: fallback when negative number start and duration
anais-raison e6ef917
Merge branch 'main' into anais/add-v1-encoder-from-v04
anais-raison File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
52 changes: 52 additions & 0 deletions
52
libdd-data-pipeline/tests/snapshots/compare_exporter_v04_to_v1_trace_snapshot_test.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| [[ | ||
| { | ||
| "name": "test_exporter_v04_v1_snapshot_root", | ||
| "service": "test-service", | ||
| "resource": "test-resource", | ||
| "trace_id": 0, | ||
|
anais-raison marked this conversation as resolved.
|
||
| "span_id": 1, | ||
| "parent_id": 0, | ||
| "type": "web", | ||
| "meta": { | ||
| "_dd.hostname": "my-host", | ||
| "_dd.origin": "lambda", | ||
| "_dd.p.dm": "-4", | ||
| "_dd.p.tid": "0x0", | ||
| "component": "http", | ||
| "env": "test-env", | ||
| "runtime-id": "test-runtime-id-value", | ||
| "service": "test-service", | ||
| "span.kind": "server", | ||
| "version": "1.0.0" | ||
| }, | ||
| "metrics": { | ||
| "_dd.top_level": 1.0, | ||
| "_sampling_priority_v1": 1 | ||
| }, | ||
| "duration": 5, | ||
| "start": 0 | ||
| }, | ||
| { | ||
| "name": "test_exporter_v04_v1_snapshot_child", | ||
| "service": "test-service", | ||
| "resource": "test-resource", | ||
| "trace_id": 0, | ||
| "span_id": 2, | ||
| "parent_id": 1, | ||
| "meta": { | ||
| "_dd.origin": "lambda", | ||
| "_dd.p.dm": "-4", | ||
| "_dd.p.tid": "0x0", | ||
| "env": "test-env", | ||
| "runtime-id": "test-runtime-id-value", | ||
| "service": "test-service", | ||
| "span.kind": "internal" | ||
| }, | ||
| "metrics": { | ||
| "_dd_metric1": 1.0, | ||
| "_dd_metric2": 2.0, | ||
| "_sampling_priority_v1": 1 | ||
| }, | ||
| "duration": 5, | ||
| "start": 1 | ||
| }]] | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.