Skip to content

fix deadlock in console caused by SimpleSpanProcessor #60

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

Merged
merged 4 commits into from
Jun 23, 2025

Conversation

davidhewitt
Copy link
Contributor

Fixes #46

This moves the console exporter to send spans across a channel to be processed in a background thread. This seems like a good thing to do anyway for performance, rather than doing the formatting work synchronously.

@codecov-commenter
Copy link

codecov-commenter commented Jun 23, 2025

Codecov Report

Attention: Patch coverage is 97.19888% with 10 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/bridges/tracing.rs 97.31% 7 Missing and 1 partial ⚠️
src/internal/exporters/console.rs 96.29% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@davidhewitt davidhewitt merged commit ef5ef52 into main Jun 23, 2025
7 checks passed
@davidhewitt davidhewitt deleted the dh/console-deadlock branch June 23, 2025 14:41
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.

combination of export + console breaks tokio sleep
2 participants