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

Remove tracing package and all usages of tracing in CLI #3374

Merged
merged 2 commits into from
Oct 5, 2024

Conversation

bufdev
Copy link
Member

@bufdev bufdev commented Oct 5, 2024

This removes all the "tracing" we were doing in the CLI. It massively simplifies many call sites in the process.

All we were actually doing this printing debug log lines for individual functions that we selectively wanted to profile on an ongoing basis. The CLI isn't a distributed system - we don't need to trace requests across contexts. This was an abuse of tracing, and we never should have been doing it.

Instead, a zaputil.DebugProfile function is added that does the exact same thing.

@bufdev bufdev requested a review from mfridman October 5, 2024 22:18
Copy link
Contributor

github-actions bot commented Oct 5, 2024

The latest Buf updates on your PR. Results from workflow Buf CI / buf (pull_request).

BuildFormatLintBreakingUpdated (UTC)
✅ passed✅ passed✅ passed✅ passedOct 5, 2024, 10:20 PM

@bufdev bufdev merged commit c44db09 into main Oct 5, 2024
11 checks passed
@bufdev bufdev deleted the remove-cli-tracing branch October 5, 2024 22:23
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.

2 participants