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

Support kind keyword in Opencensus #19548

Merged
merged 9 commits into from
Jun 29, 2021
Merged

Support kind keyword in Opencensus #19548

merged 9 commits into from
Jun 29, 2021

Conversation

rakshith91
Copy link
Contributor

Fixes #19364

@rakshith91 rakshith91 marked this pull request as ready for review June 28, 2021 21:27
self._span_instance = span or tracer.start_span(name=name, **kwargs)
if kind is not None:
self._span_instance.span_kind = kind
Copy link
Member

Choose a reason for hiding this comment

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

No handler for links?

Copy link
Member

Choose a reason for hiding this comment

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

Or it is handled in tracer.start_span?

if kind is not None:
self._span_instance.span_kind = kind

if links:
Copy link
Member

Choose a reason for hiding this comment

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

Missed links= kwargs.pop('links', None). :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

i have it in line 77

@rakshith91
Copy link
Contributor Author

/check-enforcer override

@rakshith91 rakshith91 merged commit 57e9798 into Azure:main Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

OpenCensus Span creation does not support kind keyword used in Distributed Tracing policy
2 participants