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

Add opencensus propagation readme and example #473

Merged
merged 2 commits into from
Dec 2, 2020

Conversation

dashpole
Copy link
Contributor

@dashpole dashpole commented Dec 1, 2020

Issue: open-telemetry/opentelemetry-go#93

Demonstrate propagation from an opencensus client to an opentelemetry server.

Copy link
Contributor

@MrAlias MrAlias left a comment

Choose a reason for hiding this comment

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

Only blocking issue is the go.mod package name.

Overall looks good though.

propagators/opencensus/examples/go.mod Outdated Show resolved Hide resolved
propagators/opencensus/README.md Outdated Show resolved Hide resolved
propagators/opencensus/README.md Outdated Show resolved Hide resolved
propagators/opencensus/examples/README.md Outdated Show resolved Hide resolved
propagators/opencensus/examples/README.md Outdated Show resolved Hide resolved
propagators/opencensus/examples/README.md Show resolved Hide resolved
@MrAlias MrAlias merged commit d1534b8 into open-telemetry:master Dec 2, 2020
plantfansam referenced this pull request in plantfansam/opentelemetry-go-contrib Mar 18, 2022
#473)

* Add `Span#Error` method to simplify setting an error status and message.

* `Span#Error` should no-op on nil errors

* Record errors as a span event rather than status/attributes.

The implementation in the SDK package now relies on existing API methods.

* Add WithErrorStatus() ErrorOption to allow setting span status on error.

* Apply suggestions from code review

Co-Authored-By: Krzesimir Nowak <[email protected]>

* Address code review feedback

* Clean up RecordError tests

* Ensure complete and unique error type is recorded for defined types
* Avoid duplicating logic under test in tests

* Move TestError to internal/testing package, improve RecordError test scenarios

Co-authored-by: Krzesimir Nowak <[email protected]>
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