Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Opentelemetry: Fix example bug of missing root span #2110

Merged
merged 2 commits into from
May 10, 2022

Conversation

zzhengzhuo
Copy link
Contributor

@zzhengzhuo zzhengzhuo commented May 7, 2022

#1743

Fix the opentelemetry example's bug of missing root span.

Motivation

The result of example should not miss root span.

Solution

The root span should be dropped before opentelemetry provider shutdown.

p.s. I'm sorry that I'm not good at English, so please be relaxed to edit.

@zzhengzhuo zzhengzhuo requested review from hawkw, davidbarsky and a team as code owners May 7, 2022 05:58
@bryangarza bryangarza self-requested a review May 10, 2022 00:02
@bryangarza bryangarza enabled auto-merge (squash) May 10, 2022 00:03
@bryangarza
Copy link
Member

Thanks for the PR!

@bryangarza bryangarza merged commit fbfef9c into tokio-rs:master May 10, 2022
hawkw pushed a commit that referenced this pull request Jun 6, 2022
Co-authored-by: Bryan Garza <1396101+bryangarza@users.noreply.github.com>
hawkw pushed a commit that referenced this pull request Jun 7, 2022
Co-authored-by: Bryan Garza <1396101+bryangarza@users.noreply.github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants