Skip to content

tracer: add test for logging 128-bit trace ids when upper bits are empty#2101

Merged
ahmed-mez merged 8 commits into
mainfrom
katie.hockman/128-bit-bug
Aug 17, 2023
Merged

tracer: add test for logging 128-bit trace ids when upper bits are empty#2101
ahmed-mez merged 8 commits into
mainfrom
katie.hockman/128-bit-bug

Conversation

@katiehockman

Copy link
Copy Markdown
Contributor

What does this PR do?

Adds a test to verify that when DD_TRACE_128_BIT_TRACEID_LOGGING_ENABLED is true, the trace ID is printed as a raw integer if the upper 64-bits are 0.

Motivation

Describe how to test/QA your changes

Reviewer's Checklist

  • 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 marked this pull request as ready for review July 6, 2023 16:17
@katiehockman
katiehockman requested a review from a team July 6, 2023 16:17
PerfectSlayer added a commit to DataDog/documentation that referenced this pull request Jul 6, 2023
Go tracer team ensures the tracer behaves as expected here: DataDog/dd-trace-go#2101
@pr-commenter

pr-commenter Bot commented Jul 6, 2023

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2023-08-08 20:07:50

Comparing candidate commit 4643c3d in PR branch katie.hockman/128-bit-bug with baseline commit 30bfd52 in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 39 metrics, 2 unstable metrics.

rtrieu added a commit to DataDog/documentation that referenced this pull request Jul 6, 2023
* fix: Fix DD_TRACE_128_BIT_TRACEID_LOGGING_ENABLED documentation

* Update content/en/tracing/trace_collection/library_config/java.md

Co-authored-by: Rosa Trieu <[email protected]>

* feat: Update Go tracer documenation too

Go tracer team ensures the tracer behaves as expected here: DataDog/dd-trace-go#2101

---------

Co-authored-by: Rosa Trieu <[email protected]>
@ahmed-mez
ahmed-mez merged commit e9060fc into main Aug 17, 2023
@ahmed-mez
ahmed-mez deleted the katie.hockman/128-bit-bug branch August 17, 2023 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants