-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Partially revert some
tracing
changes and make a few more (#31)
In ba014d6 we changed our tracing spans to use Level::ERROR, but that had an unexpected side effect: tracing's default env filter includes the ERROR level, so these spans are always constructed even when we don't actually want/see any log output. That has a massive performance impact on large tests, so we need to fix that. This change instead sets a new hierarchy where all Shuttle's internal tracing events are at Level::TRACE, and its spans and metrics outputs are at Level::DEBUG. This means clients can still see our spans without seeing our tracing output, and also avoids constructing any spans in the common case where no tracing output is desired.
- Loading branch information
1 parent
e912351
commit 8b382fa
Showing
3 changed files
with
5 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters