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

Reduce rust trace verbosity. #622

Merged

Conversation

austinlparker
Copy link
Member

Changes

In 1.2, the new tracing crates for reqwest used the default subscriber, which picks up everything from trace level on up. Thanks to the tireless efforts of the rust community, this means we get spans and span events for quite literally everything! While great for detailed inspection of performance, not so great for our purposes. This PR reduces the verbosity at build time to something reasonable (info), giving us our http client spans without murdering our poor jaeger instances.

Copy link
Member

@julianocosta89 julianocosta89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This excludes all events from the reqwest instrumentation, but it LGTM.

@puckpuck puckpuck merged commit cf28de9 into open-telemetry:main Dec 9, 2022
jmichalak9 pushed a commit to jmichalak9/opentelemetry-demo that referenced this pull request Mar 22, 2024
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