Skip to content
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

tracer: remove WithTraceID128 #1687

Merged
merged 1 commit into from
Jan 24, 2023

Conversation

katiehockman
Copy link
Contributor

What does this PR do?

Remove the WithTraceID128 API that was added to this feature branch (not currently in a dd-trace-go release or in main).

Motivation

There isn't enough evidence that we need this API at this time, and the UX is confusing as it is. Currently, the only way to set the trace id programmatically is for root spans using WithSpanID, which then applies the trace id. Adding a separate API just to set the higher bits is likely to lead to confusion, and we should redesign this for v2 anyway.

Describe how to test/QA your changes

Reviewer's Checklist

  • If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
  • Changed code has unit tests for its functionality.
  • If this interacts with the agent in a new way, a system test has been added.

@katiehockman katiehockman added this to the Triage milestone Jan 24, 2023
@katiehockman katiehockman marked this pull request as ready for review January 24, 2023 18:42
@katiehockman katiehockman requested review from a team and knusbaum January 24, 2023 18:42
@pr-commenter
Copy link

pr-commenter bot commented Jan 24, 2023

Benchmarks

Comparing candidate commit 9213fb6 in PR branch katiehockman/128-remove-API with baseline commit e8b6dfc in branch shared/128-bit.

Found 0 performance improvements and 1 performance regressions! Performance is the same for 5 cases.

@katiehockman katiehockman merged commit 06407f1 into shared/128-bit Jan 24, 2023
@katiehockman katiehockman deleted the katiehockman/128-remove-API branch January 24, 2023 21:34
@knusbaum knusbaum modified the milestones: Triage, v1.47.0 Jan 25, 2023
katiehockman added a commit that referenced this pull request Feb 16, 2023
Remove the WithTraceID128 API that was added to this feature branch (not currently in a dd-trace-go release or in main).
katiehockman added a commit that referenced this pull request Feb 16, 2023
Remove the WithTraceID128 API that was added to this feature branch (not currently in a dd-trace-go release or in main).
katiehockman added a commit that referenced this pull request Mar 7, 2023
Remove the WithTraceID128 API that was added to this feature branch (not currently in a dd-trace-go release or in main).
katiehockman added a commit that referenced this pull request Mar 7, 2023
Remove the WithTraceID128 API that was added to this feature branch (not currently in a dd-trace-go release or in main).
katiehockman added a commit that referenced this pull request Mar 27, 2023
Remove the WithTraceID128 API that was added to this feature branch (not currently in a dd-trace-go release or in main).
katiehockman added a commit that referenced this pull request Mar 28, 2023
Remove the WithTraceID128 API that was added to this feature branch (not currently in a dd-trace-go release or in main).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants