Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tracing: Update Ruby trace_id generation range #19521

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 1 commit into from
Aug 28, 2023

Conversation

marcotc
Copy link
Member

@marcotc marcotc commented Aug 25, 2023

What does this PR do?

This PR updates the trace id generation page with the correct rage for the Ruby tracer.

Motivation

We've had the trace id for Ruby being an integer from 1 to (2**62)-1 for quite some time: https://github.com/DataDog/dd-trace-rb/blob/09c08622ea7f7ca4e193ea6bca6daec4cde3e8cb/lib/datadog/tracing/utils.rb#L13-L20

Additional Notes


Reviewer checklist

  • Review the changed files.
  • Review the URLs listed in the Preview section.
  • Check images for PII
  • Review any mentions of "Contact Datadog support" for internal support documentation.

We've had the trace id for Ruby being an integer from 1 to (2**62)-1 for quite some time: https://github.com/DataDog/dd-trace-rb/blob/09c08622ea7f7ca4e193ea6bca6daec4cde3e8cb/lib/datadog/tracing/utils.rb#L13-L20

This PR updates this documentation page to reflect that range.
@marcotc marcotc self-assigned this Aug 25, 2023
@marcotc marcotc requested a review from a team as a code owner August 25, 2023 22:31
@github-actions github-actions bot added the Guide Content impacting a guide label Aug 25, 2023
Comment on lines 21 to 22
| C++ | Unsigned [0, $2^63-1$] | Unsigned | No newline at end of file
| C++ | Unsigned [0, $2^63-1$] | Unsigned |
Copy link
Member Author

@marcotc marcotc Aug 25, 2023

Choose a reason for hiding this comment

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

Trailing new line, introduced by the GitHub editor I think

@github-actions
Copy link
Contributor

Preview links (active after the build_preview check completes)

Modified Files

@cswatt cswatt merged commit a2fe8f6 into master Aug 28, 2023
@cswatt cswatt deleted the marco.costa/ruby-id-generation-size branch August 28, 2023 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Guide Content impacting a guide
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants