Skip to content

Conversation

@zhangkun83
Copy link
Contributor

This moves away from the global String-based Span name registry which
is not as flexible as we desire.

Also renamed the option name to be more accurate. This is not
API-breaking because the origianl addition to MethodDescriptor and
code-gen didn't make it into the 1.7.0 release.

This is using a snapshot of opencensus, and needs to switch to a
release before merging.

This moves away from the global String-based Span name registry which
is not as flexible as we desire.

Also renamed the option name to be more accurate.  This is not
API-breaking because the origianl addition to MethodDescriptor and
code-gen didn't make it into the 1.7.0 release.

This is using a snapshot of opencensus, and needs to switch to a
release before merging.
@thelinuxfoundation
Copy link

Thank you for your pull request. Before we can look at your contribution, we need to ensure all contributors are covered by a Contributor License Agreement.

After the following items are addressed, please respond with a new comment here, and the automated system will re-verify.

Regards,
The Linux Foundation CLA GitHub bot

@zhangkun83
Copy link
Contributor Author

Resolves #3359

@zhangkun83 zhangkun83 changed the title core: set "sampled for local span" per MethodDescriptor. core: set sampled for local span per MethodDescriptor. Oct 26, 2017
@zhangkun83
Copy link
Contributor Author

Retest this please

Copy link
Member

@ejona86 ejona86 left a comment

Choose a reason for hiding this comment

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

setSampledToLocalTracing is a bit of an awkward name, but I don't have any better suggestion.

Copy link
Contributor

@bogdandrutu bogdandrutu left a comment

Choose a reason for hiding this comment

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

Release is happening tomorrow for OpenCensus.

@zhangkun83 zhangkun83 merged commit d87ef74 into grpc:master Nov 1, 2017
@zhangkun83 zhangkun83 deleted the sample_for_tracing branch November 1, 2017 23:46
@lock lock bot locked as resolved and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants