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

Make sure otlphttp exporter tests include TraceID and SpanID #4268

Merged

Conversation

tigrannajaryan
Copy link
Member

Related to #4221

There was a report that TraceID and SpanID are correupted by otlphttp exporter.
I added to TraceID and SpanID to try to reproduce the bug. The bug is not reproduced
but keeping these in the test is useful.

Related to open-telemetry#4221

There was a report that TraceID and SpanID are correupted by otlphttp exporter.
I added to TraceID and SpanID to try to reproduce the bug. The bug is not reproduced
but keeping these in the test is useful.
Copy link
Contributor

@codeboten codeboten left a comment

Choose a reason for hiding this comment

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

Are these values tested for somewhere?

@tigrannajaryan
Copy link
Member Author

Are these values tested for somewhere?

Yes, here

assert.EqualValues(t, td, allTraces[0])

(I verified).

@codecov
Copy link

codecov bot commented Oct 26, 2021

Codecov Report

Merging #4268 (64aa11b) into main (c64e6ae) will increase coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #4268      +/-   ##
==========================================
+ Coverage   88.20%   88.22%   +0.02%     
==========================================
  Files         173      173              
  Lines       10327    10320       -7     
==========================================
- Hits         9109     9105       -4     
+ Misses        978      975       -3     
  Partials      240      240              
Impacted Files Coverage Δ
config/configauth/mock_clientauth.go 100.00% <0.00%> (ø)
config/configauth/configauth.go 100.00% <0.00%> (+14.28%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c64e6ae...64aa11b. Read the comment docs.

@bogdandrutu bogdandrutu merged commit aaa0eb5 into open-telemetry:main Oct 26, 2021
@tigrannajaryan tigrannajaryan deleted the use-traceid-spanid-intest branch March 3, 2022 16:54
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.

3 participants