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

Fix recordSpanError does not set the status of span to Error #5

Merged
merged 2 commits into from
Mar 28, 2021

Conversation

XSAM
Copy link
Owner

@XSAM XSAM commented Mar 28, 2021

open-telemetry/opentelemetry-go#1663 removes setting error status from RecordError, so I have to set the status of Span explicitly.

Since open-telemetry/opentelemetry-go#1663 does not update the behavior of oteltest, which is fixed in open-telemetry/opentelemetry-go#1729, the tests of recordSpanError will not work until the next release (v0.20.0) of go.opentelemetry.io/otel.

@codecov
Copy link

codecov bot commented Mar 28, 2021

Codecov Report

Merging #5 (7c7d789) into main (6ed3efa) will increase coverage by 0.13%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main       #5      +/-   ##
==========================================
+ Coverage   80.35%   80.49%   +0.13%     
==========================================
  Files          11       11              
  Lines         280      282       +2     
==========================================
+ Hits          225      227       +2     
  Misses         45       45              
  Partials       10       10              
Impacted Files Coverage Δ
utils.go 100.00% <100.00%> (ø)

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 6ed3efa...7c7d789. Read the comment docs.

@XSAM XSAM merged commit 9df5bfd into main Mar 28, 2021
@XSAM XSAM deleted the fix-record-error branch March 28, 2021 03:17
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.

1 participant