-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[pkg/ottl] Accept string (32 byte hex) {span,trace,profile} IDs #43882
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
Merged
Changes from all commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
6d515e4
Accept 32 char hex trace IDs
andrewvc a4b7477
Cleanup comment
andrewvc 4583350
Add one last test
andrewvc 48ba336
Add changelog
andrewvc 53e89c0
Fix linter errors
andrewvc e159793
Fix chlog lint issues
andrewvc b0dc4ad
Merge remote-tracking branch 'origin/main' into accept-str-traceids
andrewvc ce60a5e
Merge remote-tracking branch 'origin/main' into accept-str-traceids
andrewvc ed09e82
Testing improvements from PR review
andrewvc 9e053ab
Expand string support to profiles and spans
andrewvc d3c5002
Update chlog
andrewvc 80fc2c8
Merge branch 'main' into accept-str-traceids
andrewvc 529659e
Merge remote-tracking branch 'origin/main' into accept-str-traceids
andrewvc 310a9d1
Add missing license headers
andrewvc 62b10c9
Merge branch 'accept-str-traceids' of github.com:andrewvc/opentelemet…
andrewvc e2f928b
Update goporto links
andrewvc 61feb42
Fix broken test, fix linting
andrewvc 9782cc4
Fix var shadowing for linter
andrewvc 69943f0
Incorporate PR feedback
andrewvc 8fb8ed5
Extend function name testing to individual tests
andrewvc 1f4c65a
Merge remote-tracking branch 'origin/main' into accept-str-traceids
andrewvc 070bc34
Add comment to clarify test fn
andrewvc 52ee399
Update pkg/ottl/ottlfuncs/id_helpers.go
andrewvc 4c0252c
Merge branch 'main' into accept-str-traceids
andrewvc 1926df3
Simplify error logic per PR feedback
andrewvc 9a29168
Merge remote-tracking branch 'andrewvc/accept-str-traceids' into acce…
andrewvc 1761636
Merge remote-tracking branch 'origin/main' into accept-str-traceids
andrewvc 7c19b76
Add benchmarks for trace ID performance
andrewvc d2f9aff
Add support for literal getters
andrewvc 4e624ac
Fix failing tests
andrewvc ca64679
Benchmark get and set
andrewvc 19f85f3
Add dynamic hex get and set
andrewvc 92912ca
Specialize hex decoding to reduce allocs for hex string decode
andrewvc 0bf8aeb
Error early on init, ensure tests distinguish between init and dynami…
andrewvc cc18f7f
Remove redundant test
andrewvc f815ca6
Merge remote-tracking branch 'origin/main' into accept-str-traceids
andrewvc 95072dd
Fix e2e tests
andrewvc 4815a29
Merge remote-tracking branch 'origin/main' into accept-str-traceids
andrewvc 4f96694
Remove unneeded makeLiteralIDGetter and helper
andrewvc a234318
Switched to table driven benchmark
andrewvc a496347
Fix import ordering
andrewvc 9ba8c4e
Merge branch 'main' into accept-str-traceids
andrewvc 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # Use this changelog template to create an entry for release notes. | ||
|
|
||
| # One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' | ||
| change_type: enhancement | ||
|
|
||
| # The name of the component, or a single word describing the area of concern, (e.g. receiver/filelog) | ||
| component: pkg/ottl | ||
|
|
||
| # A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). | ||
| note: Accept string trace/span/profile IDs for `TraceID()`, `SpanID()`, and `ProfileID()` in OTTL. | ||
|
|
||
| # Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. | ||
| issues: [43429] | ||
|
|
||
| # (Optional) One or more lines of additional information to render under the primary note. | ||
| # These lines will be padded with 2 spaces and then inserted directly into the document. | ||
| # Use pipe (|) for multiline entries. | ||
| subtext: This change allows for a more straightforward use of string values to set trace, span, and profile IDs in OTTL. | ||
|
|
||
| # If your change doesn't affect end users or the exported elements of any package, | ||
| # you should instead start your pull request title with [chore] or use the "Skip Changelog" label. | ||
| # Optional: The change log or logs in which this entry should be included. | ||
| # e.g. '[user]' or '[user, api]' | ||
| # Include 'user' if the change is relevant to end users. | ||
| # Include 'api' if there is a change to a library API. | ||
| # Default: '[user]' | ||
| change_logs: [user] |
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
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
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.