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

Fix propagating tracing spans into subchains #936

Merged
merged 5 commits into from Dec 8, 2022

Conversation

rukai
Copy link
Member

@rukai rukai commented Nov 24, 2022

The task for the Tee transforms BufferedChain is generated during the .clone_with_pushed_messages_tx(pushed_messages_tx.clone()), line (previously line 215)
By extending the async instrument call to run an async scope that includes that line, we include the task within our span, therefore improving our tracing results.

Sample without this PR:
image

Sample with this PR:
image

Still a few cases where its missing that will need to be investigated separately.

Make sure to turn on "hide whitespace" for a much better diff

shotover-proxy/src/server.rs Outdated Show resolved Hide resolved
@rukai rukai enabled auto-merge (squash) December 8, 2022 00:10
@rukai rukai merged commit 04c6cb6 into shotover:main Dec 8, 2022
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.

None yet

3 participants