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

Zipkin Receiver: Always set the endtime #1750

Merged
merged 1 commit into from
Sep 8, 2020

Conversation

chris-smith-zocdoc
Copy link
Contributor

@chris-smith-zocdoc chris-smith-zocdoc commented Sep 8, 2020

Description:
Fixes #1749 allowing the zipkin span duration to be zero

@codecov
Copy link

codecov bot commented Sep 8, 2020

Codecov Report

Merging #1750 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1750      +/-   ##
==========================================
+ Coverage   92.39%   92.40%   +0.01%     
==========================================
  Files         256      256              
  Lines       18190    18189       -1     
==========================================
+ Hits        16806    16807       +1     
+ Misses        970      969       -1     
+ Partials      414      413       -1     
Impacted Files Coverage Δ
translator/trace/zipkin/zipkinv2_to_traces.go 91.43% <100.00%> (-0.03%) ⬇️
translator/internaldata/resource_to_oc.go 92.59% <0.00%> (+1.85%) ⬆️

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 a82fceb...fa69d8c. Read the comment docs.

@bogdandrutu bogdandrutu merged commit e9749e2 into open-telemetry:master Sep 8, 2020
@chris-smith-zocdoc chris-smith-zocdoc deleted the issue_1749 branch September 8, 2020 18:35
MovieStoreGuy pushed a commit to atlassian-forks/opentelemetry-collector that referenced this pull request Nov 11, 2021
* Adjust TestRecording fucntion to validate with and without sampling. correct span.isRecording logic to return false when not being sampled

* Changed to TestExectutionTracerTaskEnd to only expect 1 span to increment instead of all 3

* added changelog entry

* Updated CHANGELOG.md

* Remove newline from isRecording()

* Rewrite TestSpanIsRecording to include table based
tests and check for when span is ended immediately

* Update sdk/trace/trace_test.go

Improve readability of test name

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>

* Update sdk/trace/trace_test.go

Improve readability of test name

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>

* Update CHANGELOG.md

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Update sdk/trace_test.go test comments

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
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.

Zipkin Receiver: Zero Duration Spans have no endtime
2 participants