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 DefaultSpan in the API. #63

Merged
merged 2 commits into from
Jul 26, 2019
Merged

Conversation

carlosalberto
Copy link
Contributor

This PR adds DefaultSpan, which simply carries a specified SpanContext.

This is done to: 1) Define an actual INVALID_SPAN and to 2) Later add support for context-propagation for our DefaultTracer (to be added).

(DefaultTracer in Java is expected to be the no-op implementation that simply does context-propagation. Something to consider here, too, is whether we want to have this functionality in the actual base Span / Tracer classes ;) )

@reyang reyang mentioned this pull request Jul 26, 2019
Copy link
Member

@c24t c24t left a comment

Choose a reason for hiding this comment

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

Looks great, thanks!

@c24t c24t merged commit 73cadac into open-telemetry:master Jul 26, 2019
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