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 print to console to emit spans in the right order #24

Merged
merged 1 commit into from
Mar 25, 2025

Conversation

davidhewitt
Copy link
Contributor

This fixes the console exporter to print spans in the order they are entered (by the pending span), rather than the order they close.

At the same time, this tweaks the tracing bridge to always emit a pending span in a couple of cases where we might not have before, so that they can consistently be printed.

@davidhewitt davidhewitt requested a review from hramezani March 24, 2025 17:58
@davidhewitt davidhewitt force-pushed the dh/console-print-pending-spans branch from c1f404c to 77267ab Compare March 24, 2025 17:58
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

📢 Thoughts on this report? Let us know!

@davidhewitt davidhewitt merged commit 0b0f19b into main Mar 25, 2025
7 checks passed
@davidhewitt davidhewitt deleted the dh/console-print-pending-spans branch March 25, 2025 11:05
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.

3 participants